<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 09/10/2015 06:54 AM, Fredo Lee
wrote:<br>
</div>
<blockquote
cite="mid:CAF=6QdRrWX+fT=aLaLDyoumKuSus4D+MMEob=NQxDTW9XhfyZg@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div dir="ltr">
<div>make[1]: Entering directory
`/home/users/tianwanli01/otp_src_18.0/erts'</div>
<div>make[2]: Entering directory
`/home/users/tianwanli01/otp_src_18.0/erts/emulator'</div>
<div> MAKE opt</div>
<div>make[3]: Entering directory
`/home/users/tianwanli01/otp_src_18.0/erts/emulator'</div>
<div> GEN x86_64-unknown-linux-gnu/<a moz-do-not-send="true"
href="http://gen_git_version.mk">gen_git_version.mk</a></div>
<div> CC obj/x86_64-unknown-linux-gnu/opt/smp/inet_drv.o</div>
<div>drivers/common/inet_drv.c: In function `inet_init':</div>
<div>drivers/common/inet_drv.c:4031: error: enumerator value for
`compile_time_assert__' not integer constant</div>
<br>
</div>
</blockquote>
:<br>
<br>
<br>
The error is a bit cryptic, but looking at line 4031 we find this:<br>
<br>
/* Check the size of SCTP AssocID -- currently both this driver
and the<br>
Erlang part require 32 bit: */<br>
ERTS_CT_ASSERT(sizeof(sctp_assoc_t)==ASSOC_ID_LEN);<br>
<br>
<br>
This is a presumption about type 'sctp_assoc_t' being 32 bits long,<br>
which is for some reason not true in your build environment.<br>
<br>
A patch to fix this would need the add a more flexible treatment of<br>
type 'sctp_assoc_t' in both C and Erlang code.<br>
<br>
<br>
/Sverker, Erlang/OTP Ericsson<br>
<br>
<br>
</body>
</html>