PHP 4.0 Bug #6225 Updated: "Makefile", line 39: Need an operator
| From: | Bug Database | Date: | Thu, 21 Sep 2000 14:38:08 +0000 |
| Subject: | PHP 4.0 Bug #6225 Updated: "Makefile", line 39: Need an operator | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33462@lists.php.net to get a copy of this message | ||
ID: 6225
Updated by: sniper
Reported By: allan@lan2wan.com
Status: Closed
Bug Type: Compile Failure
Assigned To:
Comments:
No feedback.
Previous Comments:
---------------------------------------------------------------------------
[2000-08-24 10:09:18] sniper@php.net
Reopened. User still has problems:
---
/bin/sh /usr/home/allan/php-4.0.1pl2/libtool --silent --mode=compile gcc
-DHAVE_CONFIG_H -I. -I/usr/home/allan/php-4.0.1pl2/main
-I/usr/home/allan/php-4.0.1pl2 -I/usr/home/allan/php-4.0.1pl2/main
-I/var/www/include -I/usr/home/allan/php-4.0.1pl2/Zend
-I/usr/home/allan/php-4.0.1pl2 -I/usr/local/Hughes/include
-I/usr/home/allan/php-4.0.1pl2/ext/xml/expat/xmltok
-I/usr/home/allan/php-4.0.1pl2/ext/xml/expat/xmlparse -DEAPI=1
-DXML_BYTE_ORDER=12 -g -O2 -c SAPI.c
In file included from SAPI.c:22:
/usr/include/sys/stat.h:55: syntax error before `ino_t'
In file included from SAPI.c:22:
/usr/include/sys/stat.h:92: syntax error before `dev_t'
/usr/include/sys/stat.h:138: syntax error before `dev_t'
/usr/include/sys/stat.h:163: syntax error before `off_t'
/usr/include/sys/stat.h:169: syntax error before `quad_t'
/usr/include/sys/stat.h:267: syntax error before `mode_t'
/usr/include/sys/stat.h:269: syntax error before `mode_t'
/usr/include/sys/stat.h:270: syntax error before `mode_t'
/usr/include/sys/stat.h:272: syntax error before `umask'
/usr/include/sys/stat.h:272: warning: parameter names (without types) in
function declaration
/usr/include/sys/stat.h:272: warning: data definition has no type or
storage class
/usr/include/sys/stat.h:274: syntax error before `u_long'
/usr/include/sys/stat.h:275: syntax error before `u_long'
/usr/include/sys/stat.h:276: syntax error before `mode_t'
make[2]: *** [SAPI.lo] Error 1
make[2]: Leaving directory `/usr/home/allan/php-4.0.1pl2/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/home/allan/php-4.0.1pl2/main'
make: *** [all-recursive] Error 1
---
Please try out recent version from CVS or http://snaps.php.net
--Jani
---------------------------------------------------------------------------
[2000-08-24 08:48:35] sniper@php.net
User reported problem fixed when using GNU make.
--Jani
---------------------------------------------------------------------------
[2000-08-23 06:46:33] sniper@php.net
Please attach your configure line here..
Have you tried more recent versions of php4?
How did you get that version you used?
--Jani
---------------------------------------------------------------------------
[2000-08-17 17:04:00] allan@lan2wan.com
After configure script completes make returns
Thu 16:56:37# make
"Makefile", line 39: Need an operator
"Makefile", line 40: Need an operator
"Makefile", line 41: Need an operator
Fatal errors encountered -- cannot continue
root@access3:~allan/php-4.0.0
Lines 39 40 and 41 of Makefile are
include $(top_srcdir)/build/rules.mk
include $(top_srcdir)/build/library.mk
include $(top_srcdir)/build/program.mk
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6225