[erlang-questions] Compile error on F7 with R11B-4 signal.c undefined reference to `__next_sigaction'
Mikael Pettersson
mikpe@REDACTED
Wed Jun 13 12:41:12 CEST 2007
On Tue, 12 Jun 2007 23:11:17 -0700, Rob <erlq@REDACTED> wrote:
> I have tried this on several versions of F(C)7 both i386 and x86_64
> same error...
>
>
> # uname -a
> Linux localhost 2.6.21-1.3194.fc7 #1 SMP Wed May 23 22:47:07 EDT 2007 x86_64
> x86_64 x86_64 GNU/Linux
>
> # gcc --version
> gcc (GCC) 4.1.2 20070502 (Red Hat 4.1.2-12)
>
> obj/x86_64-unknown-linux-gnu/opt/hybrid/hipe_x86_signal.o: In function
> `my_sigaction':/usr/local/src/otp_src_R11B-4/erts/emulator/hipe/hipe_x86_signal.c:220:
> undefined reference to
> `INIT'/usr/local/src/otp_src_R11B-4/erts/emulator/hipe/hipe_x86_signal.c:230:
> undefined reference to
> `__next_sigaction'obj/x86_64-unknown-linux-gnu/opt/hybrid/hipe_x86_signal.o:
> In function
> `hipe_signal_init':/usr/local/src/otp_src_R11B-4/erts/emulator/hipe/hipe_x86_signal.c:305:
> undefined reference to
> `INIT'obj/x86_64-unknown-linux-gnu/opt/hybrid/hipe_x86_signal.o: In function
> `my_sigaction':/usr/local/src/otp_src_R11B-4/erts/emulator/hipe/hipe_x86_signal.c:220:
> undefined reference to
> `INIT'/usr/local/src/otp_src_R11B-4/erts/emulator/hipe/hipe_x86_signal.c:230:
> undefined reference to
> `__next_sigaction'/usr/local/src/otp_src_R11B-4/erts/emulator/hipe/hipe_x86_signal.c:220:
> undefined reference to
> `INIT'/usr/local/src/otp_src_R11B-4/erts/emulator/hipe/hipe_x86_signal.c:230:
> undefined reference to `__next_sigaction'collect2: ld returned 1 exit status
Apply the patch below, or wait for R11B-5 which should be out real soon now.
/Mikael
--- otp-0524/erts/emulator/hipe/hipe_x86_signal.c.~1~ 2007-01-10 17:01:01.000000000 +0100
+++ otp-0524/erts/emulator/hipe/hipe_x86_signal.c 2007-06-07 20:52:11.000000000 +0200
@@ -34,7 +34,7 @@
#endif
#include "hipe_signal.h"
-#if __GLIBC__ == 2 && (__GLIBC_MINOR__ >= 3 && __GLIBC_MINOR__ <= 5)
+#if __GLIBC__ == 2 && (__GLIBC_MINOR__ >= 3 && __GLIBC_MINOR__ <= 6)
/* See comment below for glibc 2.2. */
#ifndef __USE_GNU
#define __USE_GNU /* to un-hide RTLD_NEXT */
More information about the erlang-questions
mailing list