compilation problem with cuseeme patch.
Hi!!
I'm trying to use cuseeme patch with netfilter and downloaded the patch
from the cvs repository.
While building the kernel with the new patch, i'm not able to do linking. The reason is the cuseeme(ip_nat_cuseeme.c) is using function ip_nat_mangle_udp_packet() function which is not defined.
Please let me know, if i'm missing some other things while adding the patch.
Thanks in advance.
regards
-prasanth
Error dump while building the kernel:
net/network.o: In function `cuseeme_mangle_outgoing':
net/network.o(.text+0x4c498): undefined reference to`ip_nat_mangle_udp_packet'
net/network.o(.text+0x4c498): relocation truncated to fit: R_ARM_PC24 ip_nat_mangle_udp_packetnet/network.o: In function `cuseeme_mangle_incoming':
net/network.o(.text+0x4c514): undefined reference to `ip_nat_mangle_udp_packet'
net/network.o(.text+0x4c514): relocation truncated to fit: R_ARM_PC24 ip_nat_mangle_udp_packet
net/network.o(.text+0x4c56c): undefined reference to `ip_nat_mangle_udp_packet'
net/network.o(.text+0x4c56c): relocation truncated to fit: R_ARM_PC24 ip_nat_mangle_udp_packet
net/network.o(.text+0x4c5f4): undefined reference to `ip_nat_mangle_udp_packet'
net/network.o(.text+0x4c5f4): relocation truncated to fit: R_ARM_PC24 ip_nat_mangle_udp_packet
make[2]: *** [vmlinux] Error 1
make[2]: Leaving directory `/home/krishnap/work/lsi/homebase/linux/linux-2.4.10' make[1]: *** [obelix] Error 2
make[1]: Leaving directory `/home/krishnap/work/lsi/homebase/linux'
Quoted 10 lines · Krishna Prasanth P
Hi!!
I'm trying to use cuseeme patch with netfilter and downloaded the patch
from the cvs repository.
While building the kernel with the new patch, i'm not able to do linking. The reason is thecuseeme(ip_nat_cuseeme.c)is using functionip_nat_mangle_udp_packet()function which is not defined.Please let me know, if i'm missing some other things while adding the patch.
Hi Krishna,
You will need at least kernel version 2.4.20 + the "03_2.4.21.patch" from patch-o-matic/submitted/ for this to compile and work correctly.
ip_nat_mangle_udp_packet entered the kernel somewhere between 2.4.20 and 2.4.21 and is needed by the cuseeme nat module.
regards,
Filip
Quoted 3 lines · Krishna Prasanth P
Hi!!
I'm trying to use cuseeme patch with netfilter and downloaded the patch
from the cvs repository.
a) Which kernel version are you using
b) did you correctly use the 'runme' program or did you apply the patch manually?
Quoted 3 lines
While building the kernel with the new patch, i'm not able to do linking. The reason is the
cuseeme(ip_nat_cuseeme.c)is using functionip_nat_mangle_udp_packet()function which is not defined.
net/ipv4/netfilter/ip_nat_helper.c includes this function, at least in all kernels released for at least one year.
Quoted 1 line
-prasanth
Signature · 5 lines
- Harald Welte <[email protected]> http://www.netfilter.org/ ============================================================================ "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie