From owner-freebsd-hackers Tue Mar 4 11:42:49 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA10966 for hackers-outgoing; Tue, 4 Mar 1997 11:42:49 -0800 (PST) Received: from trogon.kiwi.net (trogon.kiwi.net [207.155.64.2]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA10934; Tue, 4 Mar 1997 11:42:44 -0800 (PST) Received: from localhost (freebsd@localhost) by trogon.kiwi.net (8.8.5/8.8.5) with SMTP id LAA02156; Tue, 4 Mar 1997 11:42:42 -0800 (PST) Date: Tue, 4 Mar 1997 11:42:42 -0800 (PST) From: Christopher Taylor To: freebsd-hackers@freebsd.org cc: freebsd-questions@freebsd.org, freebsd-hardware@freebsd.org Subject: Squid Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am trying to get Squid to work on my FreeBSD 2.2-ALPHA system. It gives me an error at compile time re: res_init undefined: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Making all in lib... Making all in scripts... Making all in src... gcc -o dnsserver -g dnsserver.o -L../lib -lmiscutil -lm -lresolv -lgnumalloc dnsserver.c:267: Undefined symbol `___res_init' referenced from text segment /usr/lib/libresolv.so.2.0: Undefined symbol `___res_init' referenced *** Error code 1 Stop. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - I can get around it by commenting out res_init in dnsserver.c. I have also played around with the -l libs in Makefile, etc. Everything compiles ok, but when I try to run squid, it gives this message in the cache.log file: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 97/03/04 11:36:23| Starting Squid Cache version 1.1.8 for i386-unknown-freebsd2.2... 97/03/04 11:36:23| With 256 file descriptors available 97/03/04 11:36:23| Performing DNS Tests... FATAL: ipcache_init: DNS name lookup tests failed. Squid Cache (Version 1.1.8): Terminated abnormally. CPU Usage: user 0 sys 0 Maximum Resident Size: 1040 KB Page faults with physical i/o: 3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - I get the same results on a FreeBSD 3.0, 2.1.6, 2.1.7 system. If anyone can give me any insight, it would be greatly appreciated! -------- Christopher Taylor Kiwi Internet Services Best Rates Around! ctaylor@kiwi.net Phone: 909-274-7800! $12.95/mo FLAT PPP! BBS: SUCCESSBBS.COM Visit: Http://Www.Kiwi.Net Web Services! PGP Fingerprint: 0D 47 98 16 74 DC 3D 7E 1E 6E 6C 2B D9 A5 C7 1B Finger 'ctaylor@kiwi.net' for Public Keyring!