Search squid archive

RE: Squid No Longer Compiles on RedHat enterprise 5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



./configure  --prefix=/usr --includedir=/usr/include --datadir=/usr/share --bindir=/usr/sbin --libexecdir=/usr/lib/squid --localstatedir=/var --sysconfdir=/etc/squid --enable-wccpv2 --enable-linux-netfilter --enable-default-err-language=English --enable-err-languages=English --enable-async-io --enable-removal-policies=lru,heap --disable-auth


It dies the same way on three different systems.

thx

-----Original Message-----
From: John Doe [mailto:jdmls@xxxxxxxxx] 
Sent: Tuesday, April 20, 2010 5:57 AM
To: squid-users@xxxxxxxxxxxxxxx
Subject: Re:  Squid No Longer Compiles on RedHat enterprise 5

From: "Bradley, Stephen W. Mr." <bradlesw@xxxxxxxxxx>
> This is my second time posting this with no answers yet.
> I have probably compiled Squid with various options over 
> 100 times in the last two months and after a two week 
> break I tried compiling last night to add SNMP support 
> and it fails with this:
> util.c: In function âxint64toaâ:
> util.c:929: warning: format â%lldâ 
> expects type âlong long intâ, but argument 4 has type âint64_tâ
> util.c:929: 
> warning: format â%lldâ expects type âlong long intâ, but argument 4 has type 
> âint64_tâ

I just tested and succesfully compiled 3.1.1 on an up to date Centos 5.4 (equivalent to RH 5.4)...
...
gcc -DHAVE_CONFIG_H  -I.. -I../include -I../src -I../include    -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Werror -D_REENTRANT -Wall -g -O2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
mv -f .deps/util.Tpo .deps/util.Po
...

What configure options did you use?

JD


      


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux