Re: [squid-users] Compile Crash

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 19 Dec 2001 20:42:07 +0100

These errors are from not including support for pthreads. The "aufs"
store implementation requires pthreads (--enable-pthreads).

Note: "aufs" is not officially supported on FreeBSD. "diskd" is very
likely to perform better on FreeBSD.

Regards
Henrik Nordström
MARA Systems AB

Dave Raven wrote:
>
> Hi all,
> I have squid 2.4-stable2 running on a FreeBSD 4.4-STABLE box.
> I recently installed stable3 from /usr/ports/www/squid24/ (today -
> latest cvsup) and:
>
> aiops.o(.text+0x1f5): undefined reference to `pthread_attr_init'
> aiops.o(.text+0x207): undefined reference to `pthread_self'
> aiops.o(.text+0x227): undefined reference to `pthread_mutex_init'
> aiops.o(.text+0x24f): undefined reference to `pthread_cond_init'
> aiops.o(.text+0x29f): undefined reference to `pthread_mutex_init'
> aiops.o(.text+0x2c7): undefined reference to `pthread_cond_init'
> aiops.o(.text+0x39f): undefined reference to `pthread_create'
> fs/aufs.a(aiops.o): In function `aio_thread_loop':
> aiops.o(.text+0x53b): undefined reference to `pthread_sigmask'
> aiops.o(.text+0x577): undefined reference to `pthread_mutex_lock'
> aiops.o(.text+0x59a): undefined reference to `pthread_cond_wait'
> aiops.o(.text+0x5d9): undefined reference to `pthread_mutex_unlock'
> aiops.o(.text+0x6ff): undefined reference to `pthread_mutex_lock'
> aiops.o(.text+0x721): undefined reference to `pthread_mutex_unlock'
> fs/aufs.a(aiops.o): In function `aio_queue_request':
> aiops.o(.text+0x7b8): undefined reference to `pthread_mutex_trylock'
> aiops.o(.text+0x7e0): undefined reference to `pthread_cond_signal'
> aiops.o(.text+0x7f0): undefined reference to `pthread_mutex_unlock'
> aiops.o(.text+0x823): undefined reference to `pthread_mutex_trylock'
> aiops.o(.text+0x84e): undefined reference to `pthread_cond_signal'
> aiops.o(.text+0x85e): undefined reference to `pthread_mutex_unlock'
> fs/aufs.a(aiops.o): In function `aio_poll_queues':
> aiops.o(.text+0x1288): undefined reference to `pthread_mutex_trylock'
> aiops.o(.text+0x12b5): undefined reference to `pthread_cond_signal'
> aiops.o(.text+0x12c5): undefined reference to `pthread_mutex_unlock'
> aiops.o(.text+0x12f2): undefined reference to `pthread_mutex_trylock'
> aiops.o(.text+0x1324): undefined reference to `pthread_mutex_unlock'
> *** Error code 1
> [cuts out]
>
> This is evidently because I have aufs as one of the supported filesystems,
> but what might cause this???
> (It works fine without aufs)
>
> Thanks all,
> Dave
> OpteqSec.
Received on Wed Dec 19 2001 - 12:42:15 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:24 MST