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

Toby Thain toby@REDACTED
Sat May 5 02:46:04 CEST 2007


On 4-May-07, at 8:11 PM, jla415 wrote:

>
> I've had this happen before, it happens when you try to compile otp  
> without
> having m4 installed.  the build process leaves around the empty  
> file that
> was supposed to generated with m4 so you need to remove this file  
> and start
> the build over after you install m4.  the easiest way to do this is  
> just to
> remove the entire otp source directory and re-extract

Yes, 'make clean' used to be broken. I wonder if it's fixed yet.

--Toby

> the source archive and
> do the configure && make dance all over again.
>
>
> 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=/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
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://www.erlang.org/mailman/listinfo/erlang-questions
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/Building-R11B-4- 
> fails-on-Kubuntu-7.04-Feisty-Fawn-tf3689122.html#a10331833
> Sent from the Erlang Questions mailing list archive at Nabble.com.
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions





More information about the erlang-questions mailing list