Hi Mukul,<br><br>I removed my sctp.h file from includes and then tried the ./configure and then it worked. I think you will be able to find the file at /usr/include/netinet/sctp.h<br><br>regards,<br><br>Sayanthan<br><br><div class="gmail_quote">
On Jan 23, 2008 2:49 PM, Mukul Jain <<a href="mailto:mukul.j@tcs.com">mukul.j@tcs.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Hi,<br>I am getting the same error while executing make after ./configure.<br><div class="Ih2E3d"><br>I tried to install erlang [otp_src_R12B-0] on fedora core 8 but when the<br>make command was issued I got the following error.
<br><br>How can I fix it?<br><br></div>drivers/common/inet_drv.c: In function âsctp_parse_async_eventâ:<br>drivers/common/inet_drv.c:3100: error: âSCTP_ADAPTION_INDICATIONâ undeclared<br><div class="Ih2E3d">(first use in this function)
<br>drivers/common/inet_drv.c:3100: error: (Each undeclared identifier is<br>reported only once<br>drivers/common/inet_drv.c:3100: error: for each function it appears in.)<br></div>drivers/common/inet_drv.c:3106: error: âunion sctp_notificationâ has no
<br>member named âsn_adaption_eventâ<br><div class="Ih2E3d">drivers/common/inet_drv.c:3111: error: dereferencing pointer to incomplete<br>type<br>drivers/common/inet_drv.c:3112: error: dereferencing pointer to incomplete<br>
type<br>drivers/common/inet_drv.c:3112: warning: left-hand operand of comma<br>expression has no effect<br></div>drivers/common/inet_drv.c: In function âsctp_set_optsâ:<br>drivers/common/inet_drv.c:5323: error: field âadâ has incomplete type
<br>drivers/common/inet_drv.c:5584: error: âSCTP_ADAPTION_LAYERâ undeclared<br><div class="Ih2E3d">(first use in this function)<br></div>drivers/common/inet_drv.c:5688: error: âstruct sctp_event_subscribeâ has no<br>member named âsctp_adaption_layer_eventâ
<br>drivers/common/inet_drv.c: In function âsctp_fill_optsâ:<br>drivers/common/inet_drv.c:6448: error: storage size of âadâ isnât known<br>drivers/common/inet_drv.c:6451: error: âSCTP_ADAPTION_LAYERâ undeclared<br><div class="Ih2E3d">
(first use in this function)<br>drivers/common/inet_drv.c:6458: warning: left-hand operand of comma<br>expression has no effect<br></div>drivers/common/inet_drv.c:6448: warning: unused variable âadâ<br>drivers/common/inet_drv.c:6586: error: âstruct sctp_event_subscribeâ has no
<br>member named âsctp_adaption_layer_eventâ<br><div class="Ih2E3d">drivers/common/inet_drv.c:6586: warning: left-hand operand of comma<br>expression has no effect<br>make[3]: *** [obj/i686-pc-linux-gnu/opt/smp/inet_drv.o] Error 1
<br></div>make[3]: Leaving directory<br>`/home/a.parkash/Download/otp_src_R12B-0/erts/emulator'<br>make[2]: *** [opt] Error 2<br>make[2]: Leaving directory<br>`/home/a.parkash/Download/otp_src_R12B-0/erts/emulator'
<br>make[1]: *** [smp] Error 2<br>make[1]: Leaving directory `/home/a.parkash/Download/otp_src_R12B-0/erts'<br>make: *** [emulator] Error 2<br><br>Please let me know solutions if they exists.<br><br>Regards,<br>Mukul<br>
<div><div></div><div class="Wj3C7c"><br><br><br><br>Balathasan Sayanthan wrote:<br>><br>> Hi All,<br>><br>> I tried to install erlang [otp_src_R12B-0] on fedora core 7 but when the<br>> make command was issued I got the following error.
<br>><br>> How can I fix it?<br>><br>> drivers/common/inet_drv.c: In function 'sctp_parse_async_event':<br>> drivers/common/inet_drv.c:3100: error: 'SCTP_ADAPTION_INDICATION'<br>> undeclared
<br>> (first use in this function)<br>> drivers/common/inet_drv.c:3100: error: (Each undeclared identifier is<br>> reported only once<br>> drivers/common/inet_drv.c:3100: error: for each function it appears in.)
<br>> drivers/common/inet_drv.c:3106: error: 'union sctp_notification' has no<br>> member named 'sn_adaption_event'<br>> drivers/common/inet_drv.c:3111: error: dereferencing pointer to incomplete<br>
> type<br>> drivers/common/inet_drv.c:3112: error: dereferencing pointer to incomplete<br>> type<br>> drivers/common/inet_drv.c:3112: warning: left-hand operand of comma<br>> expression has no effect<br>> drivers/common/inet_drv.c: In function 'sctp_set_opts':
<br>> drivers/common/inet_drv.c:5323: error: field 'ad' has incomplete type<br>> drivers/common/inet_drv.c:5584: error: 'SCTP_ADAPTION_LAYER' undeclared<br>> (first use in this function)<br>> drivers/common/inet_drv.c:5688: error: 'struct sctp_event_subscribe' has
<br>> no<br>> member named 'sctp_adaption_layer_event'<br>> drivers/common/inet_drv.c: In function 'sctp_fill_opts':<br>> drivers/common/inet_drv.c:6448: error: storage size of 'ad' isn't known
<br>> drivers/common/inet_drv.c:6451: error: 'SCTP_ADAPTION_LAYER' undeclared<br>> (first use in this function)<br>> drivers/common/inet_drv.c:6458: warning: left-hand operand of comma<br>> expression has no effect
<br>> drivers/common/inet_drv.c:6448: warning: unused variable 'ad'<br>> drivers/common/inet_drv.c:6586: error: 'struct sctp_event_subscribe' has<br>> no<br>> member named 'sctp_adaption_layer_event'
<br>> drivers/common/inet_drv.c:6586: warning: left-hand operand of comma<br>> expression has no effect<br>> make[3]: *** [obj/i686-pc-linux-gnu/opt/smp/inet_drv.o] Error 1<br>><br>> thank you.<br>><br>> regards
<br>><br>><br>> --<br>> Sayanthan<br>><br></div></div>> _______________________________________________<br>> erlang-questions mailing list<br>> <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org
</a><br>> <a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>><br><font color="#888888"><br>--<br>View this message in context:
<a href="http://www.nabble.com/make-fails-in-fc7-tp14799447p15037718.html" target="_blank">http://www.nabble.com/make-fails-in-fc7-tp14799447p15037718.html</a><br>Sent from the Erlang Questions mailing list archive at <a href="http://Nabble.com" target="_blank">
Nabble.com</a>.<br><br>_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br><a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">
http://www.erlang.org/mailman/listinfo/erlang-questions</a></font></blockquote></div><br><br clear="all"><br>-- <br>Balathasan Sayanthan