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

From: Date: Tue, 04 Mar 2003 14:37:38 +0000
Subject: #22522 [Fbk->Opn]: Config runs fine but errors during make
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-34764@lists.php.net to get a copy of this message
ID: 22522 User updated by: mjd1 at midwestlabs dot com Reported By: mjd1 at midwestlabs dot com -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: Solaris 2.8 PHP Version: 4.3.1 New Comment: 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' Previous Comments: ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ [2003-03-03 15:43:08] magnus@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-03-03 15:26:41] mjd1 at midwestlabs dot com dunno whats goin on here. it configures just fine but when i do the make it just dies on the first compile ------------------------------------------------------------------------ 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 (#34764) next »