Hope this helps, EZ
On Wednesday, March 20, 2002, at 02:42 PM, John R. Jackson wrote: >> Compiling amanda-2.4.2 (client only) on Irix 6.5.x, with gcc 3.0.3 and >> gmake 3.78.1 (although behavior is the same under Irix's make): >> ... >> statfs.c:138: too few arguments to function `statfs' >> statfs.c:144: structure has no member named `f_bavail' > > The first thing we have to figure out is how the "maze of twisty > passages" > (see the code :-) got set up. > > What does "grep STATFS config/config.h" report? #define HAVE_STATFS 1 #define HAVE_SYS_STATFS_H 1 > To make testing a bit easier, you can "cd common-src" and "make statfs" > (it's a little test program built around statfs.c). #-/amanda_src/amanda-2.4.2/common-src: gmake statfs echo '#define TEST' >statfs.test.c echo '#include "statfs.c"' >>statfs.test.c /usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src -g -O2 -c statfs.test.c In file included from statfs.test.c:2: statfs.c: In function `get_fs_stats': statfs.c:138: too few arguments to function `statfs' statfs.c:144: structure has no member named `f_bavail' statfs.c:144: structure has no member named `f_bavail' gmake: *** [statfs.test.o] Error 1 > That won't fix the > problem, but it will build just the statfs stuff and not do a whole lot > of other things. > >> Eric Zylstra > > John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED] >
