Thanks for all the information, I should have been a little more specific in
my query.
I'm using Squid-2.2 Stable 5 out of the BSD ports collection and when I run
./configure --enable-async-io ; make, configure goes through without any
errors or complaints. make seems to do the same, except when it starts to
link src/squid I get the following undefined symbols:
aiops.o: In function `aio_init':
aiops.o(.text+0x1e): undefined reference to `pthread_attr_init'
aiops.o(.text+0x2d): undefined reference to `pthread_self'
aiops.o(.text+0x77): undefined reference to `pthread_mutex_init'
aiops.o(.text+0x8b): undefined reference to `pthread_cond_init'
aiops.o(.text+0xbb): undefined reference to `pthread_create'
aiops.o: In function `aio_thread_loop':
aiops.o(.text+0x15d): undefined reference to `pthread_sigmask'
aiops.o(.text+0x169): undefined reference to `pthread_mutex_lock'
aiops.o(.text+0x1a2): undefined reference to `pthread_cond_timedwait'
aiops.o: In function `aio_process_request_queue':
aiops.o(.text+0x699): undefined reference to `pthread_cond_signal'
collect2: ld returned 1 exit status
*** Error code 1
I added libc_r and -pthread to the Makefile in src and it removed those
errors, but then when I ran squid, it would not stay up for more than 30 secs.
Help!!
--Jeff
On Thu, Nov 11, 1999 at 09:10:16AM -0600, Jeff Beley <jeffb@cameron.edu> wrote:
> Does async-io work under FreeBSD, if so how do I get it to work?
>
> --Jeff
Received on Fri Nov 12 1999 - 07:19:52 MST
This archive was generated by hypermail pre-2.1.9 : Wed Apr 09 2008 - 11:57:32 MDT