BDB on AMD64 Requires -fPIC
Parag Warudkar
warudkar at comcast.net
Sun Oct 10 20:54:09 UTC 2004
Hello folks
While building kdevelop on AMD64 FC2 box, it failed while linking to the BDB
library - the linker complained and suggested to use PIC. I manually edited
the BDB Makefile in build_unix directory to have -fPIC on CFLAGS and CXXFLAGS
after which the build succeeded.
I couldn't find a way/place to automatically detect arch==amd64 and then
insert -fPIC on gcc/g++ commandline - If anyone can give a hint I will submit
a patch.
Thanks!
Parag
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20041010/0d3c9829/attachment.sig>
More information about the KDevelop-devel
mailing list