[squid-users] Squid-2.4.STABLE7 Compile error on Redhat 6.2, Kernel 2.4.19

From: Knight, David <dlknight@dont-contact.us>
Date: Thu, 3 Oct 2002 20:02:50 +0100

Hi all,

    I have search archives etc... for a solution to this but cannot find
anything. I have the full Kernel 2.4.19 source installed
under /usr/src/linux-2.4.19 with a symbolic link /usr/src/linux pointed to
it. I have also checked that the /usr/include/asm & /usr/include/linux are
present and are symbolic links pointed at /usr/src/linux/include/asm-i386
& /usr/src/linux/include/linux respectively. I configure squid
using ./configure and then attempt a make all which gives the following
output :

In file included from rfc1035.c:72:
 ../include/rfc1035.h:60: warning: `struct in_addr'
 declared inside parameter list
 ../include/rfc1035.h:60: warning: its scope is only
 this definition or declaration, which is probably not what you want.
 ../include/rfc1035.h:60: warning: parameter has incomplete type
 rfc1035.c: In function `rfc1035HeaderPack':
 rfc1035.c:109: warning: implicit declaration of function `htons'
 rfc1035.c: In function `rfc1035HeaderUnpack':
 rfc1035.c:229: warning: implicit declaration of function `ntohs'
 rfc1035.c: In function `rfc1035RRUnpack':
 rfc1035.c:327: warning: implicit declaration of function `ntohl'
 rfc1035.c: At top level:
 rfc1035.c:501: warning: `struct in_addr' declared inside parameter list
 rfc1035.c:502: parameter `addr' has incomplete type
 make[1]: *** [rfc1035.o] Error 1
 make[1]: Leaving directory '/usr/src/squid-2.4.STABLE7/lib'
 make: *** [all] Error 1

   Anyone have any ideas what is wrong ?

Help appreciated,

Regards

Dave K.

IT Analyst
Centralis www.centralis.co.uk
Received on Thu Oct 03 2002 - 13:03:36 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:35 MST