Skip to contentSkip to conversation

rtsp conntrack compilation error 2.6.18

DISCUSSION F Helmer 4 participants 5 messages Dec 25, 2006 – Jan 25, 2007 netfilter

lore
Share & tools
lore

F Helmer

author
#0 lore raw

Hello

I am not sure if this is the correct group to post to?

I am trying to patch my 2.6.18 kernel (latest pom using svn + runme extra) and I
get the following compilation error:

 CC [M]  net/ipv4/netfilter/ip_conntrack_netlink.o
 CC [M]  net/ipv4/netfilter/ip_conntrack_proto_sctp.o
 CC [M]  net/ipv4/netfilter/ip_conntrack_rtsp.o

net/ipv4/netfilter/ip_conntrack_rtsp.c: In function 'help_out':
net/ipv4/netfilter/ip_conntrack_rtsp.c:340: error: too few arguments to function
'ip_conntrack_expect_alloc' net/ipv4/netfilter/ip_conntrack_rtsp.c:371: warning: implicit declaration of function 'ip_conntrack_expect_free'
make[4]: *** [net/ipv4/netfilter/ip_conntrack_rtsp.o] Error 1 make[3]: *** [net/ipv4/netfilter] Error 2
make[2]: *** [net/ipv4] Error 2
make[1]: *** [net] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.18'
make: *** [debian/stamp-build-kernel] Error 2 fredrikh@helmer:/usr/src/linux$

Do you happen to know what I am doing wrong? Or is there a "better" patch somewhere?

Many thanks in advance

Merry Christmas

F Helmer

#1 lore raw
Quoted 25 lines · F Helmer

Hello

I am not sure if this is the correct group to post to?

I am trying to patch my 2.6.18 kernel (latest pom using svn + runme extra) and I
get the following compilation error:

 CC [M]  net/ipv4/netfilter/ip_conntrack_netlink.o
 CC [M]  net/ipv4/netfilter/ip_conntrack_proto_sctp.o
 CC [M]  net/ipv4/netfilter/ip_conntrack_rtsp.o

net/ipv4/netfilter/ip_conntrack_rtsp.c: In function 'help_out':
net/ipv4/netfilter/ip_conntrack_rtsp.c:340: error: too few arguments to function
'ip_conntrack_expect_alloc' net/ipv4/netfilter/ip_conntrack_rtsp.c:371: warning: implicit declaration of function 'ip_conntrack_expect_free'
make[4]: *** [net/ipv4/netfilter/ip_conntrack_rtsp.o] Error 1 make[3]: *** [net/ipv4/netfilter] Error 2
make[2]: *** [net/ipv4] Error 2
make[1]: *** [net] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.18'
make: *** [debian/stamp-build-kernel] Error 2 fredrikh@helmer:/usr/src/linux$

Quoted 2 lines

Do you happen to know what I am doing wrong? Or is there a "better" patch somewhere?

The patch needs to be updated to work with current kernels. Its not actively maintained, so you'll probably have to do it yourself.

#2 lore raw

I've been thinking many times to update the rtsp conntrack patch but where can I find information about changes in the API (except for reading diff's)? Are there any maintained API doc for netfilter? /Sverker

----- Original Message ----- From: "Patrick McHardy" <[email protected]>
To: "F Helmer" <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, January 10, 2007 7:10 AM
Subject: Re: rtsp conntrack compilation error 2.6.18

Quoted 35 lines
Quoted 25 lines · F Helmer

Hello

I am not sure if this is the correct group to post to?

I am trying to patch my 2.6.18 kernel (latest pom using svn + runme extra) and I
get the following compilation error:

 CC [M]  net/ipv4/netfilter/ip_conntrack_netlink.o
 CC [M]  net/ipv4/netfilter/ip_conntrack_proto_sctp.o
 CC [M]  net/ipv4/netfilter/ip_conntrack_rtsp.o

net/ipv4/netfilter/ip_conntrack_rtsp.c: In function 'help_out':
net/ipv4/netfilter/ip_conntrack_rtsp.c:340: error: too few arguments to function
'ip_conntrack_expect_alloc' net/ipv4/netfilter/ip_conntrack_rtsp.c:371: warning: implicit declaration of function 'ip_conntrack_expect_free'
make[4]: *** [net/ipv4/netfilter/ip_conntrack_rtsp.o] Error 1 make[3]: *** [net/ipv4/netfilter] Error 2
make[2]: *** [net/ipv4] Error 2
make[1]: *** [net] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.18'
make: *** [debian/stamp-build-kernel] Error 2 fredrikh@helmer:/usr/src/linux$

Quoted 2 lines

Do you happen to know what I am doing wrong? Or is there a "better" patch somewhere?

The patch needs to be updated to work with current kernels. Its not actively maintained, so you'll probably have to do it yourself.

#3 lore raw
Quoted 4 lines · Sverker Abrahamsson

I've been thinking many times to update the rtsp conntrack patch but where can I find information about changes in the API (except for reading diff's)? Are there any maintained API doc for netfilter? /Sverker

For helpers - no. Just look at a simple helper in the kernel (like netbios-ns).

#4 lore raw
In reply to Sverker Abrahamsson
Quoted 4 lines · Sverker Abrahamsson

I've been thinking many times to update the rtsp conntrack patch but where can I find information about changes in the API (except for reading diff's)? Are there any maintained API doc for netfilter? /Sverker

Some time ago I digged into the RTSP code to patch it so it would compile without NAT. I have some notes on it that might be helpful:

http://www.singularity.be/node/6276

The result was mailed to this mailinglist in september:

http://lists.netfilter.org/pipermail/netfilter-devel/2006-September/025507.html

kind regards,
-- Steven

Quoted 47 lines

----- Original Message -----
From: "Patrick McHardy" <[email protected]>
To: "F Helmer" <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, January 10, 2007 7:10 AM
Subject: Re: rtsp conntrack compilation error 2.6.18

Quoted 37 lines
Quoted 27 lines · F Helmer

Hello

I am not sure if this is the correct group to post to?

I am trying to patch my 2.6.18 kernel (latest pom using svn + runme extra)
and I
get the following compilation error:

CC [M]  net/ipv4/netfilter/ip_conntrack_netlink.o
CC [M]  net/ipv4/netfilter/ip_conntrack_proto_sctp.o
CC [M]  net/ipv4/netfilter/ip_conntrack_rtsp.o

net/ipv4/netfilter/ip_conntrack_rtsp.c: In function 'help_out':
net/ipv4/netfilter/ip_conntrack_rtsp.c:340: error: too few arguments to function
'ip_conntrack_expect_alloc' net/ipv4/netfilter/ip_conntrack_rtsp.c:371: warning: implicit declaration of
function 'ip_conntrack_expect_free'
make[4]: *** [net/ipv4/netfilter/ip_conntrack_rtsp.o] Error 1 make[3]: *** [net/ipv4/netfilter] Error 2
make[2]: *** [net/ipv4] Error 2
make[1]: *** [net] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.18'
make: *** [debian/stamp-build-kernel] Error 2 fredrikh@helmer:/usr/src/linux$

Quoted 2 lines

Do you happen to know what I am doing wrong? Or is there a "better" patch somewhere?

The patch needs to be updated to work with current kernels. Its not actively maintained, so you'll probably have to do it yourself.

Signature · 6 lines
My amazon wishlist:
http://www.amazon.com/gp/registry/1DB4XNEIEQBPB

"Remember, there are those who complain, and there are those who solve problems. 
 The problem-solvers are called "engineers"?so go ahead and be one, even if the 
 problem and its solution are relatively unsophisticated!" -- planetanalog.com