From owner-freebsd-current@FreeBSD.ORG Mon May 5 01:47:48 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 007EE37B401 for ; Mon, 5 May 2003 01:47:48 -0700 (PDT) Received: from nnd.itfs.nsk.su (nnd.itfs.nsk.su [212.20.32.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 987C243FAF for ; Mon, 5 May 2003 01:47:46 -0700 (PDT) (envelope-from nnd@nnd.itfs.nsk.su) Received: from nnd.itfs.nsk.su (localhost [127.0.0.1]) by nnd.itfs.nsk.su (8.12.9/8.12.9) with ESMTP id h458m9Qw003307 for ; Mon, 5 May 2003 15:48:09 +0700 (NOVST) (envelope-from nnd@nnd.itfs.nsk.su) Received: (from nnd@localhost) by nnd.itfs.nsk.su (8.12.9/8.12.9/Submit) id h458m9pe003306; Mon, 5 May 2003 15:48:09 +0700 (NOVST) Date: Mon, 5 May 2003 15:48:09 +0700 (NOVST) Message-Id: <200305050848.h458m9pe003306@nnd.itfs.nsk.su> From: nnd@mail.nsk.ru (Nickolay Dudorov) To: current@freebsd.org In-Reply-To: <20030502120140.GK93151@droso.net> X-Newsgroups: itfs.freebsd.current User-Agent: tin/1.5.17-20030326 ("Bubbles") (UNIX) (FreeBSD/5.0-CURRENT (i386)) Subject: Re: vlan broken ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 05 May 2003 08:47:48 -0000 In article <20030502120140.GK93151@droso.net> you wrote: > [-- text/plain, encoding quoted-printable, 20 lines --] > > sh /usr/src/sys/conf/newvers.sh VALE > cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. > -I/usr/src/sys -I/usr/src/sys/dev -I/usr/src/sys/contrib/dev/acpica > -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h > -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 > -ffreestanding -Werror vers.c > linking kernel > if_vlan.o: In function `vlan_modevent': > if_vlan.o(.text+0x1d0): undefined reference to `vlan_input_p' > if_vlan.o(.text+0x1f4): undefined reference to `vlan_input_p' > *** Error code 1 This is the result of the following change in the if_ethersubr.c: (with rev. 1.145 of this file all is OK): Index: if_ethersubr.c =================================================================== RCS file: /home/CVS/src/sys/net/if_ethersubr.c,v retrieving revision 1.145 retrieving revision 1.146 diff -b -u -r1.145 -r1.146 --- if_ethersubr.c 23 Apr 2003 23:45:57 -0000 1.145 +++ if_ethersubr.c 30 Apr 2003 12:57:40 -0000 1.146 @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)if_ethersubr.c 8.1 (Berkeley) 6/10/93 - * $FreeBSD: src/sys/net/if_ethersubr.c,v 1.145 2003/04/23 23:45:57 archie Exp $ + * $FreeBSD: src/sys/net/if_ethersubr.c,v 1.146 2003/04/30 12:57:40 markm Exp $ */ #include "opt_atalk.h" @@ -102,7 +102,7 @@ void (*ng_ether_attach_p)(struct ifnet *ifp); void (*ng_ether_detach_p)(struct ifnet *ifp); -void (*vlan_input_p)(struct ifnet *, struct mbuf *); +static void (*vlan_input_p)(struct ifnet *, struct mbuf *); /* bridge support */ int do_bridge;