Squid 2.0 Compilation Error in Redhat 5.1

From: Benjamin de los Angeles Jr. <bench@dont-contact.us>
Date: Tue, 13 Oct 1998 17:38:06 +0800 (CST)


I'm using glibc-devel-2.0.7-19 in RedHat 5.1.

I'm having some problems with my Squid v2.0 compilation. It can't detect
some headers such dirent.h, errno.h, etc, here's some output when I use

checking for dirent.h that defines DIR... (cached) no
checking for sys/ndir.h that defines DIR... (cached) no
checking for sys/dir.h that defines DIR... (cached) no
checking for ndir.h that defines DIR... (cached) no
checking for opendir in -lx... (cached) no


checking for errno.h... (cached) no

Typing 'make all', the error messages:

Making all in lib...
make[1]: Entering directory `/usr/local/squid/squid-2.0.RELEASE/lib'
gcc -g -O2 -Wall -I../include -I../include -c util.c -o util.o
util.c: In function `xstrerror':
util.c:591: `errno' undeclared (first use this function)
util.c:591: (Each undeclared identifier is reported only once
util.c:591: for each function it appears in.)
make[1]: *** [util.o] Error 1
make[1]: Leaving directory `/usr/local/squid/squid-2.0.RELEASE/lib'
make: *** [all] Error 1

What could be the problem?
Btw, I've successfully compiled Squid v2.0 in Redhat 5.0.

Received on Tue Oct 13 1998 - 04:01:17 MDT

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