Re: [PHP4BETA] flock_compat.c build problem

From: Date: Sat, 24 Apr 1999 23:30:43 +0000
Subject: Re: [PHP4BETA] flock_compat.c build problem
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-477@lists.php.net to get a copy of this message
At 15:20 24/04/99 -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. Well, I suspect none of us has access to Solaris 2.7 - can you figure out whether you have FLOCK and if so why configure isn't finding that out? Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/ For a PGP public key, finger bourbon@netvision.net.il -- PHP 4 Beta

« previous php.version4 (#477) next »