Bug #17211 Updated: zend.h and php.h call unix.h

From: Date: Wed, 19 Jun 2002 00:00:32 +0000
Subject: Bug #17211 Updated: zend.h and php.h call unix.h
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11305@lists.php.net to get a copy of this message
ID: 17211 Updated by: sniper@php.net Reported By: japs@adm.ku.dk -Status: Duplicate +Status: Closed Bug Type: Compile Failure Operating System: Linux 8.2 PHP Version: 4.2.1 New Comment: This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-05-14 18:14:03] edink@php.net Marking this as duplicate of #17218. Could you please try what is suggested there? ------------------------------------------------------------------------ [2002-05-14 18:06:07] adrieder@sbox.tugraz.at I have the same problems as jbardin@hsc.usf.edu reported on Sparc/Solaris 8 ------------------------------------------------------------------------ [2002-05-14 15:44:26] jbardin@hsc.usf.edu 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 ------------------------------------------------------------------------ [2002-05-14 11:17:38] japs@adm.ku.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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17211&edit=1

« previous php.bugs (#11305) next »