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

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

Re: [bug-gnu-libiconv] Unable to compile libiconv-1.9 - libiconv-1.13.1


From: Bruno Haible
Subject: Re: [bug-gnu-libiconv] Unable to compile libiconv-1.9 - libiconv-1.13.1
Date: Sun, 7 Feb 2010 15:04:30 +0100
User-agent: KMail/1.9.9

Gene Matusovsky wrote:
> I ran a nm command against libcrt.a . However, I can't understand this output.
> ...
> libicrt.a[]:
> 
> libicrt.a[]: [Index]   Value      Size    Type  Bind  Other Shndx   Name
> 
> libicrt.a[]: [13]       |         0|      17|OBJT |GLOB |0    |6      
> |$XB5MI_KsPRYLkue.set_program_name.__func__
> libicrt.a[]: [14]       |         0|       4|OBJT |GLOB |0    |4      
> |program_name
> libicrt.a[]: [12]       |        16|     224|FUNC |GLOB |0    |2      
> |set_program_name
> libicrt.a[]: [10]       |         0|       0|FUNC |GLOB |0    |UNDEF  |strncmp
> libicrt.a[]: [11]       |         0|       0|FUNC |GLOB |0    |UNDEF  |strrchr

This indicates that libicrt.a indeed contains a .o file that defines
'set_program_name' as a function.

So it's definitely your 'ranlib' program which is not operating correctly
on the object files produced by your compiler.

You can try to set the RANLIB environment variable and reconfigure, so as
to use another 'ranlib' program. Or set the CC environment variable and
reconfigure, so as to use another compiler. Or both.

Bruno




reply via email to

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