Anope Support > 1.6.x (Read Only)

error with make install

(1/1)

childof:
hi,

when i configure anope without modules support no problem.
but when i try to set it up with modules support i have this error occuring when i make install it:


--- Code: ---make[1]: Entering directory `/home/ichec/sd/irc/anope-1.6.5/modules'
ld -shared hs_moo.o -o hs_moo.so
ld: hs_moo.o: relocation R_X86_64_32 against `hs_moo_show' can not be used when making a shared object; recompile with -fPIC
hs_moo.o: ne peut lire les symboles: Bad value
make[1]: *** [hs_moo.s] Erreur 1
make[1]: Leaving directory `/home/ichec/sd/irc/anope-1.6.5/modules'
make: *** [install] Erreur 2

--- End code ---


can somebody help me?

i've a Gentoo Base System version 1.6.14 and using unrealIRCd

adamluz:
Not sure if you still need help with this but here is what i did

I edited the Makefile


found the tag

MORE_CFLAGS = -Wall -g
and changed it to
MORE_CFLAGS = -Wall -g -fPIC

then I ran
make clean
make
make install

and it worked :)

Spike:

--- Quote from: adamluz on October 16, 2008, 09:47:31 PM ---Not sure if you still need help with this but here is what i did

I edited the Makefile


found the tag

MORE_CFLAGS = -Wall -g
and changed it to
MORE_CFLAGS = -Wall -g -fPIC

then I ran
make clean
make
make install

and it worked :)


--- End quote ---


childof says he is a gentoo user. Assuming he used emerge to get anope, it won't allow him to edit Makefiles (unless you cancel the emerge process halfway and make your way to the temp work dir).

What you should be looking at is your /etc/make.conf where you could apply the changes that adamluz suggested. Documentation regarding this can be found on the gentoo website.

katsklaw:
The *ONLY* official place to get Anope is from anope.org. We do *NOT* support versions that are rpm'ed, emerged, yum'ed or retrieved for any other site by any other means other than downloading from our sf repository. Anope is NOT designed or intended to be run or installed by root!! Only from a users directory and only by a non-root user.

If you "emerged" it you need to seek assistance from the person that maintains the Gentoo package, not here! Anope doesn't support packages submitted to distributions.

We also do NOT support editing anything!! This includes Makefiles.

Navigation

[0] Message Index

Go to full version