First of all, thanks for your reply.
I have just checked both of the directories and there is lots of files
there in both of them.
Tor.
Henrik Nordstrom wrote:
>
> Hmm.. my first guess is that you do not have the required kernel headers
> installed, needed for application development.
>
> Check that you have /usr/include/linux/ and /usr/include/asm/ and that
> there is lots of files in each...
>
> Regards
> Henrik
>
> tor 2002-11-07 klockan 11.30 skrev Victor Tsang:
> > 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 - 19:05:09 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:13 MST