Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 42736

Summary: Unresolved symbols in ip_tables
Product: Gentoo Linux Reporter: Sveinung Kvilhaugsvik <sveinung>
Component: [OLD] Core systemAssignee: Daniel Ahlberg (RETIRED) <aliz>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: My kernelconfiguration
Output of emerge info
output from make dep
The output from make bzImage
The output from make modules

Description Sveinung Kvilhaugsvik 2004-02-24 04:10:56 UTC
I emerged iptables a while ago, and compiled the kernelmodules (I use vanilla-sources 2.4.25) I found in the script using menuconfig (menuconfig checks for depenensyes, does'nt it?). However, there are unresolved symbols in ip_conntrack.o and ip_tables.o. The symblos missing are: symbol nf_register_sockopt and nf_unregister_sockopt
 


Reproducible: Always
Steps to Reproduce:
1. recompile kernel with packetfiltering, connetiontracking (FTP and IRC) and IPtables (LOG, Limit math and connectionstate) enabled
2. modules-update


Actual Results:  
depmod: *** Unresolved symbols in
/lib/modules/2.4.25/kernel/net/ipv4/netfilter/ip_conntrack.o
depmod: *** Unresolved symbols in
/lib/modules/2.4.25/kernel/net/ipv4/netfilter/ip_tables.o


Expected Results:  
no erors, and iptables sholud have worked

I have even rebooted, but it still does not work
Comment 1 Sveinung Kvilhaugsvik 2004-02-24 04:12:11 UTC
Created attachment 26252 [details]
My kernelconfiguration
Comment 2 Sveinung Kvilhaugsvik 2004-03-07 16:06:06 UTC
I did a simple textsearch within the kernel. The symbols I need are exported in net/netsyms.c. Now all I have to figure out is how to enable it in the makefile (and mabe how to make iptables depend on it)...
Comment 3 Daniel Ahlberg (RETIRED) gentoo-dev 2004-05-10 07:28:57 UTC
Please post emerge info and full buildlog
Comment 4 Sveinung Kvilhaugsvik 2004-05-10 10:22:13 UTC
I dont use 2.4 anymore, so I makred this as resolved, as everything works fine in 2.6 (all I needed to do there was to change iptables to modules to get rid off annoying errormessages), however it might miss a dependency anyway. (If it is enabled by default in 2.6) 

However, if you are interested (if the bug still is there), I will post the data you requested under (and if you need me to test, I could do that to)
Comment 5 Sveinung Kvilhaugsvik 2004-05-10 10:25:28 UTC
Created attachment 31115 [details]
Output of emerge info

Output of emerge info
Comment 6 Sveinung Kvilhaugsvik 2004-05-10 10:44:38 UTC
Created attachment 31120 [details]
output from make dep

The output of make dep. On the comanline:
make dep  >> /tmp/mdep
md5sum: WARNING: 1 of 13 computed checksums did NOT match
Comment 7 Sveinung Kvilhaugsvik 2004-05-10 10:46:14 UTC
Created attachment 31121 [details]
The output from make bzImage

The output fro make bzImage. The comandline:
make bzImage  >> /tmp/mbz
string.c:384: warning: conflicting types for built-in function `bcopy'
{standard input}: Assembler messages:
{standard input}:997: Warning: indirect lcall without `*'
{standard input}:1073: Warning: indirect lcall without `*'
{standard input}:1152: Warning: indirect lcall without `*'
{standard input}:1231: Warning: indirect lcall without `*'
{standard input}:1247: Warning: indirect lcall without `*'
{standard input}:1257: Warning: indirect lcall without `*'
{standard input}:1326: Warning: indirect lcall without `*'
{standard input}:1341: Warning: indirect lcall without `*'
{standard input}:1352: Warning: indirect lcall without `*'
{standard input}:1813: Warning: indirect lcall without `*'
{standard input}:1915: Warning: indirect lcall without `*'
bootsect.S: Assembler messages:
bootsect.S:240: Warning: indirect lcall without `*'
setup.S: Assembler messages:
setup.S:167: Warning: value 0x37ffffff truncated to 0x37ffffff
setup.S:640: Warning: indirect lcall without `*'
Root device is (3, 5)
Boot sector 512 bytes.
Setup is 2639 bytes.
System is 1118 kB
warning: kernel is too big for standalone boot from floppy
Comment 8 Sveinung Kvilhaugsvik 2004-05-10 10:53:09 UTC
Created attachment 31122 [details]
The output from make modules

The output from make modules. Comandline:
make modules  >> /tmp/mmod
make[2]: Circular
/usr/src/linux-2.4.25/include/linux/netfilter_ipv4/ip_conntrack_helper.h <-
/usr/src/linux-2.4.25/include/linux/netfilter_ipv4/ip_conntrack.h dependency
dropped.

If you need me to, I can do it again with make clean first. (As said, only if
you are interested, on my part the problem is solved)

Well, better check if I have forgotten to close other bugs as well.