adonthell-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Adonthell-general] Problem compiling v0.3.3


From: Roland Häder
Subject: Re: [Adonthell-general] Problem compiling v0.3.3
Date: Sun, 15 Dec 2002 17:02:03 +0100
User-agent: KMail/1.4.3

On Sunday 15 December 2002 16:38, Kai Sterker wrote:
> On Sun, 15 Dec 2002 16:14:52 +0100 Roland Häder wrote:
> > Hmmm.
> >
> > Well, the first error is gone and the libadonthell.a library got
> > compiled whithout any warning. But now I have another fatal error. The
> > last command was: (lines are wrapped!)
> >
> > g++ -g -Wall -fno-exceptions -DDATA_DIR=\"/usr/local/share/adonthell\"
> > -DMEMORY_LEAKS -o adonthell main.o -Wl,-rpath -Wl,/usr/lib -Wl,-E
> > libadonthell.a -L/usr/lib /usr/lib/libSDL.so -lm /usr/lib/libasound.so
> > -/opt/kde3/lib -ldl -lartsc -lpthread /usr/lib/libesd.so
> > /usr/lib/libaudiofile.so -lm -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm
> > -lXxf86dga -lXv -lXinerama /usr/lib/libaa.so -ldl -lpthread
> > /usr/local/lib/libvorbisfle.so -lm /usr/local/lib/libvorbis.so -lm
> > /usr/local/lib/libogg.so -lm -L/usr/lib/python2.2/config -lpython2.2
> > -ldl -lpthread -lutil -lz -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
> > -Wl,/usr/local/lib
> >
> > The error message: (also some lines are wrapped!)
>
> [...]
>
> > Any ideas?
>
> For some reason it's not linking against the C++ library
> (libstdc++-libc6.2-2.so.3 on my box). It's not explicitly passed to the
> linker, since that shouldn't be necessary. I don't know why that's not
> the case in your case.
>
> As a workaround, you could edit src/Makefile. Find 'adonthell_LDADD ='
> (line 190) and add '-lstdc++-libc6.2-2' at the end of the line. If
> you've got a different version installed, you'll have to change the name
> accordingly. The library should be located in /usr/lib.
>
> Did you have problems with linking/compiling other C++ programs before?
Yes, also another program which needs libstdc++ failed with equal error 
output.

Roland
;-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]