Re: [squid-users] Build error! Help! -client_side.o(.text+0xf65): In function `gzip_data':/home/lq/squid-2.5.S12/src/client_side.c:2053: undefined reference to `deflate'

2005-11-14 Thread Henrik Nordstrom



On Thu, 10 Nov 2005, ro vencentro wrote:


I want to make squid support gzip,but I have a  problem when compiling:

/home/lq/squid-2.5.S12/src/client_side.c:2053: undefined reference to `deflate'


You have not included your gzip library in the link line.

Regards
Henrik


[squid-users] Build error! Help! -client_side.o(.text+0xf65): In function `gzip_data':/home/lq/squid-2.5.S12/src/client_side.c:2053: undefined reference to `deflate'

2005-11-10 Thread ro vencentro
I want to make squid support gzip,but I have a  problem when compiling:

source='string_arrays.c' object='string_arrays.o' libtool=no \
depfile='.deps/string_arrays.Po' tmpdepfile='.deps/string_arrays.TPo' \
depmode=gcc3 /bin/sh ../cfgaux/depcomp \
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 external_acl.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 refresh.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 -L../lib
repl/liblru.a fs/libufs.a auth/libbasic.a -lcrypt -lmiscutil -lm
-lresolv -lbsd -lnsl
client_side.o(.text+0xf65): In function `gzip_data':
/home/lq/squid-2.5.S12/src/client_side.c:2053: undefined reference to `deflate'
client_side.o(.text+0xf9c):/home/lq/squid-2.5.S12/src/client_side.c:2059:
undefined reference to `crc32'
client_side.o(.text+0x54ba): In function `clientSendMoreData':
/home/lq/squid-2.5.S12/src/client_side.c:2082: undefined reference to `deflate'
client_side.o(.text+0x68f7):/home/lq/squid-2.5.S12/src/client_side.c:1539:
undefined reference to `deflateInit2_'
client_side.o(.text+0x6905):/home/lq/squid-2.5.S12/src/client_side.c:1541:
undefined reference to `crc32'
collect2: ld returned 1 exit status
make[3]: *** [squid] Error 1
make[3]: Leaving directory `/home/lq/squid-2.5.S12/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/lq/squid-2.5.S12/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/lq/squid-2.5.S12/src'
make: *** [all-recursive] Error 1