[SQU] Problems Compiling Squid-2.3 Stable4

From: Andrew Kenna <[email protected]>
Date: Tue, 19 Sep 2000 11:17:09 +1000

I have currently re-loaded a new linux server with Redhat 6.2 and
compiled/installed 2.2.17 kernel and am having a few problems compiling
squid 2.3Stable4. The following error message appears

gcc -g -O2 -Wall -I../include -I../include -c -o rfc1123.o rfc1123.c
gcc -g -O2 -Wall -I../include -I../include -c -o rfc1738.o rfc1738.c
gcc -g -O2 -Wall -I../include -I../include -c -o rfc1035.o rfc1035.c
In file included from rfc1035.c:72:
../include/rfc1035.h:60: warning: `struct in_addr' declared inside parameter
lis
t
../include/rfc1035.h:60: warning: its scope is only this definition or
declarati
on,
../include/rfc1035.h:60: warning: 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.3.STABLE4/lib'
make: *** [all] Error 1
[root@kenny squid-2.3.STABLE4]#

Can someone possibly tell me what this means and how to fix it or point me
to a web site that explains what all these sorts of error messages mean and
how to fix them.

I am running the following versions of software

GNU MAKE Version 3.78.1
AutoConf Version 2.13

Regards

Andrew

andrewk@stamina.com.au

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Mon Sep 18 2000 - 18:19:37 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:55:21 MST