[AVFS] avfs-fuse compilation bug with amd64

Peter <[email protected]> Sat, 20 May 2006 17:01:02 -0400
Newsgroups gmane.comp.file-systems.avfs.user
Message-ID <[email protected]>
Hi Ralf, this bug, 

http://bugs.gentoo.org/show_bug.cgi?id=133868

was filed from a Gentoo AMD64 user who noticed a compile time error.

Making all in fuse
make[1]: Entering directory
`/small/tmp/portage/avfs-0.9.7_p20060517/work/avfs/fuse'
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include   -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -I../include -march=k8 -O2 -pipe -frename-registers 
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -march=k8 -O2 -pipe -frename-registers
-MT avfsd.o -MD -MP -MF ".deps/avfsd.Tpo" -c -o avfsd.o avfsd.c; \
        then mv -f ".deps/avfsd.Tpo" ".deps/avfsd.Po"; else rm -f
".deps/avfsd.Tpo"; exit 1; fi
In file included from /usr/include/fuse/fuse.h:23,
                 from /usr/include/fuse.h:9,
                 from avfsd.c:10:
/usr/include/fuse/fuse_common.h:30:2: error: #error Please add
-D_FILE_OFFSET_BITS=64 to your compile flags!
make[1]: *** [avfsd.o] Error 1
make[1]: Leaving directory
`/small/tmp/portage/avfs-0.9.7_p20060517/work/avfs/fuse'
make: *** [all-recursive] Error 1

During my tests on x86, I did not notice this error. When he added
-D_FILE_OFFSET_BITS=64 manually, everything compiled OK.

Any thoughts? I can't reproduce the error due to architecture. 

-- 
Do not reply to this email address. It is a spam trap and not monitored.
If you wish to contact me, please use pete4abw at comcast dot net.




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642