On Sat, 14 Jun 2008, Andreas Hirczy wrote:

> "Robert Newson" <[EMAIL PROTECTED]> writes:
> 
> > add -D_LINUX_TYPES_H to CPPFLAGS src/Makefile
> >
> > I encountered this when building on Etch, most ceph developers are
> > building on Lenny.
> 
> Thanks, now I get some different error (branch: master)

This was due to a change in the fuse API.  I vaguely remember not being 
able to make it compile cleanly with the new and old APIs, but I didn't 
try especially hard.  Which version of fuse is installed?

sage


> 
> -----------------------------
> if g++ -DHAVE_CONFIG_H -I. -I. -I.   -g -D_LINUX_TYPES_H -Wall 
> -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -g -D_LINUX_TYPES_H -MT 
> fuse.o -MD -MP -MF ".deps/fuse.Tpo" -c -o fuse.o `test -f 'client/fuse.cc' || 
> echo './'`client/fuse.cc; \
>         then mv -f ".deps/fuse.Tpo" ".deps/fuse.Po"; else rm -f 
> ".deps/fuse.Tpo"; exit 1; fi
> client/fuse.cc:304:60: error: macro "fuse_main" passed 4 arguments, but takes 
> just 3
> client/fuse.cc: In function 'int ceph_fuse_main(Client*, int, const char**)':
> client/fuse.cc:304: error: 'fuse_main' was not declared in this scope
> client/fuse.cc: At global scope:
> client/fuse.cc:229: warning: 'ceph_oper' defined but not used
> make[2]: *** [fuse.o] Error 1
> make[2]: Leaving directory `/var/tmp/ceph/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/var/tmp/ceph/src'
> make: *** [all-recursive] Error 1
> -----------------------------
> 
> Maybe I'll have to backport a newer fuse?  I think I'll better try this at
> home first, have got Debian Sid there. :)
> 
> Andreas
> -- 
> Andreas Hirczy <[EMAIL PROTECTED]>                   
> http://itp.tugraz.at/~ahi/
> Graz University of Technology                        phone: +43/316/873-   
> 8190
> Institute of Theoretical and Computational Physics     fax: +43/316/873-10 
> 8190
> Petersgasse 16, A-8010 Graz                         mobile: +43/664/859 23 57
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Ceph-devel mailing list
> Ceph-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ceph-devel
> 
> 

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Ceph-devel mailing list
Ceph-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ceph-devel

Reply via email to