From owner-freebsd-current@FreeBSD.ORG Sun Nov 30 16:46:35 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 345D1106564A for ; Sun, 30 Nov 2008 16:46:35 +0000 (UTC) (envelope-from zec@icir.org) Received: from fruitcake.ICSI.Berkeley.EDU (fruitcake.ICSI.Berkeley.EDU [192.150.186.11]) by mx1.freebsd.org (Postfix) with ESMTP id 1CC538FC25 for ; Sun, 30 Nov 2008 16:46:35 +0000 (UTC) (envelope-from zec@icir.org) Received: from jack.ICSI.Berkeley.EDU (jack [192.150.186.73]) by fruitcake.ICSI.Berkeley.EDU (8.12.11.20060614/8.12.11) with ESMTP id mAUGPWoS014093; Sun, 30 Nov 2008 08:26:02 -0800 (PST) Received: from localhost (zec@localhost) by jack.ICSI.Berkeley.EDU (8.13.1/8.13.1/Submit) with ESMTP id mAUGPRc8016531; Sun, 30 Nov 2008 08:25:27 -0800 X-Authentication-Warning: jack.ICSI.Berkeley.EDU: zec owned process doing -bs Date: Sun, 30 Nov 2008 08:25:27 -0800 (PST) From: Marko Zec X-X-Sender: zec@jack.ICSI.Berkeley.EDU To: "Paul B. Mahol" In-Reply-To: <3a142e750811300815we050f66l5abc85d02fe3931b@mail.gmail.com> Message-ID: References: <3a142e750811300815we050f66l5abc85d02fe3931b@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current Subject: Re: building module regression X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2008 16:46:35 -0000 On Sun, 30 Nov 2008, Paul B. Mahol wrote: > Hello > > With latest kernel it is no more possible > to do something like this (with net drivers): > > # cd /sys/modules/mii && make > > In file included from @/net/if_var.h:723, > from @/net/if.h:458, > from /usr/src/sys/modules/mii/../../dev/mii/acphy.c:82: > @/net/vnet.h:36:23: error: opt_route.h: No such file or directory > *** Error code 1 > > Stop in /usr/src/sys/modules/mii > > It is introduced once ifdef VIMAGE are removed from net/vnet.h in > 185419 revision. Yes #including any opt_*.h from an .h file is evil and will have to be backed out, bz@ and I are discussing possible not-so-evil alternatives and will hopefully replace the current hack soon. Thanks for reporting this, Marko