Re: PHP 4.0 Bug #8201 Updated: Compile failure with --enable-sockets

From: Date: Tue, 19 Dec 2000 04:15:36 +0000
Subject: Re: PHP 4.0 Bug #8201 Updated: Compile failure with --enable-sockets
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-41817@lists.php.net to get a copy of this message
Hrmm.. I should update my CVS repository now that I actually have my internet connectivity back. I'll try sending out something soon. Chris On Fri, 15 Dec 2000, Jani Taskinen wrote: > On Thu, 14 Dec 2000 chrisv@b0rked.dhs.org wrote: > > >Try this version. It's a slightly modified version from the current php4 > >rc. If it works, let me know so I can commit it to CVS. > > I tried it too as I had same problems. Doesn't work > within Solaris 2.6 using Sun CC 5.0: > ---------------------------------------------------- > "sockets.c", line 206: undefined struct/union member: le_destroy > "sockets.c", line 207: undefined struct/union member: le_iov > "sockets.c", line 276: undefined struct/union member: le_destroy > "sockets.c", line 303: undefined struct/union member: le_destroy > "sockets.c", line 330: undefined struct/union member: le_destroy > "sockets.c", line 357: undefined struct/union member: le_destroy > "sockets.c", line 385: undefined struct/union member: le_destroy > "sockets.c", line 431: undefined struct/union member: le_destroy > "sockets.c", line 437: undefined struct/union member: le_destroy > "sockets.c", line 443: undefined struct/union member: le_destroy > "sockets.c", line 1033: warning: argument #3 is incompatible with > prototype: > prototype: pointer to int : "/usr/include/sys/socket.h", line 337 > argument : pointer to uint > "sockets.c", line 1131: warning: argument #3 is incompatible with > prototype: > prototype: pointer to int : "/usr/include/sys/socket.h", line 337 > argument : pointer to uint > "sockets.c", line 1212: undefined struct/union member: le_iov > "sockets.c", line 1229: undefined struct/union member: le_iov > "sockets.c", line 1253: undefined struct/union member: le_iov > "sockets.c", line 1285: undefined struct/union member: le_iov > "sockets.c", line 1316: undefined struct/union member: le_iov > "sockets.c", line 1353: undefined struct/union member: le_iov > "sockets.c", line 1375: undefined struct/union member: le_iov > "sockets.c", line 1397: undefined struct/union member: le_iov > "sockets.c", line 1494: warning: argument #3 is incompatible with > prototype: > prototype: pointer to int : "/usr/include/sys/socket.h", line 337 > argument : pointer to uint > "sockets.c", line 1514: warning: argument #6 is incompatible with > prototype: > prototype: pointer to int : "/usr/include/sys/socket.h", line 353 > argument : pointer to uint > "sockets.c", line 1553: warning: argument #6 is incompatible with > prototype: > prototype: pointer to int : "/usr/include/sys/socket.h", line 353 > argument : pointer to uint > "sockets.c", line 1624: warning: argument #3 is incompatible with > prototype: > prototype: pointer to int : "/usr/include/sys/socket.h", line 337 > argument : pointer to uint > "sockets.c", line 1725: undefined struct/union member: le_iov > "sockets.c", line 1727: warning: argument #3 is incompatible with > prototype: > prototype: pointer to int : "/usr/include/sys/socket.h", line 337 > argument : pointer to uint > "sockets.c", line 1747: warning: assignment type mismatch: > pointer to char "=" pointer to struct sockaddr_in {ushort > sin_family, ushort sin_port, struct in_addr {..} sin_addr, array[8] of > char sin_zero} > "sockets.c", line 1753: undefined struct/union member: msg_control > "sockets.c", line 1753: warning: improper pointer/integer combination: op > "=" > "sockets.c", line 1754: undefined struct/union member: msg_controllen > "sockets.c", line 1756: undefined struct/union member: msg_control > "sockets.c", line 1757: undefined struct/union member: msg_controllen > "sockets.c", line 1760: undefined struct/union member: msg_flags > "sockets.c", line 1766: undefined struct/union member: msg_control > "sockets.c", line 1775: warning: improper pointer/integer combination: arg > #3 > "sockets.c", line 1779: undefined struct/union member: msg_controllen > "sockets.c", line 1780: improper member use: msg_flags > "sockets.c", line 1806: warning: assignment type mismatch: > pointer to char "=" pointer to struct sockaddr_un {ushort > sun_family, array[108] of char sun_path} > "sockets.c", line 1812: undefined struct/union member: msg_control > "sockets.c", line 1812: warning: improper pointer/integer combination: op > "=" > "sockets.c", line 1813: undefined struct/union member: msg_controllen > "sockets.c", line 1815: undefined struct/union member: msg_control > "sockets.c", line 1816: undefined struct/union member: msg_controllen > "sockets.c", line 1819: undefined struct/union member: msg_flags > "sockets.c", line 1825: undefined struct/union member: msg_control > "sockets.c", line 1835: warning: improper pointer/integer combination: arg > #3 > "sockets.c", line 1837: undefined struct/union member: msg_controllen > "sockets.c", line 1839: improper member use: msg_flags > "sockets.c", line 1876: undefined struct/union member: le_iov > "sockets.c", line 1887: warning: assignment type mismatch: > pointer to char "=" pointer to struct sockaddr {ushort sa_family, > array[14] of char sa_data} > "sockets.c", line 1911: warning: assignment type mismatch: > pointer to char "=" pointer to struct sockaddr_un {ushort > sun_family, array[108] of char sun_path} > "sockets.c", line 1956: warning: argument #4 is incompatible with > prototype: > prototype: pointer to char : "/usr/include/sys/socket.h", line 338 > argument : pointer to struct linger {int l_onoff, int l_linger} > "sockets.c", line 1956: warning: argument #5 is incompatible with > prototype: > prototype: pointer to int : "/usr/include/sys/socket.h", line 338 > argument : pointer to uint > "sockets.c", line 1973: warning: argument #4 is incompatible with > prototype: > prototype: pointer to char : "/usr/include/sys/socket.h", line 338 > argument : pointer to int > "sockets.c", line 1973: warning: argument #5 is incompatible with > prototype: > prototype: pointer to int : "/usr/include/sys/socket.h", line 338 > argument : pointer to uint > "sockets.c", line 2029: warning: argument #4 is incompatible with > prototype: > prototype: pointer to const char : "/usr/include/sys/socket.h", > line 358 > argument : pointer to struct linger {int l_onoff, int l_linger} > "sockets.c", line 2036: warning: argument #4 is incompatible with > prototype: > prototype: pointer to const char : "/usr/include/sys/socket.h", > line 358 > argument : pointer to int > cc: acomp failed for sockets.c > make[1]: *** [sockets.lo] Error 1 > make: *** [all-recursive] Error 1 > > > >

« previous php.dev (#41817) next »