FS#19115 - [enet] .so file missing, due to missing -fPIC in build process
Attached to Project:
Community Packages
Opened by Iwan Gabovitch (qubodup) - Thursday, 15 April 2010, 17:01 GMT
Last edited by Mateusz Herych (Partition) - Saturday, 01 May 2010, 09:45 GMT
Opened by Iwan Gabovitch (qubodup) - Thursday, 15 April 2010, 17:01 GMT
Last edited by Mateusz Herych (Partition) - Saturday, 01 May 2010, 09:45 GMT
|
Details
I was trying to build speed-dreams from svn and got -fPIC
errors, a developer told me it is because of enet not being
compiled with "-fPIC". Not that there was no .so or .so.2
file installed when I checked pacman -Ql enet
the solution is to add <<<CFLAGS="-fPIC">>> in front of the ./configure line. Full pkgbuild that worked for me looks like http://codepad.org/epXFePpJ |
This task depends upon
[ "$CARCH" == "x86_64" ] && export CFLAGS="$CFLAGS -fPIC"