Hi guys,<br><br>this is my first post to the list so excuse me if it is the wrong place or the wrong way of doing it.<br><br>I am compiling Erlang/OTP R11B-5 from source on a Debian 64 bits machine. All is ok until the compilation of the file otp_src_R11B-5/erts/emulator/hipe/hipe_x86_signal.c, where i get undefined references to the symbols INIT and __next_sigaction. After looking at the file it is clear that the problem is that the version of libc installed on in my system is 2.7-5 while that file checks version of libc up to version 2.6:<br>
<br>#if __GLIBC__ == 2 && (__GLIBC_MINOR__ >= 3 && __GLIBC_MINOR__ <= 6)<br>...<br>definition of 'INIT' macro and '__next_sigaction' function<br>...<br>#endif    /* glibc 2.3 */<br clear="all">
<br>I know the *best* solution would be to use R12B, which explicitely checks for libc 2.7 but i can't do that, so my question is:<br><br>Is there any compatibility problem on using a patch like below, and use libc 2.7 with R11B-5? I assume it is no problem at all since 2.7 changes on libc should be minimum and not break API but i would be grateful if you could confirm.<br>
<br>--- hipe_x86_signal.c    2008-02-18 13:14:07.656139358 +0100<br>+++ hipe_x86_signal_glibc2-7.c    2008-02-18 16:40:54.252522271 +0100<br>@@ -34,7 +34,7 @@<br> #endif<br> #include "hipe_signal.h"<br> <br>-#if __GLIBC__ == 2 && (__GLIBC_MINOR__ >= 3 && __GLIBC_MINOR__ <= 6)<br>
+#if __GLIBC__ == 2 && (__GLIBC_MINOR__ >= 3 && __GLIBC_MINOR__ <= 7)<br> /* See comment below for glibc 2.2. */<br> #ifndef __USE_GNU<br> #define __USE_GNU        /* to un-hide RTLD_NEXT */<br><br>Thank you,<br>
<br>-- <br>Alejandro Vazquez Fente