Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 2002 11:39:05 +0200
From:      Daniel Eggert <danieleggert@mac.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Problems compiling 4.6 kernel with dummynet
Message-ID:  <079E7CCF-9E20-11D6-8C6D-000A27AF5EFE@mac.com>

next in thread | raw e-mail | index | archive | help
I want to use dummynet with ipfw for traffic shaping.

When i add the following lines

options         DUMMYNET
options         BRIDGE
options         HZ=10
options         NMBCLUSTERS=8192
options         IPFILTER
options         IPFILTER_LOG
options         IPFILTER_DEFAULT_BLOCK
options         IPDIVERT

to my kernel configuration and  do a 'config FIREWALL', 'cd 
../../compile/FIREWALL/', 'make depend', 'make', upon running the 'make' 
I get the following error message:

ip_dummynet.o: In function `find_queue':
ip_dummynet.o(.text+0xe15): undefined reference to `last_pkt'
ip_dummynet.o(.text+0xe1e): undefined reference to `last_pkt'
ip_dummynet.o(.text+0xe29): undefined reference to `last_pkt'
ip_dummynet.o(.text+0xe34): undefined reference to `last_pkt'
ip_dummynet.o(.text+0xe3d): undefined reference to `last_pkt'
ip_dummynet.o(.text+0xe43): more undefined references to `last_pkt' 
follow
ip_dummynet.o: In function `dummynet_flush':
ip_dummynet.o(.text+0x1822): undefined reference to `ip_fw_chain_head'
ip_dummynet.o: In function `dn_rule_delete_fs':
ip_dummynet.o(.text+0x18d8): undefined reference to `ip_fw_default_rule'
ip_dummynet.o: In function `dn_rule_delete':
ip_dummynet.o(.text+0x1966): undefined reference to `ip_fw_default_rule'
ip_dummynet.o: In function `delete_pipe':
ip_dummynet.o(.text+0x20b1): undefined reference to `ip_fw_chain_head'
ip_dummynet.o(.text+0x21ad): undefined reference to `ip_fw_chain_head'
ip_dummynet.o: In function `ip_dn_init':
ip_dummynet.o(.text+0x25c9): undefined reference to `ip_dn_ruledel_ptr'
*** Error code 1

What do I do wrong? What does all this mean? I hope someone can help me.

Daniel


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?079E7CCF-9E20-11D6-8C6D-000A27AF5EFE>