#22522 [Fbk]: Config runs fine but errors during make

From: Date: Tue, 04 Mar 2003 16:07:01 +0000
Subject: #22522 [Fbk]: Config runs fine but errors during make
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-34771@lists.php.net to get a copy of this message
ID: 22522 Updated by: sniper@php.net Reported By: mjd1 at midwestlabs dot com Status: Feedback Bug Type: Compile Failure Operating System: Solaris 2.8 PHP Version: 4.3.1 New Comment: And second: Just do plain ./configure, without defining those environment variables. (there are some 64bit issues with PHP, but we have another report for those so if not using those 'fixes' this, then we'll close this report) Previous Comments: ------------------------------------------------------------------------ [2003-03-04 10:03:39] sniper@php.net So you're not using the snapshot. Please try the snapshot for real now. ------------------------------------------------------------------------ [2003-03-04 08:37:37] mjd1 at midwestlabs dot com Im using gcc 3.2.2 Here is the config line CFLAGS='-m64 -mcpu=v9' CPPFLAGS='-m64 -mcpu=v9' LDFLAGS='-m64' CC='gcc' ./configure --with-mysql --with-apache=../apache_1.3.27 --enable-track-vars --disable-debug --enable-mysql Here are the errors gcc -Iext/ctype/ -I/export/home/mjd1/installers/php-4.3.1/ext/ctype/ -DPHP_ATOM_INC -I/export/home/mjd1/installers/php-4.3.1/include -I/export/home/mjd1/instal lers/php-4.3.1/main -I/export/home/mjd1/installers/php-4.3.1 -I/export/home/mjd1/installers/php-4.3.1/Zend -I/export/home/mjd1/installers/php-4.3.1/ext/xml/expa t -m64 -mcpu=v9 -D_POSIX_PTHREAD_SEMANTICS -I/export/home/mjd1/installers/php-4.3.1/TSRM -m64 -mcpu=v9 -c /export/home/mjd1/installers/php-4.3.1/ext/ctype/ct ype.c -o ext/ctype/ctype.o && echo > ext/ctype/ctype.lo In file included from /export/home/mjd1/installers/php-4.3.1/Zend/zend.h:202, from /export/home/mjd1/installers/php-4.3.1/main/php.h:34, from /export/home/mjd1/installers/php-4.3.1/ext/ctype/ctype.c:23: /export/home/mjd1/installers/php-4.3.1/Zend/zend_hash.h:119: parse error before "va_list" In file included from /export/home/mjd1/installers/php-4.3.1/Zend/zend.h:203, from /export/home/mjd1/installers/php-4.3.1/main/php.h:34, from /export/home/mjd1/installers/php-4.3.1/ext/ctype/ctype.c:23: /export/home/mjd1/installers/php-4.3.1/Zend/zend_llist.h:34: parse error before "va_list" In file included from /export/home/mjd1/installers/php-4.3.1/main/php.h:34, from /export/home/mjd1/installers/php-4.3.1/ext/ctype/ctype.c:23: /export/home/mjd1/installers/php-4.3.1/Zend/zend.h:285: parse error before "va_list" /export/home/mjd1/installers/php-4.3.1/Zend/zend.h:423: parse error before "va_list" In file included from /export/home/mjd1/installers/php-4.3.1/main/php.h:224, from /export/home/mjd1/installers/php-4.3.1/ext/ctype/ctype.c:23: /export/home/mjd1/installers/php-4.3.1/main/spprintf.h:40: parse error before "va_list" In file included from /export/home/mjd1/installers/php-4.3.1/ext/ctype/ctype.c:23: /export/home/mjd1/installers/php-4.3.1/main/php.h:277: parse error before "va_list" In file included from /export/home/mjd1/installers/php-4.3.1/main/php.h:360, from /export/home/mjd1/installers/php-4.3.1/ext/ctype/ctype.c:23: /export/home/mjd1/installers/php-4.3.1/TSRM/tsrm_virtual_cwd.h:159: warning: `struct utimbuf' declared inside parameter list /export/home/mjd1/installers/php-4.3.1/TSRM/tsrm_virtual_cwd.h:159: warning: its scope is only this definition or declaration, which is probably not what you wa nt *** Error code 1 make: Fatal error: Command failed for target `ext/ctype/ctype.lo' ------------------------------------------------------------------------ [2003-03-03 20:08:20] sniper@php.net Please add the errors when you use the latest snapshot here too, even if they are the same. And what gcc version? What configure line was used? ------------------------------------------------------------------------ [2003-03-03 16:41:53] mjd1 at midwestlabs dot com oh and sorry its exactly the same errors ------------------------------------------------------------------------ [2003-03-03 16:41:15] mjd1 at midwestlabs dot com still doesnt work ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22522 -- Edit this bug report at http://bugs.php.net/?id=22522&edit=1

« previous php.bugs (#34771) next »