[OpenIndiana-discuss] Linker problem

Chris Ridd chrisridd at mac.com
Thu Nov 4 19:24:24 UTC 2010


On 4 Nov 2010, at 19:22, Chris Ridd wrote:

> 
> On 4 Nov 2010, at 18:14, Paul Johnston wrote:
> 
>> Curious to know what gcc you have as I still get
>>> ld -G -L/home/paulj/Downloads/otp_src_R14B/lib/erl_interface/obj/i386-pc-solaris2.11 -o ../priv/lib/i386-pc-solaris2.11/asn1_erl_drv.so ../priv/obj/i386-pc-solaris2.11/asn1_erl_drv.o -lei  -lc -ldl -lm   -lsocket -lnsl
>>> ld:built in linker script:20: syntax error
>> 
> 
> Can you do "which ld" ? Is erlang really running OI's ld, or just some kind of wrapper script?

As an additional clue, "built in linker script" seems to come from the GNU version of ld, not the Solaris one.

Cheers,

Chris



More information about the OpenIndiana-discuss mailing list