[erlang-questions] compile erlang source code error [obj/x86_64-unknown-linux-gnu/opt/smp/inet_drv.o]

Fredo Lee <>
Thu Sep 10 06:54:14 CEST 2015


make[1]: Entering directory `/home/users/tianwanli01/otp_src_18.0/erts'
make[2]: Entering directory
`/home/users/tianwanli01/otp_src_18.0/erts/emulator'
 MAKE   opt
make[3]: Entering directory
`/home/users/tianwanli01/otp_src_18.0/erts/emulator'
 GEN    x86_64-unknown-linux-gnu/gen_git_version.mk
 CC     obj/x86_64-unknown-linux-gnu/opt/smp/inet_drv.o
drivers/common/inet_drv.c: In function `inet_init':
drivers/common/inet_drv.c:4031: error: enumerator value for
`compile_time_assert__' not integer constant
drivers/common/inet_drv.c: In function `sctp_get_sendparams':
drivers/common/inet_drv.c:6537: warning: assignment makes pointer from
integer without a cast
drivers/common/inet_drv.c: In function `sctp_set_opts':
drivers/common/inet_drv.c:6651: warning: assignment makes pointer from
integer without a cast
drivers/common/inet_drv.c:6666: warning: assignment makes pointer from
integer without a cast
drivers/common/inet_drv.c:6849: warning: assignment makes pointer from
integer without a cast
drivers/common/inet_drv.c:6895: warning: assignment makes pointer from
integer without a cast
drivers/common/inet_drv.c: In function `sctp_fill_opts':
drivers/common/inet_drv.c:7594: warning: assignment makes pointer from
integer without a cast
drivers/common/inet_drv.c:7620: warning: assignment makes pointer from
integer without a cast
drivers/common/inet_drv.c:7839: warning: assignment makes pointer from
integer without a cast
drivers/common/inet_drv.c:7895: warning: assignment makes pointer from
integer without a cast
drivers/common/inet_drv.c:7983: warning: assignment makes pointer from
integer without a cast
drivers/common/inet_drv.c:8055: warning: assignment makes pointer from
integer without a cast
drivers/common/inet_drv.c:8135: warning: assignment makes pointer from
integer without a cast
drivers/common/inet_drv.c: In function `inet_ctl':
drivers/common/inet_drv.c:8622: warning: passing arg 2 of pointer to
function makes pointer from integer without a cast
drivers/common/inet_drv.c:8691: warning: passing arg 2 of pointer to
function makes pointer from integer without a cast
drivers/common/inet_drv.c: In function `packet_inet_ctl':
drivers/common/inet_drv.c:11615: warning: passing arg 2 of pointer to
function makes pointer from integer without a cast
make[3]: *** [obj/x86_64-unknown-linux-gnu/opt/smp/inet_drv.o] Error 1
make[3]: Leaving directory
`/home/users/tianwanli01/otp_src_18.0/erts/emulator'
make[2]: *** [opt] Error 2
make[2]: Leaving directory
`/home/users/tianwanli01/otp_src_18.0/erts/emulator'
make[1]: *** [smp] Error 2
make[1]: Leaving directory `/home/users/tianwanli01/otp_src_18.0/erts'
make: *** [emulator] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150910/d471c748/attachment.html>


More information about the erlang-questions mailing list