[erlang-questions] Erlang doesn't suck

Joel Reymont <>
Wed Oct 1 21:48:02 CEST 2008


On Oct 1, 2008, at 8:42 PM, Edwin Fine wrote:

> As for compilation failures you are seeing, I would try setting the
> following:
>
> export LDFLAGS="-m64 $LDFLAGS"
> export CFLAGS="-m64 $CFLAGS"


Did the above and then

./configure --prefix=/opt/local --enable-64bit
...
gmake clean && gmake
...
ld: warning: file /home/admin/otp_src_R12B-4/erts/emulator/zlib/obj/ 
i386-pc-solaris2.11/opt/libz.a(adler32.o): wrong ELF class: ELFCLASS32
ld: warning: file /home/admin/otp_src_R12B-4/erts/emulator/pcre/obj/ 
i386-pc-solaris2.11/opt/libepcre.a(pcre_compile.o): wrong ELF class:  
ELFCLASS32
Undefined                       first referenced
  symbol                             in file
inflate                             obj/i386-pc-solaris2.11/opt/plain/ 
gzio.o
crc32                               obj/i386-pc-solaris2.11/opt/plain/ 
erl_bif_ch

--
wagerlabs.com








More information about the erlang-questions mailing list