PHP 4.0 Bug #7625: Problems using sockets (--enable-sockets)

From: Date: Fri, 03 Nov 2000 15:28:27 +0000
Subject: PHP 4.0 Bug #7625: Problems using sockets (--enable-sockets)
Groups: php.dev 
Request: Send a blank email to php-dev+get-36964@lists.php.net to get a copy of this message
From: lourens@InSource.nl Operating system: Linux Slackware 4.0 / Kernel 2.2.14 PHP version: 4.0.2 PHP Bug Type: Compile Failure Bug description: Problems using sockets (--enable-sockets) ./configure --enable-sockets make sockets.c: In function `php_if_strerror': sockets.c:927: warning: assignment makes pointer from integer without a cast sockets.c: In function `php_if_bind': sockets.c:971: warning: passing arg 2 of `bind' from incompatible pointer type sockets.c:994: warning: passing arg 2 of `bind' from incompatible pointer type sockets.c: In function `php_if_sendto': sockets.c:1471: warning: passing arg 5 of `sendto' from incompatible pointer type sockets.c:1501: warning: passing arg 5 of `sendto' from incompatible pointer type dl.c:91: warning: `IS_SLASH' redefined /usr/src/php-4.0.2/main/php_virtual_cwd.h:54: warning: this is the location of the previous definition .libs/libphp4.a(sockets.o): In function `php_if_connect': /usr/src/php-4.0.2/ext/sockets/sockets.c:902: undefined reference to `SUN_LEN' .libs/libphp4.a(sockets.o): In function `php_if_strerror': /usr/src/php-4.0.2/ext/sockets/sockets.c:927: undefined reference to `hstrerror' .libs/libphp4.a(sockets.o): In function `php_if_bind': /usr/src/php-4.0.2/ext/sockets/sockets.c:971: undefined reference to `SUN_LEN' .libs/libphp4.a(sockets.o): In function `php_if_sendto': /usr/src/php-4.0.2/ext/sockets/sockets.c:1469: undefined reference to `SUN_LEN' .libs/libphp4.a(sockets.o): In function `php_if_sendmsg': /usr/src/php-4.0.2/ext/sockets/sockets.c:1742: undefined reference to `SUN_LEN' make[1]: *** [php] Error 1 make: *** [all-recursive] Error 1 -- Edit Bug report at: http://bugs.php.net/?id=7625&edit=1

« previous php.dev (#36964) next »