Re: [PHP4BETA] flock_compat.c build problem

From: Date: Sat, 24 Apr 1999 20:27:40 +0000
Subject: Re: [PHP4BETA] flock_compat.c build problem
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-479@lists.php.net to get a copy of this message
On Sat, Apr 24, 1999 at 03:20:33PM -0500, Andrey Zmievski wrote: > After getting the configure file created, I tried to build php4. It stumbled > on flock_compat.c. > > make[2]: Entering directory `/export/projects/zend-php/php4/ext/standard' > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/export/projects/compile/gd1.3 > -I/usr/local/etc/mysql/include/mysql -I../.. -I../../libzend > -I../../functions -O -c flock_compat.c > In file included from flock_compat.c:35: > ../../ext/standard/flock_compat.h:18: warning: `struct in_addr' declared > inside parameter list > ../../ext/standard/flock_compat.h:18: warning: its scope is only this > definition or declaration, > ../../ext/standard/flock_compat.h:18: warning: which is probably not what you > want. > flock_compat.c:176: warning: `struct in_addr' declared inside parameter list > flock_compat.c:177: conflicting types for `inet_aton' > ../../ext/standard/flock_compat.h:18: previous declaration of `inet_aton' > flock_compat.c: In function `inet_aton': > flock_compat.c:224: dereferencing pointer to incomplete type > make[2]: *** [flock_compat.o] Error 1 > > Also, config.h had HAVE_FLOCK undef'ed which resulted in > #warning no proper flock support for your site. Ah, on which platform are you exactly? Please update your CVS and try again. -- Regards, Sascha Schumann | Consultant | finger sas@schell.de | for PGP public key -- PHP 4 Beta

« previous php.version4 (#479) next »