Hi,

uname -a :

SunOS beastie 5.7 Generic_106541-29 sun4m sparc SUNW,SPARCstation-LX

Configure script executes normally.

Make gives :

/bin/ksh /var/tmp/php-4.3.4/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/ctype/ -I/var/tmp/php-4.3.4/ext/ctype/ -DPHP_ATOM_INC -I/var/tmp/php-4.3.4/include -I/var/tmp/php-4.3.4/main -I/var/tmp/php-4.3.4 -I/var/tmp/php-4.3.4/Zend -I/var/tmp/php-4.3.4/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS -I/var/tmp/php-4.3.4/TSRM -O2 -prefer-pic -c /var/tmp/php-4.3.4/ext/ctype/ctype.c -o ext/ctype/ctype.lo
In file included from /var/tmp/php-4.3.4/Zend/zend.h:227,
from /var/tmp/php-4.3.4/main/php.h:34,
from /var/tmp/php-4.3.4/ext/ctype/ctype.c:23:
/var/tmp/php-4.3.4/Zend/zend_hash.h:119: error: parse error before "va_list"
In file included from /var/tmp/php-4.3.4/Zend/zend.h:228,
from /var/tmp/php-4.3.4/main/php.h:34,
from /var/tmp/php-4.3.4/ext/ctype/ctype.c:23:
/var/tmp/php-4.3.4/Zend/zend_llist.h:34: error: parse error before "va_list"
In file included from /var/tmp/php-4.3.4/main/php.h:34,
from /var/tmp/php-4.3.4/ext/ctype/ctype.c:23:
/var/tmp/php-4.3.4/Zend/zend.h:311: error: parse error before "va_list"
/var/tmp/php-4.3.4/Zend/zend.h:451: error: parse error before "va_list"
In file included from /var/tmp/php-4.3.4/main/php.h:234,
from /var/tmp/php-4.3.4/ext/ctype/ctype.c:23:
/var/tmp/php-4.3.4/main/snprintf.h:71: error: parse error before "va_list"
In file included from /var/tmp/php-4.3.4/main/php.h:236,
from /var/tmp/php-4.3.4/ext/ctype/ctype.c:23:
/var/tmp/php-4.3.4/main/spprintf.h:40: error: parse error before "va_list"
In file included from /var/tmp/php-4.3.4/ext/ctype/ctype.c:23:
/var/tmp/php-4.3.4/main/php.h:289: error: parse error before "va_list"
In file included from /var/tmp/php-4.3.4/main/php.h:389,
from /var/tmp/php-4.3.4/ext/ctype/ctype.c:23:
/var/tmp/php-4.3.4/TSRM/tsrm_virtual_cwd.h:155: error: parse error before '*' token
/var/tmp/php-4.3.4/TSRM/tsrm_virtual_cwd.h:155: warning: data definition has no type or storage class
In file included from /var/tmp/php-4.3.4/main/php.h:398,
from /var/tmp/php-4.3.4/ext/ctype/ctype.c:23:
/var/tmp/php-4.3.4/main/php_reentrancy.h:54: error: parse error before '*' token
make: *** [ext/ctype/ctype.lo] Error 1


GCC is version 3.3.2

# gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls --disable-libgcj --enable-languages=c,c++
Thread model: posix
gcc version 3.3.2


configure arguments were --prefix=/opt/php --enable-ftp --with-apxs2=/opt/apache2/bin/apxs

Any pointers as to a soultion?

Regards,

Richard

Reply via email to