FYI ----- Forwarded message from Bastian Blank <[EMAIL PROTECTED]> -----
From: Bastian Blank <[EMAIL PROTECTED]> Subject: Re: multiple definition of `_init' Date: Tue, 25 Jul 2006 14:15:18 +0200 To: debian-glibc@lists.debian.org User-Agent: Mutt/1.5.11+cvs20060403 X-Spam-Status: No, score=-4.0 required=4.0 tests=AWL,IMPRONONCABLE_1, LDOSUBSCRIBER,MURPHY_WRONG_WORD1,MURPHY_WRONG_WORD2 autolearn=no version=3.0.3 On Tue, Jul 25, 2006 at 01:30:34PM +0200, Martin Michlmayr wrote: > While building rsplib, I get the following errors. Is that an > application or glibc problem? Application. You can't link the same object files in more than one time. > g++ -shared /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/crti.o > /usr/lib/gcc/x86_64-linux-gnu/4.1.2/crtbeginS.o .libs/mutex.o .libs/thread.o > -L/usr/lib/gcc/x86_64-linux-gnu/4.1.2 > -L/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64 -L/lib/../lib64 > -L/usr/lib/../lib64 -lstdc++ -lm -lc -lgcc_s > /usr/lib/gcc/x86_64-linux-gnu/4.1.2/crtendS.o > /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/crtn.o -o > .libs/libcppthread.so.0.0.0 It lists crtbeginS.o explicitely, which is already included into the link list by gcc. Also the whole -L definitions looks pretty wrong. It lists the default paths again. Bastian -- You! What PLANET is this! -- McCoy, "The City on the Edge of Forever", stardate 3134.0 ----- End forwarded message ----- -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]