On Wed, 10 Jan 2001, Paul Tonning wrote:
> having a problem getting glade-- to compile. This is the error I get:
>
> --------------------------------------------------
>
> c++ -g -O2 -o glade-- Cxx.o Cxx_Fileset.o Cxx_Fs_Signal.o Naming.o Tag.o TagStream.o
>Widget.o const_contained_iterator.o glade--.o getopt.o getoppt1.o strsep.o
>WidgetFile.o writers/libwriters.o SourceWriter/libSourceWriter.a
> const_contained_iterator.o: In function `__default_alloc_template<true,
>0>::_S_chunk_alloc(unsigned int, int &)':
> /usr/include/g++-3/std/bastring.cc(.text+0x544): undefined reference to
>`Widget::const_contained_iterator::type'
> const_contained_iterator.o: In function
>`Widget::const_contained_iterator::operator++(void)':
> /usr/include/g++-3/stl_iterator.h:137: undefined reference to
>`Widget::const_contained_iterator::type'
> collect2: ld returned 1 exit status
> --------------------------------------------------
> OS type: Linux RH 7.0
> installed packages:
>gtk+-1.2.8-7,gtk+-devel-1.2.8-7,gtkmm-1.2.1-1,gtkmm-devel-1.2.1-1,gnomemm-1.1.10-1,gnomemm-devel-1.1.10-1
> compiler: gcc-2.96-54
>
>
> Any Ideas?
Well, I don't know whether it's got anything to do with it (it looks like
there's something weird in STL there) but you've got a 2.96 gcc, which RH
distributed with 7.0. This is an extremely-very-devel-version and the gcc
people got pretty mad with RH for including it. Try compiling with gcc
2.95 instead...
That's all advice I can give :)
You should probably get a 2.95 version of gcc anyway, so...
============================================================
Martin Sjögren
[EMAIL PROTECTED] ICQ : 41245059
Phone: +46 (0)31 405242 Cell: +46 (0)739 169191
============================================================
vi is [[13~^[[15~^[[15~^[[19~^[[18~^ a
muk[^[[29~^[[34~^[[26~^[[32~^ch better editor than this
emacs. I know I^[[14~'ll get flamed for this but the truth
has to be said. ^[[D^[[D^[[D^[[D ^[[D^[^[[D^[[D^[[B^
exit ^X^C quit :x :wq dang it :w:w:w :x ^C^C^Z^D
-- Jesper Lauridsen <[EMAIL PROTECTED]>
============================================================
_______________________________________________
Glade-devel maillist - [EMAIL PROTECTED]
http://lists.helixcode.com/mailman/listinfo/glade-devel