Martin Sjögren wrote:
> 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)
No, it looks like the compiler isn't clear about which external symbols to use (or I
did something weird in my iterator implementation but I don't know). Perhaps it is
possible. If you really want to fix it (read: exchange a lot
of email with me, mail me files, run compiler etc.), contact me privately.
> 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...
>
That's right (as far as I can tell). I saw this report about six-eight times and
always asked the people if they were able to fix it. (I don't have RH7.0 and no urge
to fiddle with alpha-stage compilers). I never got any reply.
Christof (glade-- maintainer)
_______________________________________________
Glade-devel maillist - [EMAIL PROTECTED]
http://lists.helixcode.com/mailman/listinfo/glade-devel