[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] tar 1.27 with static libacl
From: |
Joerg Schilling |
Subject: |
Re: [Bug-tar] tar 1.27 with static libacl |
Date: |
Mon, 14 Oct 2013 21:52:44 +0200 |
User-agent: |
nail 11.22 3/20/05 |
"Gabor Z. Papp" <address@hidden> 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
Looks like a linker bug. The official link rules are left to right - take the
first symbol with the requested name.
Jörg
--
EMail:address@hidden (home) Jörg Schilling D-13353 Berlin
address@hidden (uni)
address@hidden (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily