[erlang-questions] otp_R11-B5 for mips
Sergio Rodríguez Ezquerra
sergio.rodriguez@REDACTED
Mon Mar 31 10:22:02 CEST 2008
Hello,
i'm trying compile otp_src_R11-B5 for mips architecture. I'm following
the steps below:
1- Set up environment variables (toolchain variables with source command).
2- ./configure --host=mipsel-linux
--prefix=/var/local/mips/otp_src_R11-B5
LDFLAGS="-L/var/local/mips/ncurses/lib"
CFLAGS="-I/var/local/mips/ncurses/include" --disable-hipe
3- make TARGET=mipsel-unknown-linux-gnu
After running several times 'make TARGET=mipsel-unknown-linux-gnu'
command, i getting the following error:
mipsel-linux-gcc -I/var/local/mips/ncurses/include
-I/var/local/sources/otp_src_R11B-5/erts/mipsel-unknown-linux-gnu
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DUSE_THREADS
-D_THREAD_SAFE -D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS -DHYBRID
-DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wmissing-prototypes
-DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT
-D_POSIX_THREAD_SAFE_FUNCTIONS -Ibeam -Isys/unix -Isys/common
-Imipsel-unknown-linux-gnu/opt/hybrid -Imipsel-unknown-linux-gnu -Izlib
-Ihipe -I../include/internal
-I../include/internal/mipsel-unknown-linux-gnu -c beam/beam_emu.c -o
obj/mipsel-unknown-linux-gnu/opt/hybrid/beam_emu.o
beam/beam_emu.c: In function 'process_main':
beam/beam_emu.c:1323: error: label 'lb_hipe_trap_throw' used but not defined
beam/beam_emu.c:1323: error: label 'lb_hipe_trap_return' used but not
defined
beam/beam_emu.c:1323: error: label 'lb_hipe_trap_resume' used but not
defined
beam/beam_emu.c:1323: error: label 'lb_hipe_trap_reschedule' used but
not defined
beam/beam_emu.c:1323: error: label 'lb_hipe_trap_call_closure' used but
not defined
beam/beam_emu.c:1323: error: label 'lb_hipe_trap_call' used but not defined
beam/beam_emu.c:1323: error: label 'lb_hipe_call_count' used but not defined
make[3]: *** [obj/mipsel-unknown-linux-gnu/opt/hybrid/beam_emu.o] Error 1
make[3]: se sale del directorio
`/var/local/sources/otp_src_R11B-5/erts/emulator'
make[2]: *** [opt] Error 2
make[2]: se sale del directorio
`/var/local/sources/otp_src_R11B-5/erts/emulator'
make[1]: *** [hybrid] Error 2
make[1]: se sale del directorio `/var/local/sources/otp_src_R11B-5/erts'
make: *** [emulator] Error 2
My toolchain use gcc 4.0.4.
Can anyone help me?
Thanks.
More information about the erlang-questions
mailing list