[Pymilter] Milter build error
Luciano Gualano
LGualano at daronmont.com.au
Wed Jan 5 01:16:30 EST 2005
Hi,
Trying to build Milter module 7.1 using Python 2.4, but encountering the
following build error:
running build
running build_py
running build_ext
building 'milter' extension
creating build/temp.linux-x86_64-2.4
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-fPIC -DMAX_ML_REPLY=32 -I/usr/include/python2.4 -c miltermodule.c -o
build/temp.linux-x86_64-2.4/miltermodule.o
In file included from /usr/include/python2.4/Python.h:8,
from miltermodule.c:152:
/usr/include/python2.4/pyconfig.h:835:1: warning: "_POSIX_C_SOURCE"
redefined
In file included from /usr/include/pthread.h:18,
from miltermodule.c:150:
/usr/include/features.h:172:1: warning: this is the location of the previous
definition
gcc -pthread -shared build/temp.linux-x86_64-2.4/miltermodule.o -lmilter
-lsmutil -o build/lib.linux-x86_64-2.4/milter.so
/usr/bin/ld:
/usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/../../../../lib64/libmilter.a(mai
n.o): relocation R_X86_64_32S can not be used when making a shared object;
recompile with -fPIC
/usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/../../../../lib64/libmilter.a:
could not read symbols: Bad value
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
Any help would be much appreciated.
Regards
Looch
More information about the Pymilter
mailing list