RE: [PHP-DEV] PHP 4.0 Bug #2909: fsock.h:75: parse error before s tring constant

From: Date: Fri, 03 Dec 1999 21:56:57 +0000
Subject: RE: [PHP-DEV] PHP 4.0 Bug #2909: fsock.h:75: parse error before s tring constant
Groups: php.dev 
Request: Send a blank email to php-dev+get-13423@lists.php.net to get a copy of this message
Nope, I didn't change anything - this is straight from the 12:48pm snapshot of the CVS on your site at http://va.php.net/~sas/snapshots/. Line 75 on my copy of php4/ext/standard/fsock.h reads PHPAPI int connect_nonb(int sockfd, struct sockaddr *addr, socklen_t addrlen, struct timeval *timeout); The grep returns : bash-2.02$ grep socklen_t config.cache ac_cv_socklen_t=${ac_cv_socklen_t=no} I tried using the CVS directly, but it complains about not being able to find php3_config.h or something (I vagely recall that before, but using the snapshot is easier to script :) Thanks again for your timely response. Simon -----Original Message----- From: Sascha Schumann [mailto:sascha@schumann.cx] Sent: Friday, December 03, 1999 1:43 PM To: sroberts@snap.com Cc: php-dev@lists.php.net Subject: Re: [PHP-DEV] PHP 4.0 Bug #2909: fsock.h:75: parse error before string constant On Fri, Dec 03, 1999 at 09:37:19PM -0000, sroberts@snap.com wrote: > From: sroberts@snap.com > Operating system: Solaris 2.5.1 > PHP version: 4.0 Latest CVS (03/12/1999) > PHP Bug Type: Compile Failure > Bug description: fsock.h:75: parse error before string constant > > After todays fixes by sas, downloaded latest CVS snapshot, and get following error : > > /bin/sh ../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../.. -I../../libzend -I/home/simonr/src/apache_1.3.9/src/include -I/home/simonr/src/apache_1.3.9/src/os/unix -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -g -O2 -g -O2 -c basic_functions.c > In file included from php3_standard.h:55, > from basic_functions.c:24: > fsock.h:75: parse error before string constant > make[2]: *** [basic_functions.lo] Error 1 line 75 of fsock.h is an empty line. Did you change something? If not, what does $ grep socklen_t config.cache output? -- Regards, Sascha Schumann Consultant

« previous php.dev (#13423) next »