[squid-users] compiler-error

From: Leonard Lin <l.lin@dont-contact.us>
Date: Tue, 10 Jul 2001 18:39:59 +0200

Hello

I enjoyed Squid for a long time. Recently I had some problems with
my server and had to update some software. I decided to install
a new version of squid as well (as luxus).

I used to compile my softwares for my own. and I did that with my old
squid-installation as well.

But I doesn't work this time. don't know why.

I tried
squid-2.3.STABLE4
squid-2.4.STABLE1

with:
configure --prefix=/usr/local/squid --disable-ident-lookups

But I get allways:

make[1]: Entering directory `/usr/src/local/squid-2.3.STABLE4/src'
gcc -g -O2 -Wall -I. -I../include -I../include -c tools.c -o tools.o
tools.c: In function `leave_suid':
tools.c:498: warning: implicit declaration of function `setresuid'
tools.c: In function `setMaxFD':
tools.c:603: storage size of `rl' isn't known
tools.c:603: warning: unused variable `rl'
make[1]: *** [tools.o] Error 1
make[1]: Leaving directory `/usr/src/local/squid-2.3.STABLE4/src'
make: *** [all] Error 1

tools.c (it's two times the same problem)

I'm using
Redhat 6.1 - 2.4.6 kernel
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

Thanks in advance for any hint

Leonard Lin
Received on Tue Jul 10 2001 - 10:36:06 MDT

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