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 1Has 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 / \
PGP.sig
Description: This is a digitally signed message part
