Re: Compilation problems on Linux since 1.1.11

From: Andreas Doering <doering@dont-contact.us>
Date: Fri, 18 Jul 1997 15:23:17 +0200

Sartorelli, Kevin wrote:

> >/usr/src/squid-1.1.14/src/acl.c:853: undefined reference to
> >`__inet_ntoa'
>
> Let me guess - you've installed bind 8.x? There is an 'error' in the
> arpa/inet.h file. Comment out the following:
>
> /*
> #define inet_addr __inet_addr
> #define inet_aton __inet_aton
> #define inet_lnaof __inet_lnaof
> #define inet_makeaddr __inet_makeaddr
> #define inet_neta __inet_neta
> #define inet_netof __inet_netof
> #define inet_network __inet_network
> #define inet_net_ntop __inet_net_ntop
> #define inet_net_pton __inet_net_pton
> #define inet_ntoa __inet_ntoa
> #define inet_pton __inet_pton
> #define inet_ntop __inet_ntop
> #define inet_nsap_addr __inet_nsap_addr
> #define inet_nsap_ntoa __inet_nsap_ntoa
> */
>
> You may have to add -lbind to the libs (or is it -lresolv ?? never can
>
> remember which).
>
> Cheers
> Kevin

Thanks a lot, Kevin !
You had been right with Bind 8.

-lbind worked.
I didn't need to comment out the things in arpa/inet.h file.
Squid 1.1.14 seems to work now.

Best Regards

Andreas

--
-----------------------------------------------
Andreas Doering
University Gesamthochschule Kassel
WZ III - Environmental Systems Research Center
Kurt-Wolters-Strasse 3
D-34109 Kassel
Tel.:   +49-561-8043907   Fax.: +49-561-8043176
E-Mail: doering@usf.uni-kassel.de
http://www.usf.uni-kassel.de/
-----------------------------------------------
Received on Fri Jul 18 1997 - 06:24:42 MDT

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