jon+modpython at unequivocal.co.uk
Tue Oct 10 14:43:52 EST 2000
I'm trying to compile mod_python 2.5 as a DSO with Apache 1.3.12 and Python 2.0c1 on OpenBSD 2.7-ish. I do: apxs -I /usr/local/include/python2.0 -c mod_python.c /usr/local/lib/python2.0/config/libpython2.0.a It says: gcc -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206102 -DEAPI -DUSE_EXPAT -I../lib/expat-lite -g -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -pthread -I/usr/local/include/python2.0 -c mod_python.c ld -Bforcearchive -Bshareable -o mod_python.so mod_python.o /usr/local/lib/python2.0/config/libpython2.0.a -lc_r ./socketmodule.c:2377: Definition of symbol `_init_socket' (multiply defined) ./socketmodule.c:2377: Definition of symbol `_init_socket' (multiply defined) apxs:Break: Command failed with rc=65536 I am completely mystified as to why it says that init_socket is multiply defined. I can't see more than one definition anywhere. Does anyone have any suggestions?