[SOLARIS7] PB de compilation... (resolu)

PB de compilation... (resolu) [SOLARIS7] - Linux et OS Alternatifs

Marsh Posté le 18-10-2002 à 11:18:27    

Bon ben, les images parlent d'elles même :

root@vega:/tmp> cd php-4.2.3  
root@vega:/tmp/php-4.2.3> make
Making all in Zend
make[1]: Entering directory `/tmp/php-4.2.3/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main   -D_POSIX_PTHREAD_SEMANTICS -I../TSRM  -g -O2 -prefer-non-pic -static -c zend_language_parser.c
In file included from /usr/local/include/stdio.h:14,
                 from zend.h:35,
                 from zend_compile.h:24,
                 from zend_language_parser.c:148:
/usr/local/include/stdarg.h:43: parse error before `__gnuc_va_list'
/usr/local/include/stdarg.h:43: warning: data definition has no type or storage class
In file included from zend.h:35,
                 from zend_compile.h:24,
                 from zend_language_parser.c:148:
/usr/local/include/stdio.h:311: parse error before `__gnuc_va_list'
/usr/local/include/stdio.h:312: parse error before `__gnuc_va_list'
/usr/local/include/stdio.h:316: parse error before `__gnuc_va_list'
/usr/local/include/stdio.h:318: parse error before `__gnuc_va_list'
In file included from zend.h:59,
                 from zend_compile.h:24,
                 from zend_language_parser.c:148:
/usr/local/include/stdarg.h:90: parse error before `va_list'
/usr/local/include/stdarg.h:90: warning: data definition has no type or storage class
In file included from zend.h:180,
                 from zend_compile.h:24,
                 from zend_language_parser.c:148:
zend_hash.h:119: parse error before `va_list'
In file included from zend.h:181,
                 from zend_compile.h:24,
                 from zend_language_parser.c:148:
zend_llist.h:34: parse error before `va_list'
In file included from zend_compile.h:24,
                 from zend_language_parser.c:148:
zend.h:263: parse error before `va_list'
zend.h:394: parse error before `va_list'
make[1]: *** [zend_language_parser.lo] Error 1
make[1]: Leaving directory `/tmp/php-4.2.3/Zend'
make: *** [all-recursive] Error 1


Une idée :??:
 
PS: Avec gcc v2.95.3


Message édité par Pingouin34 le 18-10-2002 à 13:48:27

---------------
Nicolede @ Illidan (drood spé aspirine)
Reply

Marsh Posté le 18-10-2002 à 11:18:27   

Reply

Marsh Posté le 18-10-2002 à 11:53:48    

Reply

Marsh Posté le 18-10-2002 à 13:48:07    

Bon ben j'ai trouvé...
 
Apparement, il fallait specifier /usr/include comme repertoire d'include au lieu de /usr/local/include :heink:  
 
Chelou, mais çà marche :D


---------------
Nicolede @ Illidan (drood spé aspirine)
Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed