[erlang-questions] Building R11B-4 fails on Kubuntu 7.04 Feisty Fawn

Mihai Balea mihai@REDACTED
Thu May 3 23:30:32 CEST 2007


I trying to build OTP R11B-4 on a freshly installed Kubuntu 7.04  
Feisty Fawn.  I am getting the following build error:

mihai@REDACTED:~/dld/otp_src_R11B-4$ make
cd erts/emulator && ERL_TOP=/home/mihai/dld/otp_src_R11B-4 make  
generate depend
make[1]: Entering directory `/home/mihai/dld/otp_src_R11B-4/erts/ 
emulator'
make -f i686-pc-linux-gnu/Makefile generate
make[2]: Entering directory `/home/mihai/dld/otp_src_R11B-4/erts/ 
emulator'
gcc  -g -O3 -I/home/mihai/dld/otp_src_R11B-4/erts/i686-pc-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  -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 -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:351: error: ‘X86_LEAF_WORDS’ undeclared here  
(not in a function)
hipe/hipe_mkliterals.c:352: 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 `/home/mihai/dld/otp_src_R11B-4/erts/ 
emulator'
make[1]: *** [generate] Error 2
make[1]: Leaving directory `/home/mihai/dld/otp_src_R11B-4/erts/ 
emulator'
make: *** [depend] Error 2

I used the following configure command:

./configure --enable-smp-support  --enable-threads  --disable-hipe

I tried first with --enable-hipe but got the same result.

Any suggestions on how to fix this?

Thanks in advance
Mihai

PS: R11B-4 used to build just fine on Kubuntu 6.10 Edgy



More information about the erlang-questions mailing list