[OpenIndiana-discuss] Linker problem

Paul Johnston Paul.A.Johnston at manchester.ac.uk
Thu Nov 4 18:14:52 UTC 2010


  On 11/ 4/10 02:41 PM, Jonathan Adams wrote:
> downloaded http://www.erlang.org/download/otp_src_R14B_erts-5.8.1.1.tar.gz
>
> gtar zxvf otp_src_R14B_erts-5.8.1.1.tar.gz
> cd otp_src_R14B
>
> ./configure --prefix=/opt/tools (I like /opt/tools)
>
> ...
>
> *********************************************************************
> **********************  APPLICATIONS DISABLED  **********************
> *********************************************************************
>
> odbc           : ODBC library - link check failed
>
> *********************************************************************
> *********************************************************************
> **********************  APPLICATIONS INFORMATION  *******************
> *********************************************************************
>
> wx             : wxWidgets not found, wx will NOT be usable
>
> *********************************************************************
> *********************************************************************
> **********************  DOCUMENTATION INFORMATION  ******************
> *********************************************************************
>
> documentation  :
>                   fop is missing.
>                   Using fakefop to generate placeholder PDF files.
>
> *********************************************************************
>
> vi erts/emulator/drivers/common/inet_drv.c (line 4133)
>
> //#ifdef SIOCGIFHWADDR
> //          if (ioctl(desc->s, SIOCGIFHWADDR, (char *)&ifreq)<  0)
> //              break;
> //          buf_check(sptr, s_end, 1+IFHWADDRLEN);
> //          *sptr++ = INET_IFOPT_HWADDR;
> //          /* raw memcpy (fix include autoconf later) */
> //          sys_memcpy(sptr, (char*)(&ifreq.ifr_hwaddr.sa_data), IFHWADDRLEN);
> //          sptr += IFHWADDRLEN;
> //#elif defined(HAVE_GETIFADDRS)
> #ifdef HAVE_GETIFADDRS
>
>
> gmake (and wait a long time)
> pfexec gmake install
>
> ldd /opt/tools/lib/erlang/bin/run_erl
> 	libdl.so.1 =>	/lib/libdl.so.1
> 	libm.so.2 =>	/lib/libm.so.2
> 	libsocket.so.1 =>	/lib/libsocket.so.1
> 	libnsl.so.1 =>	/lib/libnsl.so.1
> 	libc.so.1 =>	/lib/libc.so.1
> 	libmp.so.2 =>	/lib/libmp.so.2
> 	libmd.so.1 =>	/lib/libmd.so.1
>
> looks good.
>
> Erlang R14B (erts-5.8.1.1) [source] [smp:2:2] [rq:2] [async-threads:0]
> [hipe] [kernel-poll:false]
>
> Eshell V5.8.1.1  (abort with ^G)
> 1>  now what do I do?
> 1>
> BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
>         (v)ersion (k)ill (D)b-tables (d)istribution
> ^C$
>
>
> On 4 November 2010 13:52, Paul Johnston
> <paul.a.johnston at manchester.ac.uk>  wrote:
>> I'm moving from OpenSolaris to OpenIndiana but am having difficulties
>> building some stuff.
>>
>> I know there is an Erlang package but prefer to build from source which
>> I could do under 134
>>
>>
>>
>> See http://blogs.humanities.manchester.ac.uk/mcasspj/?p=87
>>
>>
>>
>> However with OpenIndiana I get
>>
>>
>>
>> ld:built in linker script:20: syntax error
>>
>>
>>
>> See http://blogs.humanities.manchester.ac.uk/mcasspj/?p=156
>>
>>
>>
>> Now trying to build SpiderMonkey so I can get crouchdb I get guess what?
>>
>>
>>
>> ld:built in linker script:20: syntax error
>>
>>
>>
>> I followed the info in below
>>
>> http://wiki.joyent.com/smartmachine:setup-couchdb
>>
>>
>>
>> Any thoughts or do I need a Linux box J
>>
>>
>>
>> Paul
>>
>>
>>
>> Paul Johnston
>>
>> Humanities ICT (Infrastructure)
>>
>> Samuel Alexander Building
>>
>> Room W1.19
>>
>> Tel Internal 63327
>>
>>
>>
>> e-mail Paul.Johnston at manchester.ac.uk
>> <mailto:Paul.Johnston at manchester.ac.uk>
>>
>> web http://servalan.humanities.manchester.ac.uk/users/mcasspj/
>> <http://servalan.humanities.manchester.ac.uk/users/mcasspj/>
>>
>>
>>
>> Tuzoqlar granatalardan yuksak darajali portlovchi moddalardan yoki
>> bosshqa narslardan qilingan?
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> OpenIndiana-discuss mailing list
>> OpenIndiana-discuss at openindiana.org
>> http://openindiana.org/mailman/listinfo/openindiana-discuss
>>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
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
> make[3]: *** [../priv/lib/i386-pc-solaris2.11/asn1_erl_drv.so] Error 1
> make[3]: Leaving directory 
> `/home/paulj/Downloads/otp_src_R14B/lib/asn1/c_src'
> make[2]: *** [opt] Error 2
> make[2]: Leaving directory `/home/paulj/Downloads/otp_src_R14B/lib/asn1'
> make[1]: *** [opt] Error 2
> make[1]: Leaving directory `/home/paulj/Downloads/otp_src_R14B/lib'
> gmake: *** [libs] Error 2





More information about the OpenIndiana-discuss mailing list