[squid-users] Problem compiling squid 2.5stable1

From: Victor Tsang <victor@dont-contact.us>
Date: Thu, 07 Nov 2002 18:30:23 +0800

While I test compiling squid 2.5 stable1 in one of our older redhat box,
I encounter the following error.

gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I../../include
-I../../include -I../../src/ -g -O2 -Wall -c -o ufs/store_dir_ufs.o
`test -f ufs/store_dir_ufs.c || echo './'`ufs/store_dir_ufs.c
ufs/store_dir_ufs.c: In function `storeUfsDirGetNextFile':
ufs/store_dir_ufs.c:727: `ENOENT' undeclared (first use in this
function)
ufs/store_dir_ufs.c:727: (Each undeclared identifier is reported only
once
ufs/store_dir_ufs.c:727: for each function it appears in.)
ufs/store_dir_ufs.c: In function `storeUfsDirClean':
ufs/store_dir_ufs.c:1172: `ENOENT' undeclared (first use in this
function)
make[4]: *** [ufs/store_dir_ufs.o] Error 1
make[4]: Leaving directory
`/usr/local/src/temp/squid-2.5.STABLE1-20021107/src/fs'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/local/src/temp/squid-2.5.STABLE1-20021107/src/fs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/usr/local/src/temp/squid-2.5.STABLE1-20021107/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/usr/local/src/temp/squid-2.5.STABLE1-20021107/src'
make: *** [all-recursive] Error 1

- This is Redhat 6.2 box running 2.4.18 kernel

- I didn't switch on any option at configure (ie. I did a configure and
then make)

- I have tried this with the package squid-2.5.STABLE1.tar.gz and
squid-2.5.STABLE1-20021107.tar.gz, both end up with the same errror

- Tried the same setup in a Redhat 7.2 box and everything works just
fine.

Anyone have idea if there's a fix to this problem without upgrading the
box?

Many thanks.

Victor
Received on Thu Nov 07 2002 - 03:31:43 MST

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