Re: [squid-users] Compile errors

From: Amos Jeffries <[email protected]>
Date: Wed, 23 Jan 2008 16:21:46 +1300 (NZDT)

> My build/configure command:
> ./configure --prefix=/services/proxy --enable-icmp --enable-snmp
> --enable-cachemgr-hostname=kmiproxy01 --enable-arp-acl --disable-select
> --disable-poll --enable-epoll --enable-large-cache-files
> --disable-ident-lookups --enable-stacktraces --with-large-files
> --enable-storeio="coss,ufs,null"
>
> Then I did: make && make install
>
> It failed with:
>
> fs/libcoss.a fs/libufs.a fs/libnull.a auth/libbasic.a -lcrypt
> ../snmplib/libsnmp.a -lmiscutil -lrt -lm -lnsl
> fs/libcoss.a(store_dir_coss.o): In function `storeCossDirCheckLoadAv':
> coss/store_dir_coss.c:687: undefined reference to `aioQueueSize'
> coss/store_dir_coss.c:688: undefined reference to `squidaio_magic1'
> fs/libcoss.a(store_dir_coss.o): In function `storeDirCoss_ReadStripe':
> coss/store_dir_coss.c:1227: undefined reference to `aioRead'
> fs/libcoss.a(store_dir_coss.o): In function `storeCossDirInit':
> coss/store_dir_coss.c:222: undefined reference to `aioInit'
> coss/store_dir_coss.c:223: undefined reference to `squidaio_init'
> fs/libcoss.a(store_dir_coss.o): In function `storeCossDirCallback':
> coss/store_dir_coss.c:735: undefined reference to `aioCheckCallbacks'
> fs/libcoss.a(store_io_coss.o): In function `storeCossWriteMemBuf':
> coss/store_io_coss.c:738: undefined reference to `aioWrite'
> fs/libcoss.a(store_io_coss.o): In function `storeCossNewPendingRelocate':
> coss/store_io_coss.c:1086: undefined reference to `aioRead'
> fs/libcoss.a(store_io_coss.o): In function `storeCossSync':
> coss/store_io_coss.c:679: undefined reference to `aioSync'
> collect2: ld returned 1 exit status
> make[3]: *** [squid] Error 1
> make[3]: Leaving directory `/usr/src/kalproxy/squid-2.6.STABLE12/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/kalproxy/squid-2.6.STABLE12/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/src/kalproxy/squid-2.6.STABLE12/src'
> make: *** [all-recursive] Error 1
>
> help would be appreciated as I've searched the FAQs and list archives.

First thing, since you are building, get the latest stable source to work
with:
  http://www.squid-cache.org/Versions/v2/2.6/

Amos
Received on Tue Jan 22 2008 - 20:21:51 MST

This archive was generated by hypermail pre-2.1.9 : Fri Feb 01 2008 - 12:00:05 MST