Re: Compile 'va_list'
| From: | Ian McNish | Date: | Mon, 09 Oct 2000 23:33:52 +0000 |
| Subject: | Re: Compile 'va_list' | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-218@lists.php.net to get a copy of this message | ||
On Mon, 9 Oct 2000, Patrick Lanphier wrote:
> This is the following errors I receieve when attempting to compile PHP
> 4. I believe it has something to do this the compiler. I currently have
> the following installed.
>
> gcc-2.96-54
> gcc-c++-2.96-54
> gcc-chill-2.96-54
> gcc-g77-2.96-54
> gcc-objc-2.96-54
>
> /bin/sh ../libtool --silent --mode=compile /home/php-4.0.2/meta_cc
> -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -lpthread -lgcc -g -O2 -c
> zend-scanner.c
> In file included from zend.h:148,
> from zend-scanner.l:42:
> zend_hash.h:114: parse error before `va_list'
> zend_hash.h:122: parse error before `va_list'
> In file included from zend.h:149,
> from zend-scanner.l:42:
> zend_llist.h:43: parse error before `va_list'
> In file included from zend-scanner.l:42:
> zend.h:228: parse error before `va_list'
> zend.h:334: parse error before `va_list'
> make: *** [zend-scanner.lo] Error 1
make sure that you have, and can read, <prefix to gcc
install>/include/varargs.h and stdarg.h.