[Python-bugs-list] Compile error (PR#44)

rene@kronos.szabinet.hu rene@kronos.szabinet.hu
Sun, 1 Aug 1999 16:39:44 -0400 (EDT)


Full_Name: Rene Scott
Version: 1.5.2
OS: Linux
Submission from: mars.szabinet.hu (195.184.162.67)


Compile error with Python-1.5.2 on
Linux Slackware 4.0, kernel 2.2.10-ac8, gcc 2.7.2.3, make 3.76.1

./configure --prefix=/usr/local --with-threads && make
...
./socketmodule.c: In function `setipaddr':
./socketmodule.c:392: warning: passing arg 5 of `gethostbyname_r' from
incompatible pointer type
./socketmodule.c:392: too many arguments to function `gethostbyname_r'
./socketmodule.c:392: warning: assignment makes integer from pointer without a
cast
./socketmodule.c: In function `PySocket_gethostbyname_ex':
./socketmodule.c:1471: warning: passing arg 5 of `gethostbyname_r' from
incompatible pointer type
./socketmodule.c:1471: too many arguments to function `gethostbyname_r'
./socketmodule.c:1471: warning: assignment makes integer from pointer without a
cast
./socketmodule.c: In function `PySocket_gethostbyaddr':
./socketmodule.c:1534: warning: passing arg 7 of `gethostbyaddr_r' from
incompatible pointer type
./socketmodule.c:1534: too many arguments to function `gethostbyaddr_r'
./socketmodule.c:1534: warning: assignment makes integer from pointer without a
cast
make[1]: *** [socketmodule.o] Error 1
make: *** [Modules] Error 2