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
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]