Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 1997 11:42:42 -0800 (PST)
From:      Christopher Taylor <freebsd@trogon.kiwi.net>
To:        freebsd-hackers@freebsd.org
Cc:        freebsd-questions@freebsd.org, freebsd-hardware@freebsd.org
Subject:   Squid
Message-ID:  <Pine.NEB.3.95q.970304113823.1986A-100000@trogon.kiwi.net>

next in thread | raw e-mail | index | archive | help
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:

- <snip> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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.

- <snip> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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:

- <snip> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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

- <snip> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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!





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95q.970304113823.1986A-100000>