From owner-freebsd-current Thu Dec 27 20:13:16 2001 Delivered-To: freebsd-current@freebsd.org Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id 5ACA937B41A; Thu, 27 Dec 2001 20:13:03 -0800 (PST) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.11.6/8.11.6) id fBS4CLB90032; Fri, 28 Dec 2001 06:12:21 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200112280412.fBS4CLB90032@zibbi.icomtek.csir.co.za> Subject: Re: [PATCH] if_ar and if_sr compile problem In-Reply-To: <3C2BCB18.368F90C5@digisle.net> from Maksim Yevmenkin at "Dec 27, 2001 05:30:00 pm" To: myevmenk@digisle.net (Maksim Yevmenkin) Date: Fri, 28 Dec 2001 06:12:21 +0200 (SAT) Cc: julian@elischer.org (Julian Elischer), current@FreeBSD.ORG, jhay@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Max, You are right about the problem and I guess the fix is one way to do it. I would prefer that if_sppp.h does not require device drivers to suddenly need to include network include files, so I have asked Joerg about it. > Julian Elischer wrote: > > > > there are SEPARATE modules for the netgraph versions > > ng_sr and ng_ar, compiled from the same sources.. > > > > ng_sync_sr and ng_sync_ar are specifically for the non-netgraph versions. > > > > -r-xr-xr-x 1 root wheel 26500 Nov 7 00:08 /boot/kernel/ng_sync_ar.ko > > -r-xr-xr-x 1 root wheel 28523 Nov 7 00:08 /boot/kernel/ng_sync_sr.ko > > > > compiled from /sys/modules/netgraph/sync_sr and sync_ar > > > > you need to find what is broken in the NON netgraph case.. > > [...] > > > > it looks like if_ar and if_sr modules will not compile > > > unless you have enabled NETGRAPH. patches are simple and > > > attached. > > ok, i'm sorry :) i said it wrong. what i meant to say is that > there are also non-NETGRAPH modules called "if_ar" and "if_sr" > and these two will not compile, because of missing headers. > > thanks, > max > John -- John Hay -- John.Hay@icomtek.csir.co.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message