For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > December 2005 > Compilation issues









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Compilation issues
Brice

2005-12-07, 7:57 am

Hello All,

I work on a ppc 405 architecture and i try to compile php-4.4.1 with
gcc version 3.2.1. I have this problem :

/bin/sh /root/php-4.4.1/libtool --silent --preserve-dup-deps
--mode=3Dcompile /root/php-4.4.1/meta_ccld -Iext/ctype/
-I/root/php-4.4.1/ext/ctype/ -DPHP_ATOM_INC -I/root/php-4.4.1/include
-I/root/php-4.4.1/main -I/root/php-4.4.1
-I/root/php-4.4.1/ext/xml/expat -I/root/php-4.4.1/TSRM
-I/root/php-4.4.1/Zend -D_REENTRANT -g -O2 -pthread -DZTSa
-fno-operator-names -c /root/php-4.4.1/ext/ctype/ctype.c -o
ext/ctype/ctype.lo
In file included from /root/php-4.4.1/main/php.h:364,
from /root/php-4.4.1/ext/ctype/ctype.c:23:
/root/php-4.4.1/TSRM/tsrm_virtual_cwd.h:151: parse error before '*' token
/root/php-4.4.1/TSRM/tsrm_virtual_cwd.h:151: warning: data definition
has no type or storage class
In file included from /root/php-4.4.1/main/php.h:373,
from /root/php-4.4.1/ext/ctype/ctype.c:23:
/root/php-4.4.1/main/php_reentrancy.h:54: parse error before '*' token
make: *** [ext/ctype/ctype.lo] Error 1


Do you have an idea?

Thanks
Brice.
Brice

2005-12-07, 7:57 am

On 12/7/05, Brice <brice.favre@gmail.com> wrote:
> Hello All,
>
> I work on a ppc 405 architecture and i try to compile php-4.4.1 with
> gcc version 3.2.1. I have this problem :


Problem solved, i reinstalled glibc-dev and remove config.cache. Now it's o=
k!

Thanks

Brice Favre
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com