Deleting the whole folder and untaring it again is not always the same as doing a make clean. There are often precompiled files in an Erlang distribution to save you time when building it. I *think* these are all .beam files so it theoretically should not make a difference. But... I once had a great deal of trouble building Erlang for OpenSuse until I started right from the beginning and THEN did a ./configure; make clean; make<br>
<br>Hope this helps.<br><br><div class="gmail_quote">On Wed, Jul 16, 2008 at 5:00 PM, Xingdong Bian <<a href="mailto:bian@erlang-consulting.com">bian@erlang-consulting.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">hi,<div><br></div><div>Yeah i just delete the whole folder and untar it again.</div><div><br></div><font color="#888888"><div>Xingdong</div></font><div><div></div><div class="Wj3C7c"><div><br><div><div>On 16 Jul 2008, at 20:03, Edwin Fine wrote:</div>
<br><blockquote type="cite">Have you tried<br><br>make clean;./configure<br><br>?<br><br><div class="gmail_quote">2008/7/16 Xingdong Bian <<a href="mailto:bian@erlang-consulting.com" target="_blank">bian@erlang-consulting.com</a>>:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div><span style="font-size: 13px; line-height: 16px;"><div>Hi</div><div><br></div>Any one has the same issues with me? <br style="margin: 0px;">
When i install the Erlang/OTP on the SUSE 11 for <br style="margin: 0px;"> 12B-3: <br style="margin: 0px;">it says the gcc compiler is not supported, asks me to change another version of the gcc compiler <br style="margin: 0px;">
<br style="margin: 0px;">11B-5, 12B-0,1,2: <br style="margin: 0px;"> ./configure is fine <br style="margin: 0px;">then make with error: <br style="margin: 0px;">================================== <br style="margin: 0px;">
obj/i686-pc-linux-gnu/opt/smp/ttsl_drv.o -lutil -ldl -lm -lncurses -L../lib/internal/i686-pc-linux-gnu /home/bian/downloads/otp_src_R12B-2/erts/obj/i686-pc-linux-gnu/libz.a -lethread -lpthread -lerts_internal_r -lrt <br style="margin: 0px;">
 obj/i686-pc-linux-gnu/opt/smp/hipe_x86_signal.o: In function `my_sigaction': <br style="margin: 0px;">/home/bian/downloads/otp_src_R12B-2/erts/emulator/hipe/hipe_x86_signal.c:220: undefined reference to `INIT' <br style="margin: 0px;">
 /home/bian/downloads/otp_src_R12B-2/erts/emulator/hipe/hipe_x86_signal.c:230: undefined reference to `__next_sigaction' <br style="margin: 0px;">obj/i686-pc-linux-gnu/opt/smp/hipe_x86_signal.o: In function `hipe_signal_init': <br style="margin: 0px;">
 /home/bian/downloads/otp_src_R12B-2/erts/emulator/hipe/hipe_x86_signal.c:305: undefined reference to `INIT' <br style="margin: 0px;">obj/i686-pc-linux-gnu/opt/smp/hipe_x86_signal.o: In function `my_sigaction': <br style="margin: 0px;">
 /home/bian/downloads/otp_src_R12B-2/erts/emulator/hipe/hipe_x86_signal.c:220: undefined reference to `INIT' <br style="margin: 0px;">/home/bian/downloads/otp_src_R12B-2/erts/emulator/hipe/hipe_x86_signal.c:230: undefined reference to `__next_sigaction' <br style="margin: 0px;">
 /home/bian/downloads/otp_src_R12B-2/erts/emulator/hipe/hipe_x86_signal.c:220: undefined reference to `INIT' <br style="margin: 0px;">/home/bian/downloads/otp_src_R12B-2/erts/emulator/hipe/hipe_x86_signal.c:230: undefined reference to `__next_sigaction' <br style="margin: 0px;">
 collect2: ld returned 1 exit status <br style="margin: 0px;">make[3]: *** [/home/bian/downloads/otp_src_R12B-2/bin/i686-pc-linux-gnu/beam.smp] Error 1 <br style="margin: 0px;">make[3]: Leaving directory `/home/bian/downloads/otp_src_R12B-2/erts/emulator' <br style="margin: 0px;">
 make[2]: *** [opt] Error 2 <br style="margin: 0px;">make[2]: Leaving directory `/home/bian/downloads/otp_src_R12B-2/erts/emulator' <br style="margin: 0px;">make[1]: *** [smp] Error 2 <br style="margin: 0px;">make[1]: Leaving directory `/home/bian/downloads/otp_src_R12B-2/erts' <br style="margin: 0px;">
 make: *** [emulator] Error 2 <br style="margin: 0px;">================================== <br style="margin: 0px;"><br style="margin: 0px;"><br style="margin: 0px;">when i disable the hipe with <br style="margin: 0px;">./configure --disable-hipe <br style="margin: 0px;">
 I still get error: <br style="margin: 0px;"><br style="margin: 0px;">================================== <br style="margin: 0px;">make[2]: Leaving directory `/home/bian/erlang/otp_src_R12B-1' <br style="margin: 0px;">
make[1]: Leaving directory `/home/bian/erlang/otp_src_R12B-1' <br style="margin: 0px;"> cd lib && \ <br style="margin: 0px;">ERL_TOP=/home/bian/erlang/otp_src_R12B-1 PATH=/home/bian/erlang/otp_src_R12B-1/bootstrap/bin:${PATH} \ <br style="margin: 0px;">
make opt SECONDARY_BOOTSTRAP=true <br style="margin: 0px;"> make[1]: Entering directory `/home/bian/erlang/otp_src_R12B-1/lib' <br style="margin: 0px;">make[2]: Entering directory `/home/bian/erlang/otp_src_R12B-1/lib/parsetools' <br style="margin: 0px;">
=== Entering application parsetools <br style="margin: 0px;"> make[3]: Entering directory `/home/bian/erlang/otp_src_R12B-1/lib/parsetools/src' <br style="margin: 0px;">make[3]: Nothing to be done for `opt'. <br style="margin: 0px;">
make[3]: Leaving directory `/home/bian/erlang/otp_src_R12B-1/lib/parsetools/src' <br style="margin: 0px;"> === Skipping subdir doc/src, it is missing <br style="margin: 0px;">=== Leaving application parsetools <br style="margin: 0px;">
make[2]: Leaving directory `/home/bian/erlang/otp_src_R12B-1/lib/parsetools' <br style="margin: 0px;"> make[2]: Entering directory `/home/bian/erlang/otp_src_R12B-1/lib/asn1/src' <br style="margin: 0px;">make[2]: Nothing to be done for `opt'. <br style="margin: 0px;">
make[2]: Leaving directory `/home/bian/erlang/otp_src_R12B-1/lib/asn1/src' <br style="margin: 0px;"> make[2]: Entering directory `/home/bian/erlang/otp_src_R12B-1/lib/hipe' <br style="margin: 0px;">Makefile:35: warning: overriding commands for target `docs' <br style="margin: 0px;">
/home/bian/erlang/otp_src_R12B-1/make/<a href="http://otp_subdir.mk:28" target="_blank">otp_subdir.mk:28</a>: warning: ignoring old commands for target `docs' <br style="margin: 0px;"> === Entering application hipe <br style="margin: 0px;">
make[3]: Entering directory `/home/bian/erlang/otp_src_R12B-1/lib/hipe/rtl' <br style="margin: 0px;">/home/bian/erlang/otp_src_R12B-1/bin/i686-pc-linux-gnu/hipe_mkliterals -e > hipe_literals.hrl <br style="margin: 0px;">
 erlc -W +debug_info +warn_obsolete_guard +inline -o../ebin hipe_rtl_arch.erl <br style="margin: 0px;">make[3]: *** [../ebin/hipe_rtl_arch.beam] Segmentation fault <br style="margin: 0px;">make[3]: Leaving directory `/home/bian/erlang/otp_src_R12B-1/lib/hipe/rtl' <br style="margin: 0px;">
 make[2]: *** [opt] Error 2 <br style="margin: 0px;">make[2]: Leaving directory `/home/bian/erlang/otp_src_R12B-1/lib/hipe' <br style="margin: 0px;">make[1]: *** [opt] Error 2 <br style="margin: 0px;">make[1]: Leaving directory `/home/bian/erlang/otp_src_R12B-1/lib' <br style="margin: 0px;">
 make: *** [secondary_bootstrap_build] Error 2 <br style="margin: 0px;"><br style="margin: 0px;">================================== <br style="margin: 0px;"><br style="margin: 0px;"><br style="margin: 0px;">The above two error texts from different version installation, but for all 11b-5, 12b-0,1,2 the error is the same. <br style="margin: 0px;">
 <br style="margin: 0px;">Any one has any idea? <br style="margin: 0px;"><br style="margin: 0px;">Thanks <br style="margin: 0px;"><font color="#888888">Xingdong</font></span></div><br>_______________________________________________<br>
 erlang-questions mailing list<br> <a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br> <a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>The great enemy of the truth is very often not the lie -- deliberate, contrived and dishonest, but the myth, persistent, persuasive, and unrealistic. Belief in myths allows the comfort of opinion without the discomfort of thought.<br>
 John F. Kennedy 35th president of US 1961-1963 (1917 - 1963)</blockquote></div><br></div></div></div></div></blockquote></div><br><br clear="all"><br>-- <br>The great enemy of the truth is very often not the lie -- deliberate, contrived and dishonest, but the myth, persistent, persuasive, and unrealistic. Belief in myths allows the comfort of opinion without the discomfort of thought.<br>
John F. Kennedy 35th president of US 1961-1963 (1917 - 1963)