[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnu-libiconv] libiconv-1.12 on Solaris 9 fails: xalloc_die
From: |
Bruno Haible |
Subject: |
Re: [bug-gnu-libiconv] libiconv-1.12 on Solaris 9 fails: xalloc_die |
Date: |
Tue, 31 Mar 2009 00:16:59 +0100 |
User-agent: |
KMail/1.9.9 |
Hi,
Poor Yorick wrote on 2008-04-08 [1]:
> libiconv-1.12 with gcc-4.2.2 on Solaris 9 fails:
>
> gcc -m32 -I/path/to/sparc-32-solaris_nc/bootstrap/include
> -I/path/to/sparc-32-solaris_nc/bootstrap/libiconv-1.12/include
> -I/usr/local/include -g -O2
> -L/path/to/sparc-32-solaris_nc/bootstrap/lib
> -L/path/to/sparc-32-solaris_nc/bootstrap/lib64 -I../srclib -I../srclib
> -I.. -DHAVE_CONFIG_H -DIN_RELOCWRAPPER -DNO_XMALLOC
> -DINSTALLPREFIX="/path/to/sparc-32-solaris_nc/bootstrap/libiconv-1.12"
> -DINSTALLDIR="/path/to/sparc-32-solaris_nc/bootstrap/libiconv-1.12/bin"
> -DLIBPATHVAR="LD_LIBRARY_PATH"
> -DLIBDIRS="/path/to/sparc-32-solaris_nc/bootstrap/libiconv-1.12/lib",
> -DEXEEXT="" ../srclib/relocwrapper.c ../srclib/progname.c
> ../srclib/progreloc.c ../srclib/xreadlink.c ../srclib/areadlink.c
> ../srclib/readlink.c ../srclib/canonicalize-lgpl.c ../srclib/malloca.c
> ../srclib/relocatable.c ../srclib/setenv.c ../srclib/strerror.c
> ../srclib/c-ctype.c -o
> /path/to/sparc-32-solaris_nc/bootstrap/libiconv-1.12/bin/iconv.wrapper
>
> /var/tmp//cc2i8guQ.o: In function `xreadlink':
>
> /path/to/sparc-32-solaris_nc/bootstrap/src/libiconv-1.12/libiconv-1.12/src/../srclib/xreadlink.c:42:
> undefined reference to `xalloc_die'
> collect2: ld returned 1 exit status
> make[1]: *** [install] Error 1
> make[1]: Leaving directory
> `/path/to/sparc-32-solaris_nc/bootstrap/src/libiconv-1.12/libiconv-1.12/src'
> make: *** [install] Error 2
>
> Any ideas on the best way to get past this error?
You can get over it by omitting --enable-relocatable.
This was fixed in gnulib on 2007-12-24. The fix is contained in libiconv 1.13,
which is available at http://ftp.gnu.org/gnu/libiconv/libiconv-1.13.tar.gz .
Thanks for the report.
Bruno
[1] http://lists.gnu.org/archive/html/bug-gnu-libiconv/2008-04/msg00010.html
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [bug-gnu-libiconv] libiconv-1.12 on Solaris 9 fails: xalloc_die,
Bruno Haible <=