Re: [squid-users] Compilation problems...

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 06 Jun 2001 01:10:59 +0200

See the Squid FAQ.

You have most likely messed up /usr/include/linux/ and/or
/usr/include/asm/, making it a bit hard to compile programs on your
system..

ps. the first "setresuid" warning is expected, and is due to GNU libc
headers missing the declaration of setresuid().

--
Henrik Nordstrom
Squid Hacker
Bruno Trevisan wrote:
> 
> Hi
> 
> Sorry but I'm trying to compile squid on a proxy machine for 4 hours
> already and I cant figure out that error:
> 
> gcc -g -O2 -Wall -D_REENTRANT -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/squid-2.3.STABLE3/src'
> make: *** [all] Error 1
> 
> Can anyone help?
> 
> Thanx
> 
>   Bruno Trevisan        |=|         Async Open Source
>   bt@async.com.br       |=|         +55 16 274-4311
>                         |=|         http://www.async.com.br
Received on Tue Jun 05 2001 - 17:28:23 MDT

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