[erlang-questions] Error compiling R11B-1 on Ubuntu

Mikkel Jensen dirtyundies@REDACTED
Tue Sep 19 21:03:33 CEST 2006


Hi there,

When I try to compile the latest release of Erlang/OTP on my Ubuntu Dapper
Drake machine I get the following error:

# make
cd erts/emulator && ERL_TOP=/root/otp_src_R11B-1 make generate depend
make[1]: Entering directory `/root/otp_src_R11B-1/erts/emulator'
make -f i686-pc-linux-gnu/Makefile generate
make[2]: Entering directory `/root/otp_src_R11B-1/erts/emulator'
gcc  -g -O3 -I/root/otp_src_R11B-1/erts/i686-pc-linux-gnu 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -D_GNU_SOURCE  -DHAVE_CONFIG_H
-Wall -Wstrict-prototypes -Wmissing-prototypes -DUSE_THREADS -D_THREAD_SAFE
-D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS -isystem /usr/include/nptl 
-Ibeam -Isys/unix -Isys/common -Ii686-pc-linux-gnu/opt/plain
-Ii686-pc-linux-gnu -Izlib -Ihipe -I../include/internal
-I../include/internal/i686-pc-linux-gnu -c hipe/hipe_mkliterals.c -o
obj/i686-pc-linux-gnu/opt/plain/hipe_mkliterals.o
hipe/hipe_mkliterals.c:349: error: 'X86_LEAF_WORDS' undeclared here (not in
a function)
hipe/hipe_mkliterals.c:350: error: 'X86_NR_ARG_REGS' undeclared here (not in
a function)
make[2]: *** [obj/i686-pc-linux-gnu/opt/plain/hipe_mkliterals.o] Error 1
make[2]: Leaving directory `/root/otp_src_R11B-1/erts/emulator'
make[1]: *** [generate] Error 2
make[1]: Leaving directory `/root/otp_src_R11B-1/erts/emulator'
make: *** [depend] Error 2

Has anybody else encountered this?

- Mikkel
-- 
View this message in context: http://www.nabble.com/Error-compiling-R11B-1-on-Ubuntu-tf2300899.html#a6394755
Sent from the Erlang Questions mailing list archive at Nabble.com.




More information about the erlang-questions mailing list