[erlang-questions] error compiling R12B-3

Tuncer Ayaz tuncer.ayaz@REDACTED
Sat Jul 26 22:00:00 CEST 2008


On Sat, Jul 26, 2008 at 9:37 PM, mark <markkicks@REDACTED> wrote:
> I am getting this error on Fedora Core 9 x86_64,  gcc version 4.3.1
>
> obj/x86_64-unknown-linux-gnu/opt/smp/hipe_x86_signal.o: In function
> `my_sigaction':
> /tmp/otp_src_R12B-3/erts/emulator/hipe/hipe_x86_signal.c:220:
> undefined reference to `INIT'
> /tmp/otp_src_R12B-3/erts/emulator/hipe/hipe_x86_signal.c:230:
> undefined reference to `__next_sigaction'
> obj/x86_64-unknown-linux-gnu/opt/smp/hipe_x86_signal.o: In function
> `hipe_signal_init':
> /tmp/otp_src_R12B-3/erts/emulator/hipe/hipe_x86_signal.c:305:
> undefined reference to `INIT'
> obj/x86_64-unknown-linux-gnu/opt/smp/hipe_x86_signal.o: In function
> `my_sigaction':
> /tmp/otp_src_R12B-3/erts/emulator/hipe/hipe_x86_signal.c:220:
> undefined reference to `INIT'
> /tmp/otp_src_R12B-3/erts/emulator/hipe/hipe_x86_signal.c:230:
> undefined reference to `__next_sigaction'
> /tmp/otp_src_R12B-3/erts/emulator/hipe/hipe_x86_signal.c:220:
> undefined reference to `INIT'
> /tmp/otp_src_R12B-3/erts/emulator/hipe/hipe_x86_signal.c:230:
> undefined reference to `__next_sigaction'
> collect2: ld returned 1 exit status
> make[3]: *** [/tmp/otp_src_R12B-3/bin/x86_64-unknown-linux-gnu/beam.smp] Error 1
> make[3]: Leaving directory `/tmp/otp_src_R12B-3/erts/emulator'
> make[2]: *** [opt] Error 2
> make[2]: Leaving directory `/tmp/otp_src_R12B-3/erts/emulator'
> make[1]: *** [smp] Error 2
> make[1]: Leaving directory `/tmp/otp_src_R12B-3/erts'
> make: *** [emulator] Error 2

Hi Mark,

you can either install the Erlang RPM available in F9
or take a look at the needed GLIBC version check changes
as discussed in the latest thread about this topic here:
http://www.erlang.org/pipermail/erlang-bugs/2008-June/000835.html

> also when i did ./configure, i got this message at the end
>
> *********************************************************************
> **********************  APPLICATIONS DISABLED  **********************
> *********************************************************************
>
> jinterface     : No Java compiler found

This is ok as long as you do not want to use jinterface. It won't be available.
If you want jinterface and use the F9 openjdk-jdk-6 javac instead of
the sun-java javac I would be interested to know about your success/failure
with the OpenJDK javac.

The Fedora RPM source can be viewed here:
http://cvs.fedoraproject.org/viewcvs/rpms/erlang/

Hope this helps.

> *********************************************************************
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list