[erlang-questions] : OTP Stack building problems
Ulf Wiger (TN/EAB)
ulf.wiger@REDACTED
Thu Jan 24 23:14:21 CET 2008
Kip Macy skrev:
> "adaptation" was initially spelled wrong in the RFC. The linux stack
> continued to use the wrong spelling for some time after it was fixed
> in the BSD stack that most other operating systems use.
>
> -Kip
To be fair, both spellings are correct, so the actual bug is of course
not being consistent about it. ;-)
"Adaptation" is the most common form. According to Webster, it dates
back to 1610. The synonym "adaption" appeared in 1704, but hasn't yet
achieved the same level of popularity. Given a few more centuries,
perhaps it will...
BR,
Ulf W
>
> On Jan 24, 2008 12:47 AM, Raimo Niskanen
> <raimo+erlang-questions@REDACTED> wrote:
>> Sorry about the lack of response on the erlang-bugs
>> mailing list. We have downprioritized this since
>> we felt SCTP was only for the ones that had a
>> specific need. But now it seems new Linux:es ship
>> both header files and libraries for SCTP, with
>> a too fresh version for our standard build.
>>
>> So, now this is a reeally annoying problem that
>> I am currently working on. We hope it will be
>> fixed in R12B-1; I have a dirty #ifdefing
>> solution that works for lksctp-tools-1.0.7
>> but have not made regression tests against
>> the older version yet. So I will polish
>> on the #ifdefs before being happy.
>>
>> Any hints on how SCTP header files differ between
>> different OS:es are greatly appreciated, esp.
>> if struct sctp_event_subscribe.sctp_adaptation_layer_event
>> does not exist on FreeBSD, can one then count on
>> struct sctp_event_subscribe.sctp_adaption_layer_even
>> existing instead. (Ther is a patch on
>> http://www.nabble.com/Patch-to-fix-crypto-and-SCTP-support-on-FreeBSD-to11474612.html#a11474612
>> that tests for the "adaptation" spelled variant and if it does
>> not exist assumes there is no such field instead of
>> falling back to the "adaption" spelling.
>> And we have no FreeBSD machine to test on...
>>
>>
>>
>> On Wed, Jan 23, 2008 at 08:39:23AM -0600, mog wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> J Bhanot wrote:
>>>> Hi,
>>>>
>>>> I am trying to build the OTP stack on Fedora Core 8...
>>>>
>>>> I am using fllowing stack
>>>>
>>>> otp_src_R12B-0
>>>>
>>>> ./configure works ok without throwing errors
>>>>
>>>> but during make all, it gives the following errors
>>>>
>>>> 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 thi
>>>> s 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_adapt
>>>> ion_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 fun
>>>> ction)
>>>> 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 fun
>>>> ction)
>>>> 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/j.bhanot/Download/H.248/otp_src_R12B-0/erts/emulator'
>>>> make[2]: *** [opt] Error 2
>>>> make[2]: Leaving directory
>>>> `/home/j.bhanot/Download/H.248/otp_src_R12B-0/erts/emulator'
>>>> make[1]: *** [smp] Error 2
>>>> make[1]: Leaving directory
>>>> `/home/j.bhanot/Download/H.248/otp_src_R12B-0/erts'
>>>> make: *** [emulator] Error 2
>>>>
>>> I to have found this problem and submitted a patch to fix it for later
>>> versions of Gnu/Linux and friends but haven't heard any response back.
>>> here is a link
>>> 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
>>>
>>> iD8DBQFHl1GapCttrJGOY6gRAi9tAJ9+7lc4t6yxT4mEBC+JD6oxB+zdQgCfSMU4
>>> RAQpo9Nz2by1wixJCAkkeFw=
>>> =3uhI
>>> -----END PGP SIGNATURE-----
>>> _______________________________________________
>>> erlang-questions mailing list
>>> erlang-questions@REDACTED
>>> http://www.erlang.org/mailman/listinfo/erlang-questions
>> --
>>
>> / Raimo Niskanen, Erlang/OTP, Ericsson AB
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://www.erlang.org/mailman/listinfo/erlang-questions
>>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list