On 10/13/13 04:00, Gabor Z. Papp wrote:
> lo lo,
>
> trying to link tar 1.27 with static libacl 2.2.51:
>
> Making all in src
> make[2]: Entering directory '/home/gzp/src/tar-1.27/src'
> gcc -std=gnu99   -g -O2   -o tar buffer.o checkpoint.o compare.o create.o 
> delete.o exit.o extract.o xheader.o incremen.o list.o misc.o names.o sparse.o 
> suffix.o system.o tar.o transform.o unlink.o update.o utf8.o warning.o 
> xattrs.o -lacl  ../lib/libtar.a ../gnu/libgnu.a   -lrt   -lacl 
> ../gnu/libgnu.a(quotearg.o): In function `quote':
> /home/gzp/src/tar-1.27/gnu/quotearg.c:968: multiple definition of `quote'
> /pkg/lib/gcc/i686-pc-linux-gnu/4.7.3/../../../libacl.a(quote.o):/home/gzp/src/acl-2.2.51/libmisc/quote.c:26:
>  first defined here
> collect2: error: ld returned 1 exit status
> Makefile:1256: recipe for target 'tar' failed
> make[2]: *** [tar] Error 1
>

Surely this is a bug in libacl.a, not in GNU tar.
The ACL library should not be defining 'quote'.

Reply via email to