[erlang-questions] Solaris 10 build issues - R11B-4
Rudolph van Graan
rvg@REDACTED
Mon May 21 18:54:41 CEST 2007
Hey,
We had to put the gnu gcc in /usr/sfw/bin at the front of the path to
get past this error.
Rudolph van Graan
Software Architect
Pattern Matched Technologies
E-Mail: rvg@REDACTED
Tel: 086 1000 700 (SA Only)
Mobile: +27 83 390 7767
Fax: +27 12 665 9566
Web: www.patternmatched.com
On May 21, 2007, at 6:21 PM, Brad Anderson wrote:
> Hi all,
>
> I'm trying to get OTP R11B-4 to compile on Solaris 10 (x86,
> 32bit). I've
> placed the needed packages on the system so far:
> gcc 3.4.6
> openssl-0.9.8e
> make-3.81
> and their dependencies...
>
> Also, I received an 'ar' error in ./configure, so I added Solaris
> binutils to
> the path.
>
> Any insight would be appreciated.
>
> Cheers,
> Brad
>
>
> Here's what I'm getting:
>
> gcc -g -O2
> -I/export/home/root/installs/erlang/otp_src_R11B-4/erts/i386-pc-
> solaris2.10
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_THREADS -
> D_THREAD_SAFE
> -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DHYBRID -DHAVE_CONFIG_H -Wall
> -Wstrict-prototypes -Wmissing-prototypes -DUSE_THREADS -D_THREAD_SAFE
> -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Ibeam -Isys/unix -Isys/
> common
> -Ii386-pc-solaris2.10/opt/hybrid -Ii386-pc-solaris2.10 -Izlib -Ihipe
> -I../include/internal -I../include/internal/i386-pc-solaris2.10 -c
> hipe/hipe_x86_glue.S -o obj/i386-pc-solaris2.10/opt/hybrid/
> hipe_x86_glue.o
> Assembler:
> "/var/tmp//ccdhWGox.s", line 1 : Syntax error
> Near line: " .section ".text""
> "/var/tmp//ccdhWGox.s", line 8 : Illegal mnemonic
> Near line: " .global x86_call_to_native"
> "/var/tmp//ccdhWGox.s", line 8 : Syntax error
> Near line: " .global x86_call_to_native"
> "/var/tmp//ccdhWGox.s", line 8 : Illegal mnemonic
> Near line: " .global x86_call_to_native"
> "/var/tmp//ccdhWGox.s", line 9 : Illegal mnemonic
> Near line: " .global nbif_return"
> "/var/tmp//ccdhWGox.s", line 9 : Syntax error
> Near line: " .global nbif_return"
> "/var/tmp//ccdhWGox.s", line 9 : Illegal mnemonic
> Near line: " .global nbif_return"
> "/var/tmp//ccdhWGox.s", line 23 : Syntax error
> Near line: " movl %eax, 80(%ebp) # save retval"
> "/var/tmp//ccdhWGox.s", line 35 : Syntax error
> Near line: " movl 32(%esp), %esi # kills HP, if HP_IN_ESI is
> true"
> "/var/tmp//ccdhWGox.s", line 37 : Syntax error
> Near line: " movl 40(%esp), %ebp # kills %ebp"
> "/var/tmp//ccdhWGox.s", line 41 : Illegal mnemonic
> Near line: " .global nbif_callemu"
> "/var/tmp//ccdhWGox.s", line 41 : Syntax error
> Near line: " .global nbif_callemu"
> "/var/tmp//ccdhWGox.s", line 41 : Illegal mnemonic
> Near line: " .global nbif_callemu"
> "/var/tmp//ccdhWGox.s", line 51 : Illegal mnemonic
> Near line: " .global nbif_apply"
> "/var/tmp//ccdhWGox.s", line 51 : Syntax error
> Near line: " .global nbif_apply"
> "/var/tmp//ccdhWGox.s", line 51 : Illegal mnemonic
> Near line: " .global nbif_apply"
> "/var/tmp//ccdhWGox.s", line 57 : Illegal mnemonic
> Near line: " .global nbif_ccallemu3"
> "/var/tmp//ccdhWGox.s", line 57 : Syntax error
> Near line: " .global nbif_ccallemu3"
> "/var/tmp//ccdhWGox.s", line 57 : Illegal mnemonic
> Near line: " .global nbif_ccallemu3"
> "/var/tmp//ccdhWGox.s", line 70 : Illegal mnemonic
> Near line: " .global nbif_ccallemu2"
> "/var/tmp//ccdhWGox.s", line 70 : Syntax error
> Near line: " .global nbif_ccallemu2"
> "/var/tmp//ccdhWGox.s", line 70 : Illegal mnemonic
> Near line: " .global nbif_ccallemu2"
> "/var/tmp//ccdhWGox.s", line 83 : Illegal mnemonic
> Near line: " .global nbif_ccallemu1"
> "/var/tmp//ccdhWGox.s", line 83 : Syntax error
> Near line: " .global nbif_ccallemu1"
> "/var/tmp//ccdhWGox.s", line 83 : Illegal mnemonic
> Near line: " .global nbif_ccallemu1"
> "/var/tmp//ccdhWGox.s", line 95 : Illegal mnemonic
> Near line: " .global nbif_ccallemu0"
> "/var/tmp//ccdhWGox.s", line 95 : Syntax error
> Near line: " .global nbif_ccallemu0"
> "/var/tmp//ccdhWGox.s", line 95 : Illegal mnemonic
> Near line: " .global nbif_ccallemu0"
> "/var/tmp//ccdhWGox.s", line 110 : Illegal mnemonic
> Near line: " .global nbif_suspend_0"
> "/var/tmp//ccdhWGox.s", line 110 : Syntax error
> Near line: " .global nbif_suspend_0"
> "/var/tmp//ccdhWGox.s", line 110 : Illegal mnemonic
> Near line: " .global nbif_suspend_0"
> Too many errors - Goodbye
> make[3]: *** [obj/i386-pc-solaris2.10/opt/hybrid/hipe_x86_glue.o]
> Error 1
> make[3]: Leaving directory
> `/export/home/root/installs/erlang/otp_src_R11B-4/erts/emulator'
> make[2]: *** [opt] Error 2
> make[2]: Leaving directory
> `/export/home/root/installs/erlang/otp_src_R11B-4/erts/emulator'
> make[1]: *** [hybrid] Error 2
> make[1]: Leaving directory `/export/home/root/installs/erlang/
> otp_src_R11B-4/erts'
> make: *** [emulator] Error 2
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
More information about the erlang-questions
mailing list