[erlang-questions] erlang with sctp doesn't build on armv7 from source

Kaju rapidkaju@REDACTED
Sat Jul 26 10:17:34 CEST 2014


Hi,

I have been trying get erlang build on armv7 embedded platform radxa-rock with sctp support, but it still doesnt work.

What's done so far.

1. Install all the development packages as indicated on erlang website for debian based system (I am running Ubuntu/Linaro 4.6.3-1ubuntu5).
2. lksctp-tools, libsctp1, libsctp-dev all are installed correctly.
3. Used --enable-sctp configure option, which didnt work, so had to add LIBS='-lsctp' before running the configure.

LIBS='-lsctp' CFLAGS='-O0' ./configure --disable-hipe --enable-smp-support --enable-threads --enable-kernel-poll --enable-sctp --without-wx --prefix=/media/sd/local > /media/sd/erlang/configure.log 2>&1
LIBS='-lsctp' make -j3 > /media/sd/erlang/make.log 2>&1
LIBS='-lsctp' make install > /media/sd/erlang/make-install.log 2>&1

The  configure.log, make.log and make-install.log are all attached in compressed format.

Note: I have built erlang from source with sctp support on linux-x86_64 and Mac OS X without any issues, so its surprising why it wont build on embedded board while the only difference being running on arm. Additionally, I am building on the target board directly.


uname = Linux radxa 3.0.36+ #2 SMP PREEMPT Sat Mar 15 11:18:05 CST 2014 armv7l armv7l armv7l GNU/Linux

Thanks,
Kaju


-------------- next part --------------
A non-text attachment was scrubbed...
Name: erlang-sctp-armv7-issue.tar.gz
Type: application/x-gzip
Size: 45861 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140726/c32bae93/attachment.bin>
-------------- next part --------------



More information about the erlang-questions mailing list