squid-1.0.13 won't compile on Solaris 2.5

From: Bernhard Kroenung <horke@dont-contact.us>
Date: Thu, 12 Sep 1996 14:24:16 +0200 (MET DST)

Hy

squid 1.0.13 won't compile on Solaris 2.5 (SPARC, gcc-2.7.2) :

Any similar experience ?

gcc -g -O -Wall -I. -I../include -I./../include -c acl.c
In file included from squid.h:225,
                 from acl.c:31:
ipcache.h:108: warning: `struct hostent' declared inside parameter list
ipcache.h:108: warning: its scope is only this definition or declaration,
ipcache.h:108: warning: which is probably not what you want.
ipcache.h:130: field `entry' has incomplete type
acl.c: In function `decode_addr':
acl.c:157: warning: implicit declaration of function `inet_addr'
acl.c:169: warning: implicit declaration of function `gethostbyname'
acl.c:169: warning: assignment makes pointer from integer without a cast
acl.c:171: dereferencing pointer to incomplete type
acl.c:171: dereferencing pointer to incomplete type
acl.c: In function `aclMatchIp':
acl.c:525: warning: implicit declaration of function `inet_ntoa'
acl.c: In function `aclMatchAcl':
acl.c:655: dereferencing pointer to incomplete type
acl.c:656: dereferencing pointer to incomplete type
acl.c:656: dereferencing pointer to incomplete type
make[1]: *** [acl.o] Error 1

  Ciao
    Bernhard

-- 
Bernhard Kroenung, Bahnhofstr 8, 36157 Ebersburg/Rhoen, Germany +49 6656 910101
@work : bernhard@kroenung.de                               Fax: +49 6656 919022
@home : horke@Rhoen.De       @school : Bernhard.Kroenung@Informatik.FH-Fulda.De
Received on Thu Sep 12 1996 - 05:26:04 MDT

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