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

Mikael Pettersson mikpe@REDACTED
Fri May 4 09:11:47 CEST 2007


On Thu, 3 May 2007 17:30:32 -0400, Mihai Balea wrote:
> 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=3D/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=3D64  -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: =91X86_LEAF_WORDS=92 undeclared here  =
> 
> (not in a function)
> hipe/hipe_mkliterals.c:352: error: =91X86_NR_ARG_REGS=92 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?

Show the complete `make' log (make 2>&1 | tee logfile or something).
Does it mention the `m4' program?

/Mikael



More information about the erlang-questions mailing list