[OpenIndiana-discuss] Linker problem

Paul Johnston Paul.A.Johnston at manchester.ac.uk
Thu Nov 4 18:31:19 UTC 2010


  On 11/ 4/10 07:24 PM, Chris Ridd wrote:
> 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
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss

Your right it's

paulj at openindiana:~/Downloads/otp_src_R14B$ which ld
/usr/gnu/bin/ld

Err what next, do I need the "Sun CC"?
Long time since I did a very small amount of C programming!

Paul




More information about the OpenIndiana-discuss mailing list