[CentOS] compiling libarchive

Fri Sep 5 13:22:28 UTC 2008
Mag Gam <magawake at gmail.com>

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