[PHP4BETA] flock_compat.c build problem
| From: | Andrey Zmievski | Date: | Sat, 24 Apr 1999 20:20:33 +0000 |
| Subject: | [PHP4BETA] flock_compat.c build problem | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-475@lists.php.net to get a copy of this message | ||
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.
-Andrey
* The future has arrived, it's just not evenly distributed. -W. Gibson *
--
PHP 4 Beta