Hi,
After adding the line, re-compiled and make install, the following error
encountered:
if gcc -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/export/home/squid/etc/squid.conf\" -I. -I.
-I../include -I. -I. -I../include -I../include -Wall -g -O2 -MT
store_dir.o -MD -MP -MF ".deps/store_dir.Tpo" -c -o store_dir.o store_dir.c;
\
then mv -f ".deps/store_dir.Tpo" ".deps/store_dir.Po"; else rm -f
".deps/store_dir.Tpo"; exit 1; fi
store_dir.c: In function `storeDirGetBlkSize':
store_dir.c:529: error: too few arguments to function `statfs'
store_dir.c: In function `storeDirGetUFSStats':
store_dir.c:568: error: too few arguments to function `statfs'
*** Error code 1
make: Fatal error: Command failed for target `store_dir.o'
Current working directory /export/home/squid-2.6.STABLE12/src
*** Error code 1
make: Fatal error: Command failed for target `install-recursive'
Current working directory /export/home/squid-2.6.STABLE12/src
*** Error code 1
make: Fatal error: Command failed for target `install'
Current working directory /export/home/squid-2.6.STABLE12/src
*** Error code 1
make: Fatal error: Command failed for target `install-recursive'
Kindly advise how can the above error be resolved.
Thank you.
>From: Henrik Nordstrom <henrik@henriknordstrom.net>
>To: squid squid <squidusr@hotmail.com>
>CC: squid-users@squid-cache.org
>Subject: Re: [squid-users] Make install error
>Date: Mon, 30 Apr 2007 10:35:37 +0200
>
>mån 2007-04-30 klockan 12:22 +0800 skrev squid squid:
> > Hi,
> >
> > I encountered error at make install and the error as follows:
> >
> > then mv -f ".deps/store_dir.Tpo" ".deps/store_dir.Po"; else rm -f
> > ".deps/store_dir.Tpo"; exit 1; fi
> > store_dir.c: In function `storeDirGetBlkSize':
> > store_dir.c:526: error: storage size of `sfs' isn't known
> > store_dir.c:527: warning: implicit declaration of function `statfs'
>
>Does it work if you add the following line in src/store_dir.c
>
>#include <sys/statfs.h>
>
>around line 47 or so, just after the other includes and before the
>declaration of storeDirValidSwapDirSize
>
>Regards
>Henrik
><< signature.asc >>
_________________________________________________________________
Call friends with PC-to-PC calling – FREE
http://get.live.com/messenger/overview
Received on Mon Apr 30 2007 - 03:15:55 MDT
This archive was generated by hypermail pre-2.1.9 : Tue May 01 2007 - 12:00:01 MDT