#22522 [Opn->Bgs]: Config runs fine but errors during make

From: Date: Wed, 05 Mar 2003 01:51:42 +0000
Subject: #22522 [Opn->Bgs]: Config runs fine but errors during make
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-34823@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: Open +Status: Bogus Bug Type: Compile Failure Operating System: Solaris 2.8 PHP Version: 4.3.1 New Comment: See bug #21822 Previous Comments: ------------------------------------------------------------------------ [2003-03-04 10:56:43] mjd1 at midwestlabs dot com the snapshot works of course but only 32 not 64. im not finding the 64 report and as i want it 64 ./configure wont work for me. you can close this report ill find help where its a little more willing and not so snappy ------------------------------------------------------------------------ [2003-03-04 10:07:00] sniper@php.net 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) ------------------------------------------------------------------------ [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? ------------------------------------------------------------------------ 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 (#34823) next »