squid-1.2.beta11

From: Dominik Weis <weis@dont-contact.us>
Date: Mon, 26 Jan 1998 17:01:04 -0500 (EST)

When I try to compile squid-1.2.beta11 with the lates patch I get this
error messages:

gcc -g -O2 -Wall -I. -I../include -I./../include -c wais.c -o wais.o
gcc -o squid -g access_log.o acl.o asn.o aiops.o async_io.o cache_cf.o
cbdata.o client_db.o client_side.o comm.o debug.o disk.o dns.o errorpage.o
event.o fd.o fdstat.o filemap.o fqdncache.o ftp.o globals.o gopher.o
hash.o http.o http-anon.o icmp.o icp_v2.o icp_v3.o ident.o ipcache.o
main.o mime.o multicast.o neighbors.o net_db.o objcache.o pass.o pconn.o
peer_select.o proto.o redirect.o refresh.o send-announce.o ssl.o stack.o
stat.o stmem.o store.o store_clean.o store_dir.o store_key_url.o
string_arrays.o tools.o unlinkd.o url.o urn.o useragent.o wais.o -L../lib
-lmiscutil -lm -lbsd
aiops.o: In function `aio_open':
/root/squid/squid-1.2.beta11/src/aiops.c:292: undefined reference to
`pthread_create'
aiops.o: In function `aio_read':
/root/squid/squid-1.2.beta11/src/aiops.c:339: undefined reference to
`pthread_create'
aiops.o: In function `aio_write':
/root/squid/squid-1.2.beta11/src/aiops.c:386: undefined reference to
`pthread_create'
aiops.o: In function `aio_close':
/root/squid/squid-1.2.beta11/src/aiops.c:428: undefined reference to
`pthread_create'
aiops.o: In function `aio_stat':
/root/squid/squid-1.2.beta11/src/aiops.c:479: undefined reference to
`pthread_create'
aiops.o:/root/squid/squid-1.2.beta11/src/aiops.c:530: more undefined
references to `pthread_create' follow
aiops.o: In function `aio_poll_done':
/root/squid/squid-1.2.beta11/src/aiops.c:588: undefined reference to
`pthread_join'
make[1]: *** [squid] Error 1
make[1]: Leaving directory `/root/squid/squid-1.2.beta11/src'
make: *** [all] Error 1

When I compile it without the patch I have no problems to compile it but
squid doesn't start.

I configure it with ./configure --enable-dlmalloc --enable-async-io.
I have a thread library. Does anyone know if that is a known problem or do
I anything wrong. I am using gcc 2.7.2.1, libc.so.5.4.33 and
libpthread.so.0.5.

Thanx for any help

Dominik Weis
Received on Mon Jan 26 1998 - 13:30:04 MST

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