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 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20080905/5673be31/attachment-0002.sig>
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 at 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 at centos.org > http://lists.centos.org/mailman/listinfo/centos > >