Re: compiling libarchive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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'

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux