[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gettext 0.10.40 build problem of tar-1.13.25 on Yellow Dog GNU/Linux
From: |
Paul Eggert |
Subject: |
gettext 0.10.40 build problem of tar-1.13.25 on Yellow Dog GNU/Linux |
Date: |
Wed, 10 Oct 2001 23:16:21 -0700 (PDT) |
[This might be a problem in tar/m4/gettext.m4, which is taken from
gettext 0.10.40, so I'm forwarding this message to the gettext bug
list. It's also quite possible that it is a bug in the libiconv
installation on his Yellow Dog host. You can get a copy of the
tarball in question at
<ftp://alpha.gnu.org/gnu/tar/tar-1.13.25.tar.gz>.]
------- Start of forwarded message -------
Date: Wed, 10 Oct 2001 09:25:48 -0600 (MDT)
From: "Nelson H. F. Beebe" <address@hidden>
To: address@hidden
Cc: address@hidden
Subject: tar-1.13.25 and Yellow Dog GNU/Linux
A standard build of tar-1.13.25 on Yellow Dog GNU/Linux (on
rhapsody.math.utah.edu [this machine will soon be renamed, since
it no longer runs rhapsody; I'm holding off announcing it to
guest software developers until that change is made, but you can
login now]) gets a failing link:
gcc -g -O2 -o tar buffer.o compare.o create.o delete.o extract.o incremen.o
list.o mangle.o misc.o names.o rtapelib.o tar.o update.o ../lib/libtar.a
../lib/libtar.a -lrt
../lib/libtar.a(unicodeio.o): In function `unicode_to_mb':
/local/build/tar-1.13.25/lib/unicodeio.c:154: undefined reference to
`libiconv_open'
...
The following workaround leads to a build with all tests passing:
make CC="gcc -L /usr/local/lib -Wl,-rpath /usr/local/lib" all check LIBS=-liconv
The configure run says
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft,
char * *outbuf, size_t *outbytesleft);
and src/Makefile has
LIBICONV = -liconv
but without the LIBS=-liconv option, the link fails with
make[2]: Entering directory `/local/build/tar-1.13.25/src'
gcc -L /usr/local/lib -Wl,-rpath /usr/local/lib -g -O2 -o tar buffer.o
compare.o create.o delete.o extract.o incremen.o list.o mangle.o misc.o names.o
rtapelib.o tar.o update.o ../lib/libtar.a ../lib/libtar.a -lrt
../lib/libtar.a(unicodeio.o): In function `unicode_to_mb':
/local/build/tar-1.13.25/lib/unicodeio.c:154: undefined reference to
`libiconv_open'
...
------- End of forwarded message -------
- gettext 0.10.40 build problem of tar-1.13.25 on Yellow Dog GNU/Linux,
Paul Eggert <=