[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fuse-devel
Subject:    Re: [fuse-devel] Newbie: Hello World code doesn't compile
From:       Rafael Ignacio Zurita <rizurita () yahoo ! com>
Date:       2007-01-07 15:39:10
Message-ID: 520015.16190.qm () web60521 ! mail ! yahoo ! com
[Download RAW message or body]

--- Badai Aqrandista <badaiaqrandista@gmail.com>
wrote:
> > I am trying to compile hello.c that comes with
> fuse package from
> > debian (libfuse-dev). But what I got is this:

> > cheepy@cheepy:~/linux/fuse$ gcc
> -D_FILE_OFFSET_BITS=64 hello.c
> > hello.c:86: error: unknown field âreaddirâ
> specified in initializer

Perhaps, you should add 
 #define _FILE_OFFSET_BITS 64
 #define FUSE_USE_VERSION 22
to your hello.c 

After that, try with:
 gcc -lfuse hello.c

It should work i think.

Bye,
Rafael








.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
fuse-devel mailing list
fuse-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuse-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic