[erlang-questions] make fails in fc7
Balathasan Sayanthan
bsayanthan@REDACTED
Fri Jan 25 03:44:07 CET 2008
Hi Mukul,
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
regards,
Sayanthan
On Jan 23, 2008 2:49 PM, Mukul Jain <mukul.j@REDACTED> wrote:
>
> Hi,
> I am getting the same error while executing make after ./configure.
>
> I tried to install erlang [otp_src_R12B-0] on fedora core 8 but when the
> make command was issued I got the following error.
>
> How can I fix it?
>
> drivers/common/inet_drv.c: In function âsctp_parse_async_eventâ:
> drivers/common/inet_drv.c:3100: error: âSCTP_ADAPTION_INDICATIONâ
> undeclared
> (first use in this function)
> drivers/common/inet_drv.c:3100: error: (Each undeclared identifier is
> reported only once
> drivers/common/inet_drv.c:3100: error: for each function it appears in.)
> drivers/common/inet_drv.c:3106: error: âunion sctp_notificationâ has no
> member named âsn_adaption_eventâ
> drivers/common/inet_drv.c:3111: error: dereferencing pointer to incomplete
> type
> drivers/common/inet_drv.c:3112: error: dereferencing pointer to incomplete
> type
> drivers/common/inet_drv.c:3112: warning: left-hand operand of comma
> expression has no effect
> drivers/common/inet_drv.c: In function âsctp_set_optsâ:
> drivers/common/inet_drv.c:5323: error: field âadâ has incomplete type
> drivers/common/inet_drv.c:5584: error: âSCTP_ADAPTION_LAYERâ undeclared
> (first use in this function)
> drivers/common/inet_drv.c:5688: error: âstruct sctp_event_subscribeâ has
> no
> member named âsctp_adaption_layer_eventâ
> drivers/common/inet_drv.c: In function âsctp_fill_optsâ:
> drivers/common/inet_drv.c:6448: error: storage size of âadâ isnât known
> drivers/common/inet_drv.c:6451: error: âSCTP_ADAPTION_LAYERâ undeclared
> (first use in this function)
> drivers/common/inet_drv.c:6458: warning: left-hand operand of comma
> expression has no effect
> drivers/common/inet_drv.c:6448: warning: unused variable âadâ
> drivers/common/inet_drv.c:6586: error: âstruct sctp_event_subscribeâ has
> no
> member named âsctp_adaption_layer_eventâ
> drivers/common/inet_drv.c:6586: warning: left-hand operand of comma
> expression has no effect
> make[3]: *** [obj/i686-pc-linux-gnu/opt/smp/inet_drv.o] Error 1
> make[3]: Leaving directory
> `/home/a.parkash/Download/otp_src_R12B-0/erts/emulator'
> make[2]: *** [opt] Error 2
> make[2]: Leaving directory
> `/home/a.parkash/Download/otp_src_R12B-0/erts/emulator'
> make[1]: *** [smp] Error 2
> make[1]: Leaving directory `/home/a.parkash/Download/otp_src_R12B-0/erts'
> make: *** [emulator] Error 2
>
> Please let me know solutions if they exists.
>
> Regards,
> Mukul
>
>
>
>
> Balathasan Sayanthan wrote:
> >
> > Hi All,
> >
> > I tried to install erlang [otp_src_R12B-0] on fedora core 7 but when the
> > make command was issued I got the following error.
> >
> > How can I fix it?
> >
> > drivers/common/inet_drv.c: In function 'sctp_parse_async_event':
> > drivers/common/inet_drv.c:3100: error: 'SCTP_ADAPTION_INDICATION'
> > undeclared
> > (first use in this function)
> > drivers/common/inet_drv.c:3100: error: (Each undeclared identifier is
> > reported only once
> > drivers/common/inet_drv.c:3100: error: for each function it appears in.)
> > drivers/common/inet_drv.c:3106: error: 'union sctp_notification' has no
> > member named 'sn_adaption_event'
> > drivers/common/inet_drv.c:3111: error: dereferencing pointer to
> incomplete
> > type
> > drivers/common/inet_drv.c:3112: error: dereferencing pointer to
> incomplete
> > type
> > drivers/common/inet_drv.c:3112: warning: left-hand operand of comma
> > expression has no effect
> > drivers/common/inet_drv.c: In function 'sctp_set_opts':
> > drivers/common/inet_drv.c:5323: error: field 'ad' has incomplete type
> > drivers/common/inet_drv.c:5584: error: 'SCTP_ADAPTION_LAYER' undeclared
> > (first use in this function)
> > drivers/common/inet_drv.c:5688: error: 'struct sctp_event_subscribe' has
> > no
> > member named 'sctp_adaption_layer_event'
> > drivers/common/inet_drv.c: In function 'sctp_fill_opts':
> > drivers/common/inet_drv.c:6448: error: storage size of 'ad' isn't known
> > drivers/common/inet_drv.c:6451: error: 'SCTP_ADAPTION_LAYER' undeclared
> > (first use in this function)
> > drivers/common/inet_drv.c:6458: warning: left-hand operand of comma
> > expression has no effect
> > drivers/common/inet_drv.c:6448: warning: unused variable 'ad'
> > drivers/common/inet_drv.c:6586: error: 'struct sctp_event_subscribe' has
> > no
> > member named 'sctp_adaption_layer_event'
> > drivers/common/inet_drv.c:6586: warning: left-hand operand of comma
> > expression has no effect
> > make[3]: *** [obj/i686-pc-linux-gnu/opt/smp/inet_drv.o] Error 1
> >
> > thank you.
> >
> > regards
> >
> >
> > --
> > Sayanthan
> >
> > _______________________________________________
> > erlang-questions mailing list
> > erlang-questions@REDACTED
> > http://www.erlang.org/mailman/listinfo/erlang-questions
> >
>
> --
> View this message in context:
> http://www.nabble.com/make-fails-in-fc7-tp14799447p15037718.html
> Sent from the Erlang Questions mailing list archive at Nabble.com.
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
--
Balathasan Sayanthan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080125/9b61f07b/attachment.htm>
More information about the erlang-questions
mailing list