Change RANDOM_IP_ID to a sysctl

Gordon Bergling gbergling at 0xfce3.net
Wed Aug 10 07:05:14 PDT 2005


Simon 'corecode' Schubert wrote:

On 10.08.2005, at 15:29, Gordon Bergling wrote:

| linking kernel.debug
| ip_output.o(.text+0x1da): In function `ip_output':
| /home/gordon/src/ipid/d-sys/src/sys/netinet/ip_var.h:227: undefined 
reference to `ip_do_randomid'
| raw_ip.o(.text+0x448): In function `rip_output':
| /home/gordon/src/ipid/d-sys/src/sys/netinet/ip_var.h:227: undefined 
reference to `ip_do_randomid'
| *** Error code 1

Has anyone a hint how I could solve this?


The problem is that you declare ip_do_randomid as "static" in 
ip_input.c.  Just make it a global symbol and linking should work.


That exactly was the problem. I have updated the original patch.

Should I send it to submit, or there other things which should be 
corrected first?

best regards,

   Gordon





More information about the Kernel mailing list