Subject: fad error: statfs/statvfs error?
To: None <tech-pkg@netbsd.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: tech-pkg
Date: 04/27/2004 22:35:52
I don't know much about this struct, but here's the error I see.

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DFAM_CONF=\"/usr/pkg/etc/fam.conf\"  -DNDEBUG  -O2 -c -o mntent_compat.o `test -f 'mntent_compat.c++' || echo './'`mntent_compat.c++
mntent_compat.c++: In function `mntent* statfs_to_mntent(statfs*)':
mntent_compat.c++:143: error: invalid use of undefined type `struct statfs'
mntent_compat.c++:139: error: forward declaration of `struct statfs'
mntent_compat.c++:144: error: invalid use of undefined type `struct statfs'
mntent_compat.c++:139: error: forward declaration of `struct statfs'
mntent_compat.c++:145: error: invalid use of undefined type `struct statfs'
mntent_compat.c++:139: error: forward declaration of `struct statfs'
mntent_compat.c++:146: error: invalid use of undefined type `struct statfs'
mntent_compat.c++:139: error: forward declaration of `struct statfs'
mntent_compat.c++: In function `mntent* getmntent(FILE*)':
mntent_compat.c++:165: error: cannot convert `statfs**' to `statvfs**' for
   argument `1' to `int getmntinfo(statvfs**, int)'
mntent_compat.c++:173: error: invalid use of undefined type `struct statfs'
mntent_compat.c++:139: error: forward declaration of `struct statfs'
gmake[2]: *** [mntent_compat.o] Error 1
gmake[2]: Leaving directory `/disk/0/obj/pkg/sysutils/fam/work.i386/fam-2.7.0/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/disk/0/obj/pkg/sysutils/fam/work.i386/fam-2.7.0'
gmake: *** [all] Error 2
*** Error code 2

Stop.


-- 
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte