Gmane
From: Yura Pakhuchiy <pakhuchiy@...>
Subject: Re: cannot compile hello.c
Newsgroups: gmane.comp.file-systems.fuse.devel
Date: 2005-11-08 21:15:13 GMT (3 years, 33 weeks, 6 days, 18 hours and 33 minutes ago)
On Tue, 2005-11-08 at 16:09 -0500, John Muir wrote:
> Ajit Datar wrote:
> 
> >When I try to compile the example 'hello.c' provided with the fuse, I
> >get the following error.
> >
> >hello.c:86: error: unknown field 'readdir' specified in initializer
> >  
> >
> This means that struct fuse_operations doesn't have readdir. Well, then 
> it's likely you have an old version of the fuse header files installed 
> on your system somewhere since readdir was introduced in 2.3.0 (or so).

Or much more likely you forgot to pass -DFUSE_USE_VERSION=22 option to
gcc.

-- 
Best regards,
        Yura

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php