Subject: Re: fad error: statfs/statvfs error?
To: Hisashi T Fujinaka <htodd@twofifty.com>
From: Adam <adam@albedo.art.pl>
List: tech-pkg
Date: 04/28/2004 07:43:39
> 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'
Hisashi,
I guess you are using the lastest NetBSD-current.
There is some 'magic' going on with 'struct statfs'. :)
Kind regards,
Adam