Subject: | Build failure on Dapper Drake |
Hello,
I just downloaded this module and tryed building it according to the
instructions on Ubuntu Dapper Drake (perl v5.8.7), and ran into some
confusing build errors. A log is below.
xavid@barsgiora:/tmp/Fuse-0.07$ perl Makefile.PL
fuse version found:
Checking if your kit is complete...
Looks good
Writing Makefile for Fuse
xavid@barsgiora:/tmp/Fuse-0.07$ make
cp Fuse.pm blib/lib/Fuse.pm
AutoSplitting blib/lib/Fuse.pm (blib/lib/auto/Fuse)
/usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp -typemap
/usr/share/perl/5.8/ExtUtils/typemap Fuse.xs > Fuse.xsc && mv Fuse.xsc
Fuse.c
cc -c -DFUSE_USE_VERSION=25 -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse
-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.07\" -DXS_VERSION=\"0.07\"
-fPIC "-I/usr/lib/perl/5.8/CORE" -Wall -g -ggdb Fuse.c
Fuse.xs:507: warning: struct statvfs declared inside parameter list
Fuse.xs:507: warning: its scope is only this definition or declaration,
which is probably not what you want
Fuse.xs: In function _PLfuse_statfs:
Fuse.xs:519: error: dereferencing pointer to incomplete type
Fuse.xs:520: error: dereferencing pointer to incomplete type
Fuse.xs:521: error: dereferencing pointer to incomplete type
Fuse.xs:522: error: dereferencing pointer to incomplete type
Fuse.xs:523: error: dereferencing pointer to incomplete type
Fuse.xs:524: error: dereferencing pointer to incomplete type
Fuse.xs:526: error: dereferencing pointer to incomplete type
Fuse.xs:527: error: dereferencing pointer to incomplete type
Fuse.xs:528: error: dereferencing pointer to incomplete type
Fuse.xs:529: error: dereferencing pointer to incomplete type
Fuse.xs:529: error: dereferencing pointer to incomplete type
Fuse.xs:530: error: dereferencing pointer to incomplete type
Fuse.xs:530: error: dereferencing pointer to incomplete type
Fuse.xs: At top level:
Fuse.xs:803: warning: initialization from incompatible pointer type
Fuse.xs: In function XS_Fuse_perl_fuse_main:
Fuse.xs:825: error: variable margs has initializer but incomplete type
Fuse.xs:825: warning: implicit declaration of function FUSE_ARGS_INIT
Fuse.xs:825: error: storage size of margs isnt known
Fuse.xs:826: error: variable fargs has initializer but incomplete type
Fuse.xs:826: error: storage size of fargs isnt known
Fuse.xs:872: warning: implicit declaration of function
fuse_opt_add_arg
Fuse.xs:875: warning: implicit declaration of function
fuse_opt_free_args
Fuse.xs:826: warning: unused variable fargs
Fuse.xs:825: warning: unused variable margs
make: *** [Fuse.o] Error 1