[erlang-questions] make fails in fc7

mog mogorman@REDACTED
Wed Jan 23 15:41:11 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mukul J wrote:
> 
> Hi,
> 
> 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
> 
> 
This is the same problem as the "OTP Stack building problems" directly
before you, it is a bug in the sctp stack as the api changed, here is a
link to a patch that solves the problem
http://erlang.org/pipermail/erlang-bugs/2008-January/000612.html

mog
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHl1IHpCttrJGOY6gRAg0UAKCXVPlgIz8Zj8iejnQVeNyFdXSpDgCgu0sb
olqEAqw72Rdt7VzI4+hN/Z8=
=Mmm/
-----END PGP SIGNATURE-----



More information about the erlang-questions mailing list