Re: IPPROTO_SCTP compile error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- -iYung- <iyung@xxxxxxxxxx> wrote:
> iptables.c:238: `IPPROTO_SCTP' undeclared here (not
> in a function)
> iptables.c:238: initializer element is not constant
> iptables.c:238: (near initialization for
> `chain_protos[5].num')
> iptables.c:238: initializer element is not constant
> iptables.c:238: (near initialization for
> `chain_protos[5]')
> iptables.c:239: initializer element is not constant
> iptables.c:239: (near initialization for
> `chain_protos[6]')
> make: *** [iptables.o] Error 1

  This is because the definition of IPPROTO_SCTP is
not present in the header files. You need to make this
definition available during compilation. Add these
lines to iptables.h (Or apply the attached patch).

#ifndef IPPROTO_SCTP
#define IPPROTO_SCTP 132
#endif

Harald, If it is fine to put this into iptables.h,
this is a patch for it.

=====
Regards,
Kiran Kumar Immidi

__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you?re looking for faster
http://search.yahoo.com

Attachment: ipproto_sctp.diff
Description: ipproto_sctp.diff


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux