Has anyone been able to compile libarchive and archivemount? I want to use this with fuse.
The compile is very tough for libarchive, I keep getting
c -o tar/bsdtar-util.o `test -f 'tar/util.c' || echo './'`tar/util.c mv -f tar/.deps/bsdtar-util.Tpo tar/.deps/bsdtar-util.Po gcc -DHAVE_CONFIG_H -I. -I./libarchive -I./libarchive -g -O2 -MT tar/bsdtar-write.o -MD -MP -MF tar/.deps/bsdtar-write.Tpo -c -o tar/bsdtar-write.o `test -f 'tar/write.c' || echo './'`tar/write.c tar/write.c: In function `write_hierarchy': tar/write.c:730: error: `EXT2_IOC_GETFLAGS' undeclared (first use in this function) tar/write.c:730: error: (Each undeclared identifier is reported only once tar/write.c:730: error: for each function it appears in.) tar/write.c:732: error: `EXT2_NODUMP_FL' undeclared (first use in this function) tar/write.c: In function `write_entry': tar/write.c:915: error: `EXT2_IOC_GETFLAGS' undeclared (first use in this function) make[1]: *** [tar/bsdtar-write.o] Error 1 make[1]: Leaving directory `/var/tmp/archivemount-0.5.3/libarchive-2.5.5' make: *** [all] Error 2
TIA
Mag Gam wrote:
Has anyone been able to compile libarchive and archivemount? I want to use this with fuse.
The compile is very tough for libarchive, I keep getting tar/write.c:730: error: `EXT2_IOC_GETFLAGS' undeclared (first use in this function)
e2fsprogs-devel is missing on your machine.
Ralph
Thanks Ralph.
Got libarchive compiled fine, now trying to compile archivemount I keep getting this error now:
gcc -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -Wall -W -MM archivemount.c > dep gcc -larchive -lfuse -o archivemount archivemount.o archivemount.o(.text+0x1474): In function `save': : undefined reference to `archive_write_set_compression_gzip' archivemount.o(.text+0x147f): In function `save': : undefined reference to `archive_write_set_compression_bzip2' collect2: ld returned 1 exit status make: *** [archivemount] Error 1
On Fri, Sep 5, 2008 at 5:09 AM, Ralph Angenendt ra+centos@br-online.de wrote:
Mag Gam wrote:
Has anyone been able to compile libarchive and archivemount? I want to use this with fuse.
The compile is very tough for libarchive, I keep getting tar/write.c:730: error: `EXT2_IOC_GETFLAGS' undeclared (first use in this function)
e2fsprogs-devel is missing on your machine.
Ralph
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Friday 05 September 2008, Mag Gam wrote:
Got libarchive compiled fine, now trying to compile archivemount I keep getting this error now:
gcc -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -Wall -W -MM archivemount.c > dep gcc -larchive -lfuse -o archivemount archivemount.o
Unless I'm mistaken, order is significant. put "-larchive -lfuse" after "archivemount.o"
/Peter
archivemount.o(.text+0x1474): In function `save': : undefined reference to `archive_write_set_compression_gzip'
I got it to work. Thanks all!
On Fri, Sep 5, 2008 at 10:26 AM, Peter Kjellstrom cap@nsc.liu.se wrote:
On Friday 05 September 2008, Mag Gam wrote:
Got libarchive compiled fine, now trying to compile archivemount I keep getting this error now:
gcc -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -Wall -W -MM archivemount.c > dep gcc -larchive -lfuse -o archivemount archivemount.o
Unless I'm mistaken, order is significant. put "-larchive -lfuse" after "archivemount.o"
/Peter
archivemount.o(.text+0x1474): In function `save': : undefined reference to `archive_write_set_compression_gzip'
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos