Anope IRC Services

Anope.org => Anope General => Topic started by: jessie on March 14, 2006, 07:52:53 PM

Title: amd64
Post by: jessie on March 14, 2006, 07:52:53 PM
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
Title:
Post by: Trystan Scott Lee on March 14, 2006, 11:24:12 PM
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
Title:
Post by: jessie on March 15, 2006, 10:54:31 AM
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
Title:
Post by: Dave Robson on March 15, 2006, 12:04:52 PM
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]
Title:
Post by: jessie on March 16, 2006, 07:50:32 PM
found it added this to patch
MODULEFLAGS=-fPIC -DPIC -shared