Re: Problems compiling Squid 1.10 on Solaris x86

From: HJJ, Hans Jorgen Jakobsen <Hans-Joergen.Jakobsen@dont-contact.us>
Date: Wed, 28 May 1997 16:37:20 +0200


Yes, that was the problem. THANKS.
I have used this machine as a testbed for BIND 8.1 and had made a make
install.

(For the same reason I installed previous versions of BIND by hand but I
thought
the changes that were made in the installation was "safe".)
/hjj

 ----------
From: Joel Gallun
To: Hans J Jakobsen
Cc: P=INTERNET; DDA.TYPE=RFC-822; DDA.VALUE=squid-users(a)nlanr.net
Subject: Re: Problems compiling Squid 1.10 on Solaris x86
Date: 28. May 1997 15.51

DATE: May 28 09:51:16 1997 -04:00 relative to GMT
IPMessageID: Pine.LNX.3.95.970528094257.22447A-100000(a)wauug.erols.com

FROM: Joel Gallun

TO: Hans J Jakobsen

CC: [P=INTERNET; DDA.TYPE=RFC-822; DDA.VALUE=squid-users(a)nlanr.net]

SUBJECT: Re: Problems compiling Squid 1.10 on Solaris x86
REPLY TO: Joel Gallun

IMPORTANCE: normal
PRIORITY:
 ----------------------------------------------------------------------------
 --
> 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 - 07:39:22 MDT

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