bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] tar 1.27 with static libacl


From: Paul Eggert
Subject: Re: [Bug-tar] tar 1.27 with static libacl
Date: Mon, 14 Oct 2013 11:34:35 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0

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

[Prev in Thread] Current Thread [Next in Thread]