bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error with gcc3.3.2 while installing httpd


From: R Muralidhar-A15098
Subject: Error with gcc3.3.2 while installing httpd
Date: Wed, 10 Nov 2004 18:24:26 +0530

I was trying to install httpd-2.0.52 on Solaris8. I was trying to configure
and make the apache server and got the following error. Please help.
 
Output from configure:
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... no
configure: WARNING: arpa/inet.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: arpa/inet.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to  <mailto:address@hidden>
address@hidden ##
configure: WARNING:     ## ------------------------------------ ##
checking for arpa/inet.h... no

Got the same error for other files like netdb.h, socket.h 
 
The above is the output from the configure script received in the
httpd-2.0.52 package.
 
After this if I run make I see the following fatal errors. I have tried
installing httpd 2.0.52 with earlier version of gcc i.e 2.95.2 and did not
face any issues.
 
/bin/bash /disk2/home/TOOLS/httpd-2.0.52/srclib/apr/libtool --silent
--mode=compile /usr/local/bin/gcc -g -O2 -pthreads   -DHAVE_CONFIG_H
-DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT   -I../include
-I../include/arch/unix  -c apr_cpystrn.c && touch apr_cpystrn.lo
/bin/bash /disk2/home/TOOLS/httpd-2.0.52/srclib/apr/libtool --silent
--mode=compile /usr/local/bin/gcc -g -O2 -pthreads   -DHAVE_CONFIG_H
-DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT   -I../include
-I../include/arch/unix  -c apr_snprintf.c && touch apr_snprintf.lo
In file included from apr_snprintf.c:21:
../include/apr_network_io.h:211: error: field `sin' has incomplete type
apr_snprintf.c: In function `conv_in_addr':
apr_snprintf.c:446: error: dereferencing pointer to incomplete type

GCC DETAILS:
I have installed gcc from sunfreeware. Below are the details
gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.3.2

 -Thanks, 
 Murali. 
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]