I've been trying to compile erlang-otp under Slackware 12.1 for the past couple of days. I've tried with otp_src_R11B-5.tar.gz and the Slack12 SlackBuild from rworkman, and tried src2pkg with otp_src_R11B-4.tar.gz and otp_src_R12B-2.tar.gz. I've also tried compiling manually with ./configure, make, make install, with no configure options set or with various combinations of --disable-threads, disable-smp-support, and disable-hipe. The configure script seems to run without errors, but the compile always exits out with the following error (or something similar):
Code:
obj/i686-pc-linux-gnu/opt/hybrid/hipe_x86_signal.o: In function `my_sigaction':
/tmp/otp_src_R11B-5/erts/emulator/hipe/hipe_x86_signal.c:220: undefined reference to `INIT'
/tmp/otp_src_R11B-5/erts/emulator/hipe/hipe_x86_signal.c:230: undefined reference to `__next_sigaction'
obj/i686-pc-linux-gnu/opt/hybrid/hipe_x86_signal.o: In function `hipe_signal_init':
/tmp/otp_src_R11B-5/erts/emulator/hipe/hipe_x86_signal.c:305: undefined reference to `INIT'
obj/i686-pc-linux-gnu/opt/hybrid/hipe_x86_signal.o: In function `my_sigaction':
/tmp/otp_src_R11B-5/erts/emulator/hipe/hipe_x86_signal.c:220: undefined reference to `INIT'
/tmp/otp_src_R11B-5/erts/emulator/hipe/hipe_x86_signal.c:230: undefined reference to `__next_sigaction'
/tmp/otp_src_R11B-5/erts/emulator/hipe/hipe_x86_signal.c:220: undefined reference to `INIT'
/tmp/otp_src_R11B-5/erts/emulator/hipe/hipe_x86_signal.c:230: undefined reference to `__next_sigaction'
collect2: ld returned 1 exit status
make[3]: *** [/tmp/otp_src_R11B-5/bin/i686-pc-linux-gnu/beam.hybrid] Error 1
make[3]: Leaving directory `/tmp/otp_src_R11B-5/erts/emulator'
make[2]: *** [opt] Error 2
make[2]: Leaving directory `/tmp/otp_src_R11B-5/erts/emulator'
make[1]: *** [hybrid] Error 2
make[1]: Leaving directory `/tmp/otp_src_R11B-5/erts'
make: *** [emulator] Error 2
It's always in the emulator section that the build craps out.
I've seen statements on the web to the effect that erlang won't compile on slack 12.1, and am wondering if this is really true? If so, what is the work around to get erlang to build on slack 12.1?