[erlang-questions] Compiling R11B-2 on ubuntu 64bit

Corrado Santoro <>
Mon Dec 18 10:58:21 CET 2006


Hi all,

probably this question already appeared on the list, but I couldn't find it (and
the answer) in the archive.

I'm trying to build R11B-2 on an Ubuntu 6.06.1 with GCC 4.0.3 and I experience
this error:

:~/otp_src_R11B-2$ make
cd erts/emulator && ERL_TOP=/home/corrado/otp_src_R11B-2 make generate depend
make[1]: Entering directory `/home/corrado/otp_src_R11B-2/erts/emulator'
make -f x86_64-unknown-linux-gnu/Makefile generate
make[2]: Entering directory `/home/corrado/otp_src_R11B-2/erts/emulator'
gcc  -g -O3 -I/home/corrado/otp_src_R11B-2/erts/x86_64-unknown-linux-gnu   
-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
-Ix86_64-unknown-linux-gnu/opt/plain -Ix86_64-unknown-linux-gnu -Izlib -Ihipe
-I../include/internal -I../include/internal/x86_64-unknown-linux-gnu -c
hipe/hipe_mkliterals.c -o obj/x86_64-unknown-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/x86_64-unknown-linux-gnu/opt/plain/hipe_mkliterals.o] Error 1
make[2]: Leaving directory `/home/corrado/otp_src_R11B-2/erts/emulator'
make[1]: *** [generate] Error 2
make[1]: Leaving directory `/home/corrado/otp_src_R11B-2/erts/emulator'

Any clue?

Thx,

All the best,
--Corrado

-- 
====================================================== 
Eng. Corrado Santoro, Ph.D. 
 
University of Catania - Engineering Faculty 
Department of Computer Science and 
Telecommunications Engineering 
Viale A. Doria, 6 - 95125 CATANIA (ITALY) 
 
Tel: +39 095 7382380           Fax: +39 095 338280 
     +39 095 7382365 
     +39 095 7382364 
 
EMail:  
Personal Home Page: 
            http://www.diit.unict.it/users/csanto 
 
NUXI Home Page: 
            http://nuxi.iit.unict.it 
======================================================

-------------------------------------------------
This mail sent through IMP: http://www.cdc.unict.it/



More information about the erlang-questions mailing list