[erlang-questions] : : OTP Stack building problems

Raimo Niskanen <>
Fri Jan 25 09:46:20 CET 2008


On Thu, Jan 24, 2008 at 08:30:50AM -0600, mog wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Raimo Niskanen wrote:
:
> > 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...
> 
> I can not say for certain that is the only change but, I would say it is
> highly probable that the only changes are those included in the patch I
> provided.   It has worked on freebsd and debian boxes I tried it on.
> 
> Mog
> 

A more specific question then, about your patch:

Is there a reason to test separately for
struct sctp_event_subscribe.sctp_adaptation_layer_event
and if it is not defined exclude the field from the
sctp_event_subscribe return record?

Or in other words: are there BSD:s that have SCTP
but do not have
struct sctp_event_subscribe.sctp_adaptation_layer_event
and also do not have
struct sctp_event_subscribe.sctp_adaption_layer_event
but have
struct sctp_event_subscribe ?



> _______________________________________________
> erlang-questions mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFHmKEapCttrJGOY6gRAg9OAKCEqh06VKBwKkgHUfA5+zN9HMYqxgCeIer9
> gLOsDVhc6O4lciQxgTHokAA=
> =mW4u
> -----END PGP SIGNATURE-----
> _______________________________________________
> erlang-questions mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list