Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Mateusz Herych (Partition)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

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

Closed by  Mateusz Herych (Partition)
Saturday, 01 May 2010, 09:45 GMT
Reason for closing:  Fixed
Comment by Iwan Gabovitch (qubodup) - Thursday, 15 April 2010, 17:01 GMT
I'm sorry, I forgot to add the info that this is x86_64-only
Comment by Ionut Biru (wonder) - Thursday, 15 April 2010, 17:05 GMT
better add before ./configure:

[ "$CARCH" == "x86_64" ] && export CFLAGS="$CFLAGS -fPIC"

Loading...