DragonFly BSD
DragonFly kernel List (threaded) for 2005-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Change RANDOM_IP_ID to a sysctl


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Wed, 10 Aug 2005 15:42:02 +0200

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
Description: This is a digitally signed message part



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]