|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-05-14 17:05 UTC] dave at dsb3 dot com
Solaris 8 machine, using gcc from sunfreeware.com, trying to compile php4.2.1
$ ./configure
$ make
Making all in Zend
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -D_POSIX_PTHREAD_SEMANTICS -I../TSRM -g -O2 -prefer-non-pic -static -c -o zend_language_parser.lo `test -f zend_language_parser.c || echo './'`zend_language_parser.c
In file included from zend_compile.h:24,
from zend_language_parser.c:147:
zend.h:55:19: unix.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `zend_language_parser.lo'
Current working directory /download/php-4.2.1/Zend
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 09 05:00:02 2025 UTC |
Same problem here... after commenting out "#define HAVE_UNIX_H 1" I get a lot of warnings when compiling: In file included from ../main/php_config.h:2084, from zend_config.h:1, from zend.h:48, from zend_compile.h:24, from zend_language_parser.c:147: /usr/include/stdlib.h:79: warning: empty declaration In file included from ../main/php_config.h:2088, from zend_config.h:1, from zend.h:48, from zend_compile.h:24, from zend_language_parser.c:147: /usr/include/sys/types.h:339: warning: empty declaration /usr/include/sys/types.h:480: warning: empty declaration /usr/include/sys/types.h:481: warning: empty declaration and so on....