Skip to contentSkip to conversation

Conntrack_sip compilation broken with 2.6.15-git7

DISCUSSION temp02 1 participant 1 message Jan 12, 2006 netfilter

lore
Share & tools
lore

temp02

author
#0 lore raw

In compiling 2.6.15-git7 with sip conntrack support compiled in, the following errors occur:

net/ipv4/netfilter/ip_conntrack_sip.c: In function `set_expected_rtp':
net/ipv4/netfilter/ip_conntrack_sip.c:260: `IPPROTO_UDP' undeclared (first use in this function)
net/ipv4/netfilter/ip_conntrack_sip.c:260: (Each undeclared identifier is reported only once
net/ipv4/netfilter/ip_conntrack_sip.c:260: for each function it appears in.) net/ipv4/netfilter/ip_conntrack_sip.c: In function `sip_help':
net/ipv4/netfilter/ip_conntrack_sip.c:293: sizeof applied to an incomplete type
net/ipv4/netfilter/ip_conntrack_sip.c: In function `init':
net/ipv4/netfilter/ip_conntrack_sip.c:384: `IPPROTO_UDP' undeclared (first use in this function)
make[3]: *** [net/ipv4/netfilter/ip_conntrack_sip.o] Error 1 make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2

Added include for in.h to ip_conntrack_sip.c which seem to make it happy..

and then failed again..

CC net/ipv4/netfilter/ip_conntrack_sip.o
net/ipv4/netfilter/ip_conntrack_sip.c: In function `sip_help':
net/ipv4/netfilter/ip_conntrack_sip.c:294: sizeof applied to an incomplete type
make[3]: *** [net/ipv4/netfilter/ip_conntrack_sip.o] Error 1 make[2]: *** [net/ipv4/netfilter] Error 2

thanks,