Python fails compiling in socket extension



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!

.



Relevant Pages

  • Re: ADSL troubleshooting
    ... extension lead from the RJ45 socket to the router. ... the rear of your NTE-5 master socket and sticking an RJ11 socket on ...
    (uk.comp.sys.mac)
  • Re: BB tip
    ... in your 'phone master and extension sockets that need to be ... to report that my stable rate increased to 6000 kbps some time ... but those Unheard melodies are sweeter ... In those they eventually modified the wiring in my main phone socket. ...
    (uk.people.silversurfers)
  • Re: ADSL keeps dropping - think Ive tried everything
    ... Moved router (the infamous BT ... HomeHub) to the test socket on advice of Indian call centre - no ... found a bodge job to install an extension ... BT now report no fault on line. ...
    (uk.telecom.broadband)
  • Re: Likely cause of ADSL not working on extension
    ... They really wanted the router elsewhere, as the place where the phone ... socket was is somewhat inconvenient. ... install a telephone extension and moved the router + filters to that ... Wiring and extension is a matter of connecting three wires. ...
    (uk.telecom.broadband)
  • Re: Can Sky Broadband (Base) be configured to work with an ADSL modem instead of wireless?
    ... Is it necessary to connect the router to the master socket - and not ... particularly if the extension wiring in your house is sub-standard. ... security-enabled network with WEP data encryption. ...
    (uk.tech.tv.sky)