-lpthread is missing.. no idea why. Check src/Makefile after running
configure.
SQUID_LIBS should read
---------------------------------------
SQUID_LIBS = -L../lib $(CRYPTLIB) $(REGEXLIB) $(PTHREADLIB) \
$(SNMPLIB) -lmiscutil $(XTRA_LIBS)
---------------------------------------
And PTHREADLIB should be set to
---------------------------------------
PTHREADLIB = -lpthread
---------------------------------------
I haven't checked the status of the last patch, but this was my
intention when --enable-async-io was added to configure.
If you make sure that -lpthread is available on SQUID_LIBS one way or
another, then it should compile alright. Be warned that the asyncio code
is currently a bit unstable and inneficcient on platforms without a
built-in thread pool (only Solaris is known to have this). Major update
of the async-io support is expected in next beta release, addressing
both problems..
--- Henrik Nordström Sparetime Squid Hacker Dominik Weis wrote: > > When I try to compile squid-1.2.beta11 with the lates patch I get this > error messages: ... > -L../lib -lmiscutil -lm -lbsd ... > 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 doReceived on Mon Jan 26 1998 - 15:26:37 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:38:31 MST