Anope.org > Anope General
amd64
(1/1)
jessie:
any ideal how to fix this
relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
this is from a patch that worked on linux 386 but not on 64
Trystan Scott Lee:
Well tons of questions which such a short question
1. What version of Anope
2. Have you tried the svn (in fact almost recommend this)
3. What distribution
jessie:
posted here as general coding question
but where in the module does it tell to compile with -fpic or is
this in the make file? can send patch if you think you have time to look at
Dave Robson:
If your using 1.7.x it should compile with -fPIC already.
If your using 1.6.x - it wont work on 64bit anyway.
(edit: i so cant spell ;) )
[Edited on 15-3-2006 by Rob]
jessie:
found it added this to patch
MODULEFLAGS=-fPIC -DPIC -shared
Navigation
[0] Message Index
Go to full version