Re: Compile 'va_list'
| From: | Patrick Lanphier | Date: | Mon, 09 Oct 2000 23:49:14 +0000 |
| Subject: | Re: Compile 'va_list' | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-219@lists.php.net to get a copy of this message | ||
I did make sure that I had these files. I directed the compiler to look
in the directory '/usr/lib/gcc-lib/i386-redhat-linux/2.96/include' by
adding it to the following
export LDFLAGS='-I/usr/include/apache -I/usr/include -L/usr/lib/apache
-I/usr/lib/gcc-lib/i386-redhat-linux/2.96/include -L/usr/lib -lpthread
-lgcc'
I just don't understand. Any help would be great thank you.
Patrick Lanphier
The Artemis Group
http://www.artemisgroup.com
On Mon, 9 Oct 2000, Ian McNish wrote:
>
> 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.
>
>
>