Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 May 2003 15:48:09 +0700 (NOVST)
From:      nnd@mail.nsk.ru (Nickolay Dudorov)
To:        current@freebsd.org
Subject:   Re: vlan broken ?
Message-ID:  <200305050848.h458m9pe003306@nnd.itfs.nsk.su>
In-Reply-To: <20030502120140.GK93151@droso.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305050848.h458m9pe003306>