pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: "fs.c:80: error: storage size of 's' isn't known"



On Thu, 7 Sep 2006 22:55:24 +0200
Joel CARNAT <joel%carnat.net@localhost> wrote:

> Hi,
> 
> I'm trying to get "comky" to work under NetBSD.
> During compilation, the following error occurs:
> ########################################################################
> 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'

You did not specify what NetBSD version you are using... but
probably it's >=3.0 which uses statvfs.

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



Home | Main Index | Thread Index | Old Index