php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22522 Config runs fine but errors during make
Submitted: 2003-03-03 15:25 UTC Modified: 2003-03-04 19:51 UTC
From: mjd1 at midwestlabs dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.1 OS: Solaris 2.8
Private report: No CVE-ID: None
 [2003-03-03 15:25 UTC] mjd1 at midwestlabs dot com
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'

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-03 15:26 UTC] 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
 [2003-03-03 16:41 UTC] mjd1 at midwestlabs dot com
still doesnt work
 [2003-03-03 16:41 UTC] mjd1 at midwestlabs dot com
oh and sorry its exactly the same errors
 [2003-03-03 20:08 UTC] 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-04 08:37 UTC] 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-04 10:03 UTC] sniper@php.net
So you're not using the snapshot.
Please try the snapshot for real now.

 [2003-03-04 10:07 UTC] 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:56 UTC] 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 19:51 UTC] sniper@php.net
See bug #21822

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 17 09:01:27 2024 UTC