Change RANDOM_IP_ID to a sysctl

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Wed Aug 10 06:43:11 PDT 2005


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.

cheers
  simon
--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low $$$ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \
Attachment:
PGP.sig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00008.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: This is a digitally signed message part"
URL: <http://lists.dragonflybsd.org/pipermail/kernel/attachments/20050810/6930cdca/attachment-0020.obj>


More information about the Kernel mailing list