[PHP3] compile PHP with Apache From: Feri Zsuppa'n (ferizs <email protected>)
Date: 09/30/98

I am trying to compile PHP 3.0.4(built-in Dbase) with Apache 1.3.2 on
SolarisX86 box with GCC 2.8.1 and get the following error:

gcc -g -O2 -O2 -I. -I. -I../apache_1.3.2/src/include
-I../apache_1.3.2/src/os/unix -c
language-parser.tab.c -o language-parser.tab.o
In file included from /usr/include/netinet/in.h:39,
                 from ../apache_1.3.2/src/include/ap_config.h:915,
                 from php.h:183,
                 from language-parser.y:56:
/usr/include/sys/byteorder.h:60: conflicting types for `u_int'
/usr/include/sys/types.h:410: previous declaration of `u_int'

The same redefinition error occurs with the Sun compiler. Am I missing a
switch or a configuration option here? I have followed pretty much what
INSTALL says.

Thanks,

--Feri

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3