Python fails compiling in socket extension
- From: "stefvienna" <sb@xxxxxxxxxxxxxxxxxxxx>
- Date: 28 Jul 2005 16:12:53 -0700
Hi group,
I'm trying compiling Python-2.4.1 and it fails builing the _socket
extension with the following message:
building '_socket' extension
gcc -pthread -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC
-fno-strict-aliasing -I. -I/usr/local/src/Python-2.4.1/./Include
-I/usr/local/include -I/usr/local/src/Python-2.4.1/Include
-I/usr/local/src/Python-2.4.1 -c
/usr/local/src/Python-2.4.1/Modules/socketmodule.c -o
build/temp.linux-i586-2.4/socketmodule.o
In file included from /usr/local/include/netdb.h:95,
from
/usr/local/src/Python-2.4.1/Modules/socketmodule.c:230:
/usr/include/sys/param.h:59: warning: `MAX' redefined
/usr/local/src/Python-2.4.1/Modules/socketmodule.c:67: warning: this is
the location of the previous definition
gcc -pthread -shared build/temp.linux-i586-2.4/socketmodule.o
-L/usr/local/lib -o build/lib.linux-i586-2.4/_socket.so
*** WARNING: renaming "_socket" since importing it failed:
build/lib.linux-i586-2.4/_socket.so: undefined symbol: __inet_addr
.... looks like it cannot find inet_addr() - any ideas?
if possible pls. answer via email to sb@xxxxxxxxxxxxxxxxxxxx - many
thx!
Cheers, Stefan!
.
- Prev by Date: Re: poplib.POP3.list() returns extra value?
- Next by Date: Re: Cgi scripts in apache not working
- Previous by thread: c/c++ extensions and help()
- Next by thread: monitor a folder for file creation, how?
- Index(es):
Relevant Pages
|