Problem building 1.4.5

Mike Frysinger vapier.adi at gmail.com
Thu Jun 17 00:18:47 CEST 2010


On Wed, Jun 16, 2010 at 18:13, Robin Getz wrote:
> On Wed 16 Jun 2010 05:23, Werner Koch pondered:
>> If this is the case something is wrong with the linker for the system,
>> disable this feature using
>>
>>   ./configure --disable-ld-version-script
>>
>> and try building again.
>
> That fixes things - but can you describe what you mean when you say
> "something wrong with the linker"?

the version script operates on linker-visible symbols, not on C
visible symbols, so the linker is operating correctly.  this is why
projects like alsa-lib have the version script be a .in file and it
prefixes all symbols with like @SYMBOL_PREFIX at .  then the configure
script processes that into the final version script with
@SYMBOL_PREFIX@ replaced with "_" or "" depending on the configure
detected needs of the target system.

considering support is apparently already there via
WITH_SYMBOL_UNDERSCORE, seems like it should be pretty easy to extend
this.
-mike



More information about the Gcrypt-devel mailing list