RE: compile problem with IPv6 branch ??

From: Gavin Davenport <gavdav@dont-contact.us>
Date: Wed, 19 Mar 2003 11:05:19 -0000

Hi Henrik,

>>Try disabling WCCP (--disable-wccp configure option IIRC).
Using:
./configure --enable-ipv6 --prefix=/usr/local/squid --disable-wccp

results in warnings in safe_inet_addr.c, acl.c, client_db.c, fqdncache.c,
ipcache.c, tools.c.

It eventually bombs out in string_arrays.c:
gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\
" -I. -I. -I../include -I. -I. -I../include -I../include -g -O2 -Wall -c
`test -f string_arrays.c || echo './'`string_arrays.c
gcc -g -O2 -Wall -g -o squid access_log.o acl.o asn.o authenticate.o
cache_cf.o CacheDigest.o cache_manager.o carp.o cbdata.o client_db.o
client_side.o comm.o comm_select.o debug.o disk.o dns_internal.o
errorpage.o ETag.o event.o fd.o filemap.o forward.o fqdncache.o ftp.o
gopher.o helper.o http.o HttpStatusLine.o HttpHdrCc.o HttpHdrRange.o
HttpHdrContRange.o HttpHeader.o HttpHeaderTools.o HttpBody.o HttpMsg.o
HttpReply.o HttpRequest.o icmp.o icp_v2.o icp_v3.o ident.o internal.o
ipc.o ipcache.o logfile.o main.o mem.o MemPool.o MemBuf.o mime.o
multicast.o neighbors.o net_db.o Packer.o pconn.o peer_digest.o
peer_select.o redirect.o referer.o refre
sh.o send-announce.o ssl.o stat.o StatHist.o String.o stmem.o store.o
store_io.o store_client.o store_digest.o store_dir.o store_key_md5.o
store_log.o store_rebuild.o store_swapin.o store_swapmeta.o
store_swapout.o tools.o unlinkd.o url.o urn.o useragent.o wais.o
wccp.o whois.o repl_modules.o auth_modules.o store_modules.o globals.o
string_arrays.o repl/liblru.a fs/libufs.a auth/libbasic.a -lcrypt
../lib/libmiscutil.a -lm -lresolv -lsocket -lnsl
Undefined first referenced
 symbol in file
gethostbyname2 cache_cf.o
ld: fatal: Symbol referencing errors. No output written to squid
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `squid'
Current working directory /usr/local/squid-ipv6/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/squid-ipv6/src
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /usr/local/squid-ipv6/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

is it possible I'm extracting the wrong version somehow ??

Gavin
Received on Wed Mar 19 2003 - 04:06:11 MST

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