PHP 4.0 Bug #7625 Updated: Problems using sockets (--enable-sockets)
| From: | sniper@php.net | Date: | Mon, 18 Dec 2000 15:39:12 +0000 |
| Subject: | PHP 4.0 Bug #7625 Updated: Problems using sockets (--enable-sockets) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-41758@lists.php.net to get a copy of this message | ||
ID: 7625
Updated by: sniper
Reported By: lourens@InSource.nl
Old-Status: Open
Status: Closed
Bug Type: Compile Failure
Assigned To:
Comments:
Works for me just fine with latest CVS.
Please try latest snapshot from http://snaps.php.net/
and reopen this bug report if this still happens with
it or PHP 4.0.4.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-11-03 10:28:27] lourens@InSource.nl
./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
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7625