|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-05-14 11:17 UTC] japs at adm dot ku dot dk
zend.h and php.h call /usr/local/include/unix.h and give a compilation failure in PHP 4.2.1: In file included from zend.h:55, from zend_compile.h:24, from zend_language_parser.c:147: /usr/local/include/unix.h:182: parse error before `MAILSTREAM' /usr/local/include/unix.h:182: warning: no semicolon at end of struct or union In file included from php.h:71, from main.c:26: /usr/local/include/unix.h:182: parse error before `MAILSTREAM' /usr/local/include/unix.h:182: warning: no semicolon at end of struct or union The problem can be circumvented by simple removal of "include unix.h" in zend.h and php.h Jan P. Sorensen PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 06:00:01 2025 UTC |
For some reason php 4.2.1 detected unix.h on my system (SunOS hsceducate 5.7 Generic_106541-16 sun4u sparc SUNW,Ultra-2) this is the compile error i get jbardin on hsceducate:~/php-4.2.1 >make Making all in Zend make[1]: Entering directory `/opt1/ocmedat/home/php-4.2.1/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: unix.h: No such file or directory make[1]: *** [zend_language_parser.lo] Error 1 make[1]: Leaving directory `/opt1/ocmedat/home/php-4.2.1/Zend' make: *** [all-recursive] Error 1 4.2.0 compiles fine this might be related to the bug... and or could be a bug in itself