From owner-freebsd-questions Tue Jul 23 5:53: 7 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 ADF4237B400 for ; Tue, 23 Jul 2002 05:53:02 -0700 (PDT) Received: from smtpout.mac.com (smtpout.mac.com [204.179.120.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BD6E43E4A for ; Tue, 23 Jul 2002 05:53:02 -0700 (PDT) (envelope-from danieleggert@mac.com) Received: from smtp-relay01.mac.com (smtp-relay01-en1 [10.13.10.224]) by smtpout.mac.com (8.12.1/8.10.2/1.0) with ESMTP id g6NCr2ea019329 for ; Tue, 23 Jul 2002 05:53:02 -0700 (PDT) Received: from asmtp02.mac.com (asmtp02-qfe3 [10.13.10.66]) by smtp-relay01.mac.com (8.12.1/8.12.1/1.0) with ESMTP id g6NCquWf027726 for ; Tue, 23 Jul 2002 05:52:56 -0700 (PDT) Received: from localhost ([80.196.143.125]) by asmtp02.mac.com (Netscape Messaging Server 4.15) with ESMTP id GZPD4700.RD4 for ; Tue, 23 Jul 2002 05:52:55 -0700 Date: Tue, 23 Jul 2002 14:52:53 +0200 Subject: Re: Problems compiling 4.6 kernel with dummynet Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) From: Daniel Eggert To: , Content-Transfer-Encoding: 7bit In-Reply-To: <047301c2322d$39b278f0$6a48becb@nocxp1> Message-Id: <1A30DA3E-9E3B-11D6-BDBE-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 The more haste the less speed. Of course: With the options IPFIREWALL it works perfectly. Thanks, Daniel tirsdag juli 23 2002 kl. 11:42 skrev Jett Tayer: > you should add: > options IPFIREWALL > to your kernel config. dummynet should be compiled > together with ipfw :P > > cheers, > jett tayer > > > ----- Original Message ----- > From: "Daniel Eggert" > To: > Sent: Tuesday, July 23, 2002 5:39 PM > Subject: Problems compiling 4.6 kernel with dummynet > > >> 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 >> > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message