Maybe the spec file overrides CFLAGS when running make, inhibiting the settings done by configure..
Regards Henrik mån 2003-03-24 klockan 19.15 skrev Peter Smith: > I copied and altered a "squid-2.5.STABLE1-2.src.rpm" which I'd cobbled > together to be a "squid-2.5.STABLE2-1.src.rpm". However, upon building, > I now get a 'aufs/aiops.c:36:2: #error "_REENTRANT MUST be defined to > build squid async io support." ' error. Any ideas as to why I would get > this with Squid-2.5.STABLE2 and not with Squid-2.5.STABLE1? > > Btw, here is my %configure line for the SRPM... (note that pthreads is > enabled.) > > %configure \ > --exec_prefix=/usr --bindir=/usr/sbin --libexecdir=/usr/lib/squid \ > --localstatedir=/var --sysconfdir=/etc/squid --datadir=/usr/lib/squid \ > --enable-poll --enable-snmp --enable-removal-policies="heap,lru" \ > --enable-delay-pools --enable-linux-netfilter \ > --enable-carp --with-pthreads \ > --enable-basic-auth-helpers="LDAP,NCSA,PAM,SMB,MSNT" \ > --enable-storeio="aufs,coss,diskd,ufs,null" > > This doesn't make sense as I've read > 'http://www.squid-cache.org/Versions/v2/2.5/bugs/#squid-2.5.STABLE1-aufs_reentrant' > and already have pthreads enabled. > > Peter Smith -- Henrik Nordstrom <[EMAIL PROTECTED]> MARA Systems AB, Sweden