[squid-users] aufs compile error

From: Lizzy Dizzy <lizzy_99@dont-contact.us>
Date: Mon, 17 May 2004 09:01:58 +0000

Hi, I am configuring my squid 2.5S4 to used aufs. The following are the
config:

./configure --enable-cache-digests --enable-gnuregex --enable-underscores
--enable-err-languages="English" --enable-storeio=aufs,ufs

modified /src/fs/aufs/store_async.h such that ASYNC_WRITE is changed from 0
to 1.

Running make, I got this error (have make distclean before configuring)

source='aufs/store_io_aufs.c' object='aufs/store_io_aufs.o' libtool=no \
depfile='.deps/aufs/store_io_aufs.Po'
tmpdepfile='.deps/aufs/store_io_aufs.TPo' \
depmode=gcc3 /bin/sh ../../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I../../include
-I../../include -I../../src/ -g -O2 -Wall -D_REENTRANT -c -o
aufs/store_io_aufs.o `test -f aufs/store_io_aufs.c || echo
'./'`aufs/store_io_aufs.c
aufs/store_io_aufs.c:371: conflicting types for `storeAufsWriteDone'
aufs/store_io_aufs.c:15: previous declaration of `storeAufsWriteDone'
aufs/store_io_aufs.c: In function `storeAufsWriteDone':
aufs/store_io_aufs.c:396: warning: statement with no effect
make[4]: *** [aufs/store_io_aufs.o] Error 1
make[4]: Leaving directory
`/usr/local/src/squid-devt/squid-2.5.STABLE4/src/fs'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/local/src/squid-devt/squid-2.5.STABLE4/src/fs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/squid-devt/squid-2.5.STABLE4/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/squid-devt/squid-2.5.STABLE4/src'
make: *** [all-recursive] Error 1
[root@hawkins squid-2.5.STABLE4]#

Changing the ASYNC_WRITE back to 0 solves the problem.

Any idea what could be wrong?

Thanks
Liz

_________________________________________________________________
Get 10mb of inbox space with MSN Hotmail Extra Storage
http://join.msn.com/?pgmarket=en-sg
Received on Mon May 17 2004 - 03:02:05 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Jun 01 2004 - 12:00:01 MDT