[sigc] problem building x86_64 rpms on FC2+



I get linker errors in the link stage and also in the ./configure script
complaining about duplicate symbols.  This is widely complained about
(search google: "multiple definition _init x86_64").  Problem stems from
bad linker options "-nostdlib" seems to be missing
(http://blog.gmane.org/gmane.comp.gcc.cgicc.bugs)

Solution: (http://article.gmane.org/gmane.comp.db.dbxml.general/800)

<quote>
aclocal
rm libtool autotools/l* autotools/c*
libtoolize
autoconf

Then re-run ./configure and try building again (preferably using a clean
source tree or after using 'make clean').
</quote>

I did this in a fresh untar of libsigc++-1.2.5.tar.gz, retarred it, and
rpmbuild -ta libsigc++-1.2.5.tar.gz  worked fine.








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