Subject: Re: Re: "fs.c:80: error: storage size of 's' isn't known"
To: Juan RP <juan@xtrarom.org>
From: Joel CARNAT <joel@carnat.net>
List: pkgsrc-users
Date: 09/07/2006 23:47:11
--TB36FDmn/VVEgNH/
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Sep 07 2006 - 22:58, Juan RP wrote:
> > fs.c: In function 'update_fs_stat':
> > fs.c:80: error: storage size of 's' isn't known
> > fs.c:81: warning: implicit declaration of function 'statfs'
> > fs.c:80: warning: unused variable 's'
>=20
> You did not specify what NetBSD version you are using... but
> probably it's >=3D3.0 which uses statvfs.
>=20

yes: 4.0_BETA (with POWERNOW-K8 ;)

> The problem is what s is defined as "struct statfs s" and looks
> like you'll need it as "struct statvfs s".

thank you - this compiles.
now there are other errors but I noticed sysutils/torsmo which is
supposed to be conky's father. So I will probably find patches there.


--TB36FDmn/VVEgNH/
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)

iD8DBQFFAJNf0/VH7L7F7Y4RAotyAJ9lqLD21G7J03MLs7/dagwlyDRWwQCfWHgU
2HKkRDmIRFPEZo+r7eVb930=
=RgNO
-----END PGP SIGNATURE-----

--TB36FDmn/VVEgNH/--