Grokbase
Topics Posts Groups | in
x
[ help ]

compiling libarchive

View TopicPrint | Flat  Thread  Threaded
1) Mag Gam Has anyone been able to compile libarchive and archivemount? I want to use this with fuse. The...
| +1 vote (Anchor)
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
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
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
2) Ralph Angenendt e2fsprogs-devel is missing on your machine. Ralph Version: GnuPG v1.4.5 (GNU/Linux)...
| +1 vote (Anchor)
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFIwPc+jB6yu/0L7eURAuHvAJ9VYjzB9IhHhgMT9skC+qzWdjgltgCgn0k4
xLu1sgAbBe80eMKUezZorAc=
=H/nl
-----END PGP SIGNATURE-----

_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
3) Mag Gam Thanks Ralph. Got libarchive compiled fine, now trying to compile archivemount I keep getting this...
| +1 vote (Anchor)
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
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
> [email protected: C...@centos.org]
> http://lists.centos.org/mailman/listinfo/centos
>
>
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
spacer
View TopicPrint | Flat  Thread  Threaded
Home > Groups > CentOS > compiling libarchive (3 posts)