bug-gnu-libiconv
[Top][All Lists]
Advanced

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

Re: [bug-gnu-libiconv] Trouble compiling on HPE NonStop TNS/E Platform


From: Bruno Haible
Subject: Re: [bug-gnu-libiconv] Trouble compiling on HPE NonStop TNS/E Platform
Date: Wed, 03 Jun 2020 02:42:09 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-177-generic; KDE/5.18.0; x86_64; ; )

Hi,

Randall S. Becker wrote:
> I am experiencing difficulty compiling libiconv and iconv on the HPE NonStop
> TNS/E Platform. This is Itanium POSIX big endian. The issue is at link time
> resolving rpl methods. The compiler is standard c89, linker is an extension
> to fairly standard ld. I cannot find rpl methods compiled into any objects.
> 
> **** ERROR **** [1210]:
>    iconv_no_i18n.o: In function `error':
>    iconv_no_i18n.o(.text._151154320+0x112): unresolved reference to 
>    rpl_fprintf.
> **** ERROR **** [1210]:
>    iconv_no_i18n.o(.text._151154320+0x162): unresolved reference to 
>    rpl_vfprintf.
> **** ERROR **** [1210]:
>    iconv_no_i18n.o(.text._151154320+0x1e2): unresolved reference to
> rpl_fputc.
> **** ERROR **** [1210]:
>    iconv_no_i18n.o: In function `usage':
>    iconv_no_i18n.o(.text._151173792+0x192): unresolved reference to
> rpl_printf.
> **** ERROR **** [1210]:
>    iconv_no_i18n.o(.text._151173792+0x562): unresolved reference to
> rpl_fputs.
> **** ERROR **** [1210]:
>    iconv_no_i18n.o: In function `subst_mb_to_mb_fallback':
>    iconv_no_i18n.o(.text._151351560+0x302): unresolved reference to
> rpl_fwrite.

The -I options that you are passing to the compiler apparently contain
a directory that contains a gnulib-generated stdio.h file with replacements
for the functions fputc, fputs, fwrite, fprintf, etc.

GNU libiconv is meant to be built with the gnulib modules in srclib.

If you want to add additional gnulib modules, you not only need to
pass the extra -I options (that you have added) but also -L options
(that you have not added, obviously).

Bruno




reply via email to

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