Re: Problems compiling Squid 1.10 on Solaris x86

From: Joel Gallun <joel@dont-contact.us>
Date: Wed, 28 May 1997 09:51:16 -0400 (EDT)

> Undefined first referenced
> symbol in file
> __inet_addr main.o
> __inet_ntoa acl.o

My guess is that you've installed ISC BIND on your system. It puts its own
version of some header files in /usr/local/include, which gcc searches
before /usr/include. This will cause the error you have. If you rm or mv
the files/dirs arpa, netdb.h and resolv.h in /usr/local/include and then
'make clean; make' in your squid dir you should be ok.

Sendmail builds because it uses the Berekley routines anyway.

Regards,

Joel

--
Tired of the same old spam? Join the Coalition Against Unsolicited
Commercial Email!  http://www.cauce.org
Received on Wed May 28 1997 - 06:54:44 MDT

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