From:             [EMAIL PROTECTED]
Operating system: SCO 5.0.5
PHP version:      4.2.0
PHP Bug Type:     Compile Failure
Bug description:  Compiler fails with --enable-sockets flag

Configuration options:

./configure --prefix=$DIR --with-informix=$INFORMIXDIR --without-mysql
--enable-short-tags --enable-magic-quotes --enable-bcmath --enable-posix
--enable-session --enable-debug --enable-discard-path
--enable-force-cgi-redirect --enable-safe-mode --enable-sysvsem
--enable-sysvshm --enable-trans-sid --enable-sockets      

Compilation :
make[1]: Entering directory `/u/stan/x/php-4.2.0/ext/sockets' cc -I.
-I/u/stan/x/php-4.2.0/ext/sockets -I/u/stan/x/php-4.2.0/main
-I/u/stan/x/php-4.2.0 -I/u/stan/x/php-4.2.0/Zend
-I/home/informix/incl/esql -I/home/informix/incl/tools
-I/u/stan/x/php-4.2.0/ext/xml/expat -I/u/stan/x/php-4.2.0/TSRM -g -belf 
-c sockets.c && touch sockets.lo 
"sockets.c", line 1603: error: undefined symbol: h_errno
"sockets.c", line 1607: warning: assignment type mismatch
"sockets.c", line 1635: warning: assignment type mismatch
"sockets.c", line 1677: warning: argument is incompatible with prototype:
arg #5
"sockets.c", line 1694: warning: argument is incompatible with prototype:
arg #5
"sockets.c", line 1710: warning: argument is incompatible with prototype:
arg #5
make[1]: *** [sockets.lo] Error 1
make[1]: Leaving directory `/u/stan/x/php-4.2.0/ext/sockets'
make: *** [all-recursive] Error 1
-- 
Edit bug report at http://bugs.php.net/?id=19731&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=19731&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=19731&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=19731&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=19731&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=19731&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=19731&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=19731&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=19731&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=19731&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=19731&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19731&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=19731&r=dst

Reply via email to