[SQU] tools.c compile error

From: Tony Melia <Tony.Melia@dont-contact.us>
Date: Fri, 19 Jan 2001 11:18:45 +1000

THis is mainly dorected at Henrik, in response to a previous response he
made, but it may benifit others.

I am having problem compiling nay version of squid since I tested a 2.4
kernel on my RH7 (2.2.14) box. The error is;

make[2]: Leaving directory `/usr/src/squid-2.4-200101180000/src/repl/lru'
make[1]: Leaving directory `/usr/src/squid-2.4-200101180000/src/repl'
make[1]: Entering directory `/usr/src/squid-2.4-200101180000/src'
gcc -g -Wall -I. -I../include -I../include -c tools.c -o tools.o
tools.c: In function `setMaxFD':
tools.c:627: storage size of `rl' isn't known
tools.c:627: warning: unused variable `rl'
make[1]: *** [tools.o] Error 1
make[1]: Leaving directory `/usr/src/squid-2.4-200101180000/src'

Henrik previously advised the solution was...
.
Older glibc headers fails if you replace the kernel headers with 2.4
headers.

To ensure glibc compability /usr/include/asm and /usr/include/linux should
be the headers glibc was built for, not your current kernel headers.

____________________

My question is if Henrik can give this in simplier tersm, to do this. Do I
need to give a ./configure --headers=/somewhere/else or how do I do this?

Regards,

> Tony Melia MCSE MCP+I
> Systems Engineer
> Downs MicroSystems Pty Ltd
> 145 Margaret Street
> Toowoomba Queensland 4350
> Ph. (07) 4639 3344 Fax (07) 4639 3820
mailto:tony.melia@downsmicro.com.au
> <http://www.downsmicro.com.au>
>
Important Disclaimer and Warning
Downs MicroSystems does not represent or warrant that any attached files are
free from computer viruses or other defects. The attached files are
provided, and may only be used, on the basis that the user assumes all
responsibility for any loss, damage or consequences resulting directly or
indirectly from use of the attached files. The liability of Downs
MicroSystems in any event is limited to either the resupply of the attached
files or the cost of having the attached files resupplied.
NOTE: The views expressed by the individual in this message do not
necessarily reflect those of the organisation.
The information contained in this message is confidential and may be legally
privileged. The message is intended solely for the addressee(s). If you are
not the intended recipient, you are hereby notified that any use,
dissemination, or reproduction is strictly prohibited and may be unlawful.
If you are not the intended recipient, please contact the sender by return
e-mail and destroy all copies of the original message.

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Thu Jan 18 2001 - 18:22:37 MST

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