Testé sur le noyau 2.6.12-10 (Debian), avec gcc 3.3.6-12 et la révision 6340 de patch-o-matic : CC [M] net/ipv4/netfilter/ip_nat_rtsp.o
net/ipv4/netfilter/ip_nat_rtsp.c: In function `rtsp_mangle_tran':
net/ipv4/netfilter/ip_nat_rtsp.c:167: warning: implicit declaration of function `ip_conntrack_change_expect'
net/ipv4/netfilter/ip_nat_rtsp.c: In function `expected':
net/ipv4/netfilter/ip_nat_rtsp.c:368: error: storage size of `mr' isn't known
net/ipv4/netfilter/ip_nat_rtsp.c:368: warning: unused variable `mr'
net/ipv4/netfilter/ip_nat_rtsp.c: In function `help_out':
net/ipv4/netfilter/ip_nat_rtsp.c:411: error: structure has no member named `seq'
net/ipv4/netfilter/ip_nat_rtsp.c:431: error: `ct' undeclared (first use in this function)
net/ipv4/netfilter/ip_nat_rtsp.c:431: error: (Each undeclared identifier is reported only once
net/ipv4/netfilter/ip_nat_rtsp.c:431: error: for each function it appears in.)
net/ipv4/netfilter/ip_nat_rtsp.c:431: error: incompatible type for argument 2 of `rtsp_mangle_tran'
net/ipv4/netfilter/ip_nat_rtsp.c:431: warning: passing arg 3 of `rtsp_mangle_tran' from incompatible pointer type
net/ipv4/netfilter/ip_nat_rtsp.c:431: warning: passing arg 4 of `rtsp_mangle_tran' from incompatible pointer type
net/ipv4/netfilter/ip_nat_rtsp.c:431: warning: passing arg 5 of `rtsp_mangle_tran' makes integer from pointer without a cast
net/ipv4/netfilter/ip_nat_rtsp.c:431: error: too many arguments to function `rtsp_mangle_tran'
net/ipv4/netfilter/ip_nat_rtsp.c: At top level:
net/ipv4/netfilter/ip_nat_rtsp.c:449: error: syntax error before "enum"
net/ipv4/netfilter/ip_nat_rtsp.c:452: warning: function declaration isn't a prototype
net/ipv4/netfilter/ip_nat_rtsp.c: In function `help':
net/ipv4/netfilter/ip_nat_rtsp.c:453: error: `pskb' undeclared (first use in this function)
net/ipv4/netfilter/ip_nat_rtsp.c:456: error: `ctinfo' undeclared (first use in this function)
net/ipv4/netfilter/ip_nat_rtsp.c:462: error: `ct_rtsp_info' undeclared (first use in this function)
net/ipv4/netfilter/ip_nat_rtsp.c:462: error: `exp' undeclared (first use in this function)
net/ipv4/netfilter/ip_nat_rtsp.c:462: error: too many arguments to function `help_out'
net/ipv4/netfilter/ip_nat_rtsp.c:469: error: `ip_rtsp_lock' undeclared (first use in this function)
net/ipv4/netfilter/ip_nat_rtsp.c:454: warning: unused variable `tcph'
net/ipv4/netfilter/ip_nat_rtsp.c:455: warning: unused variable `datalen'
net/ipv4/netfilter/ip_nat_rtsp.c: In function `fini':
net/ipv4/netfilter/ip_nat_rtsp.c:476: error: `ip_nat_rtsp_hook' undeclared (first use in this function)
net/ipv4/netfilter/ip_nat_rtsp.c: In function `init':
net/ipv4/netfilter/ip_nat_rtsp.c:484: error: `ip_nat_rtsp_hook' undeclared (first use in this function)
net/ipv4/netfilter/ip_nat_rtsp.c: At top level:
net/ipv4/netfilter/ip_nat_rtsp.c:65: warning: `ports' defined but not used
net/ipv4/netfilter/ip_nat_rtsp.c:69: warning: `num_ports' defined but not used
net/ipv4/netfilter/ip_nat_rtsp.c:367: warning: `expected' defined but not used
:(
D'après la description ("en cours de portage"), je m'y attendais. Ca devrait marcher pour ceux qui utilisent le noyau 2.4.
[^] # Re: NAT et magneto numerique
Posté par lcld . En réponse au journal des news de free : une chaine freenews... à remplir :). Évalué à 1.
CC [M] net/ipv4/netfilter/ip_nat_rtsp.o
net/ipv4/netfilter/ip_nat_rtsp.c: In function `rtsp_mangle_tran':
net/ipv4/netfilter/ip_nat_rtsp.c:167: warning: implicit declaration of function `ip_conntrack_change_expect'
net/ipv4/netfilter/ip_nat_rtsp.c: In function `expected':
net/ipv4/netfilter/ip_nat_rtsp.c:368: error: storage size of `mr' isn't known
net/ipv4/netfilter/ip_nat_rtsp.c:368: warning: unused variable `mr'
net/ipv4/netfilter/ip_nat_rtsp.c: In function `help_out':
net/ipv4/netfilter/ip_nat_rtsp.c:411: error: structure has no member named `seq'
net/ipv4/netfilter/ip_nat_rtsp.c:431: error: `ct' undeclared (first use in this function)
net/ipv4/netfilter/ip_nat_rtsp.c:431: error: (Each undeclared identifier is reported only once
net/ipv4/netfilter/ip_nat_rtsp.c:431: error: for each function it appears in.)
net/ipv4/netfilter/ip_nat_rtsp.c:431: error: incompatible type for argument 2 of `rtsp_mangle_tran'
net/ipv4/netfilter/ip_nat_rtsp.c:431: warning: passing arg 3 of `rtsp_mangle_tran' from incompatible pointer type
net/ipv4/netfilter/ip_nat_rtsp.c:431: warning: passing arg 4 of `rtsp_mangle_tran' from incompatible pointer type
net/ipv4/netfilter/ip_nat_rtsp.c:431: warning: passing arg 5 of `rtsp_mangle_tran' makes integer from pointer without a cast
net/ipv4/netfilter/ip_nat_rtsp.c:431: error: too many arguments to function `rtsp_mangle_tran'
net/ipv4/netfilter/ip_nat_rtsp.c: At top level:
net/ipv4/netfilter/ip_nat_rtsp.c:449: error: syntax error before "enum"
net/ipv4/netfilter/ip_nat_rtsp.c:452: warning: function declaration isn't a prototype
net/ipv4/netfilter/ip_nat_rtsp.c: In function `help':
net/ipv4/netfilter/ip_nat_rtsp.c:453: error: `pskb' undeclared (first use in this function)
net/ipv4/netfilter/ip_nat_rtsp.c:456: error: `ctinfo' undeclared (first use in this function)
net/ipv4/netfilter/ip_nat_rtsp.c:462: error: `ct_rtsp_info' undeclared (first use in this function)
net/ipv4/netfilter/ip_nat_rtsp.c:462: error: `exp' undeclared (first use in this function)
net/ipv4/netfilter/ip_nat_rtsp.c:462: error: too many arguments to function `help_out'
net/ipv4/netfilter/ip_nat_rtsp.c:469: error: `ip_rtsp_lock' undeclared (first use in this function)
net/ipv4/netfilter/ip_nat_rtsp.c:454: warning: unused variable `tcph'
net/ipv4/netfilter/ip_nat_rtsp.c:455: warning: unused variable `datalen'
net/ipv4/netfilter/ip_nat_rtsp.c: In function `fini':
net/ipv4/netfilter/ip_nat_rtsp.c:476: error: `ip_nat_rtsp_hook' undeclared (first use in this function)
net/ipv4/netfilter/ip_nat_rtsp.c: In function `init':
net/ipv4/netfilter/ip_nat_rtsp.c:484: error: `ip_nat_rtsp_hook' undeclared (first use in this function)
net/ipv4/netfilter/ip_nat_rtsp.c: At top level:
net/ipv4/netfilter/ip_nat_rtsp.c:65: warning: `ports' defined but not used
net/ipv4/netfilter/ip_nat_rtsp.c:69: warning: `num_ports' defined but not used
net/ipv4/netfilter/ip_nat_rtsp.c:367: warning: `expected' defined but not used
:(
D'après la description ("en cours de portage"), je m'y attendais. Ca devrait marcher pour ceux qui utilisent le noyau 2.4.