Re: [PHP4BETA] flock_compat.c build problem
| From: | Stig Bakken | Date: | Sat, 24 Apr 1999 21:49:25 +0000 |
| Subject: | Re: [PHP4BETA] flock_compat.c build problem | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-494@lists.php.net to get a copy of this message | ||
On Sat, 24 Apr 1999, Zeev Suraski wrote:
> 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?
FYI, we have a 2.7 box here (it's called slartibart.fast.no for those
who've read HHGTTG :-)
- Stig
--
PHP 4 Beta