From owner-freebsd-questions Tue Jul 23 2:39:19 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73BF037B400 for ; Tue, 23 Jul 2002 02:39:17 -0700 (PDT) Received: from smtpout.mac.com (smtpout.mac.com [204.179.120.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 039BB43E3B for ; Tue, 23 Jul 2002 02:39:17 -0700 (PDT) (envelope-from danieleggert@mac.com) Received: from smtp-relay02.mac.com (smtp-relay02-en1 [10.13.10.225]) by smtpout.mac.com (8.12.1/8.10.2/1.0) with ESMTP id g6N9dG2F010578 for ; Tue, 23 Jul 2002 02:39:16 -0700 (PDT) Received: from asmtp02.mac.com (asmtp02-qfe3 [10.13.10.66]) by smtp-relay02.mac.com (8.12.1/8.12.1/1.0) with ESMTP id g6N9dBrE025506 for ; Tue, 23 Jul 2002 02:39:11 -0700 (PDT) Received: from localhost ([80.196.143.125]) by asmtp02.mac.com (Netscape Messaging Server 4.15) with ESMTP id GZP45A00.R6U for ; Tue, 23 Jul 2002 02:39:10 -0700 Date: Tue, 23 Jul 2002 11:39:05 +0200 Mime-Version: 1.0 (Apple Message framework v482) Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: Problems compiling 4.6 kernel with dummynet From: Daniel Eggert To: freebsd-questions@FreeBSD.ORG Content-Transfer-Encoding: 7bit Message-Id: <079E7CCF-9E20-11D6-8C6D-000A27AF5EFE@mac.com> X-Mailer: Apple Mail (2.482) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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