Erlang Mailing Lists

Author Message

<  Erlang bugs mailing list  ~  Compiling otp_src_R11B-2 fails on OpenSuSE 10.2

Guest
Posted: Thu Feb 22, 2007 3:18 pm Reply with quote
Guest
Hi,
I tried to compile erlang from http://www.erlang.org/download.html and
it failed with the following error:
obj/x86_64-unknown-linux-gnu/opt/hybrid/hipe_x86_signal.o: In function
`my_sigaction': /home/mhentsc3/Download/jabber/otp_src_R11B-2/erts/emulator/hipe/hipe_x86_signal.c:220:
undefined reference to
`INIT' /home/mhentsc3/Download/jabber/otp_src_R11B-2/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': /home/mhentsc3/Download/jabber/otp_src_R11B-2/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': /home/mhentsc3/Download/jabber/otp_src_R11B-2/erts/emulator/hipe/hipe_x86_signal.c:220:
undefined reference to
`INIT' /home/mhentsc3/Download/jabber/otp_src_R11B-2/erts/emulator/hipe/hipe_x86_signal.c:230:
undefined reference to
`__next_sigaction' /home/mhentsc3/Download/jabber/otp_src_R11B-2/erts/emulator/hipe/hipe_x86_signal.c:220:
undefined reference to
`INIT' /home/mhentsc3/Download/jabber/otp_src_R11B-2/erts/emulator/hipe/hipe_x86_signal.c:230:
undefined reference to `__next_sigaction' collect2: ld returned 1 exit
status make[3]: ***
[/home/mhentsc3/Download/jabber/otp_src_R11B-2/bin/x86_64-unknown-linux-gnu/beam.hybrid]
Error 1 make[3]: Leaving directory
`/home/mhentsc3/Download/jabber/otp_src_R11B-2/erts/emulator' make[2]:
*** [opt] Error 2 make[2]: Leaving directory
`/home/mhentsc3/Download/jabber/otp_src_R11B-2/erts/emulator' make[1]:
*** [hybrid] Error 2 make[1]: Leaving directory
`/home/mhentsc3/Download/jabber/otp_src_R11B-2/erts' make: ***
[emulator] Error 2

The Compiler is used is this:
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.2
--enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib64
--with-system-zlib --enable-shared --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --program-suffix=-4.1
--enable-version-specific-runtime-libs --without-system-libunwind
--with-cpu=generic --host=x86_64-suse-linux Thread model: posix gcc
version 4.1.2 20061115 (prerelease) (SUSE Linux)

so long
Maik


Post recived from mailinglist
Guest
Posted: Thu Feb 22, 2007 4:06 pm Reply with quote
Guest
On Thu, 22 Feb 2007 16:16:48 +0100, Maik Hentsche wrote:
> I tried to compile erlang from http://www.erlang.org/download.html and
> it failed with the following error:
> obj/x86_64-unknown-linux-gnu/opt/hybrid/hipe_x86_signal.o: In function
> `my_sigaction': /home/mhentsc3/Download/jabber/otp_src_R11B-2/erts/emulator=
> /hipe/hipe_x86_signal.c:220:
> undefined reference to
> `INIT' /home/mhentsc3/Download/jabber/otp_src_R11B-2/erts/emulator/hipe/hip=
> e_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': /home/mhentsc3/Download/jabber/otp_src_R11B-2/erts/emul=
> ator/hipe/hipe_x86_signal.c:305:
> undefined reference to `INIT'
etc

Probably related to you having a relatively new glibc.
An update to R11B-3 should fix this.

/Mikael
_______________________________________________
erlang-bugs mailing list
erlang-bugs@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-bugs
Post recived from mailinglist
Guest
Posted: Fri Feb 23, 2007 7:54 am Reply with quote
Guest
"Mikael Pettersson" <mikpe@it.uu.se> wrote:

> Probably related to you having a relatively new glibc.
> An update to R11B-3 should fix this.

Indeed, the problem vanished with R11B-3. Thank you for your help.

so long
Maik


Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum