[erlang-questions] How to compile R16B under Tilera?

Max Lapshin max.lapshin@REDACTED
Sun Dec 15 19:49:52 CET 2013


Hi.

I'm trying to launch erlyvideo on Tilera 36 core machine.

I've configured:

./configure  --prefix=/opt/flussonic --enable-smp-support
--enable-kernel-poll --disable-hipe --with-ssl  --without-java

then make stops with:

make[2]: Entering directory `/root/otp_src_R16B02/erts/emulator'
make -f tilegx-unknown-linux-gnu/Makefile TYPE=opt
make[3]: Entering directory `/root/otp_src_R16B02/erts/emulator'
if utils/gen_git_version tilegx-unknown-linux-gnu/gen_git_version.mk; then
touch beam/erl_bif_info.c; fi
gcc -Werror=return-type  -g -O2
-I/root/otp_src_R16B02/erts/tilegx-unknown-linux-gnu   -fno-tree-copyrename
 -D_GNU_SOURCE -DERTS_SMP -DHAVE_CONFIG_H -Wall -Wstrict-prototypes
-Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT
-DPOSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS
-Itilegx-unknown-linux-gnu/opt/smp -Ibeam -Isys/unix -Isys/common
-Itilegx-unknown-linux-gnu -Izlib  -Ipcre -Ihipe -I../include
-I../include/tilegx-unknown-linux-gnu -I../include/internal
-I../include/internal/tilegx-unknown-linux-gnu -c sys/unix/sys.c -o
obj/tilegx-unknown-linux-gnu/opt/smp/sys.o
sys/unix/sys.c:412: error: expected declaration specifiers or ‘...’ before
numeric constant
sys/unix/sys.c:412: warning: data definition has no type or storage class
sys/unix/sys.c:412: warning: type defaults to ‘int’ in declaration of
‘MALLOC_USE_HASH’
sys/unix/sys.c:412: warning: function declaration isn’t a prototype
make[3]: *** [obj/tilegx-unknown-linux-gnu/opt/smp/sys.o] Error 1
make[3]: Leaving directory `/root/otp_src_R16B02/erts/emulator'
make[2]: *** [opt] Error 2
make[2]: Leaving directory `/root/otp_src_R16B02/erts/emulator'
make[1]: *** [smp] Error 2
make[1]: Leaving directory `/root/otp_src_R16B02/erts'
make: *** [emulator] Error 2




This tilera computer has Centos installed with erlang R14B04.

What information should I provide to find out, why does MALLOC_USE_HASH
breaks compile process?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20131215/a4f63fd0/attachment.htm>


More information about the erlang-questions mailing list