Michael,

> > I am using FBSD-6.2 amd64 and ran into this problem when running make:
> > .... bunch of other stuff all okay
> > stopped here:
> > Manifying blib/man3/Mail::SpamAssassin::Plugin::RelayCountry.3
> > make -f spamc/Makefile spamc/libspamc.so
> > gcc -Wl,-R/usr/local/lib/perl5/5.8.8/mach/CORE spamc/libspamc.c
> > spamc/utils.c  -o spamc/libspamc.so -shared  -L/usr/local/lib -lz
> > /usr/bin/ld: /var/tmp//cchaPM1S.o: relocation R_X86_64_32 can not be used
> > when making a shared object; recompile with -fPIC
> > /var/tmp//cchaPM1S.o: could not read symbols: Bad value

> looks like a 64bit compile error.

It is not a compile error. Somebody forgot to put a -fPIC option
when compiling code for a shareable library.
It happens to work on i386, but is wrong anyway.

> +.if ${ARCH} == "i386"
...
> +.endif

Please don't do that!

  Mark

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to