Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24408 - module ip_nat_helper in vanilla-sources (2.4.21) can't compile properly with gcc 3.2.2 (unresolved symbols)
Summary: module ip_nat_helper in vanilla-sources (2.4.21) can't compile properly with ...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL: http://lists.insecure.org/lists/linux...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-13 14:18 UTC by wiono
Modified: 2003-07-13 16:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wiono 2003-07-13 14:18:04 UTC
this is what I get while make modules: 
Circular /usr/src/linux-2.4/include/linux/netfilter_ipv4/ip_conntrack_helper.h <- 
/usr/src/linux-2.4/include/linux/netfilter_ipv4/ip_conntrack.h dependency dropped. 
... 
-DKBUILD_BASENAME=ip_nat_helper  -c -o ip_nat_helper.o ip_nat_helper.c 
ip_nat_helper.c: In function `ip_nat_resize_packet': 
ip_nat_helper.c:87: warning: unused variable `data' 
ip_nat_helper.c: In function `ip_nat_helper_register_Rd18d114e': 
ip_nat_helper.c:493: warning: concatenation of string literals with __FUNCTION__ is 
deprecated 
ip_nat_helper.c: In function `ip_nat_helper_unregister_R2560cbea': 
ip_nat_helper.c:577: warning: concatenation of string literals with __FUNCTION__ is 
deprecated 
 
there's no error at the end of make modules and make modules_install but when I try 
for example insmod ip_nat_irc ports=6667,6660, I'm receiving such error: 
unable to load module ip_conntrack_irc 
ip_nat_irc: error registering helper for port 6660 
I suppose there are some missing netfilter modules so I copied  ip_nat_helper  

Reproducible: Always
Steps to Reproduce:
1. in /usr/src/linux-2.4.21 match all in netfilter configuration as modules 
2. build kernel,modules and instal modules 
3. modprobe ip_nat_irc ports=6667,XXXX (whatever) 
4. copy from kernel sources ip_nat_helper module into    
/lib/modules/2.4.21/kernel/net/ipv4/netfilter 
5. depmod -a -F /usr/src/linux/System.map 
Actual Results:  
Can not properly masquerade IRC Connections. I can get some files over DCC but I 
can't send files. 


System uname: 2.4.21 i586 AMD-K6(tm) 3D processor 
 
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg kde libg++ mad mikmod 
mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb 
alsa gdbm berkdb slang readline arts tetex aalib svga tcltk java mysql X sdl gpm 
tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt motif opengl mozilla 
apache2 clamav curl dnd flash fltk gd gstreamer jikes ladcca maildir memlimit oav 
samba sasl slp tiff usb wmf -gnome" 
COMPILER="gcc3" 
CHOST="i586-pc-linux-gnu" 
CFLAGS="-march=i586 -mcpu=k6-2 -O2 -pipe" 
CXXFLAGS="-march=i586 -mcpu=k6-2 -O2 -pipe" 
ACCEPT_KEYWORDS="x86"
Comment 1 Jay Pfeifer (RETIRED) gentoo-dev 2003-07-13 16:58:32 UTC
we do not patch the vanilla-sources. if the maintainers @ kernel.org update it, so will we. other than that, we provide the released kernels from kernel.org as-is. however, we do provide many gentoo-patched kernels that may be better for you such as gs-sources, gentoo-sources, & pfeifer-sources.

a description of gentoo kernels:

http://www.gentoo.org/doc/en/gentoo-kernel.xml
http://www.gentoo.org/proj/en/kernel/


Jay