From owner-freebsd-stable@FreeBSD.ORG Sat Jan 14 00:51:33 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8E2D16A41F for ; Sat, 14 Jan 2006 00:51:33 +0000 (GMT) (envelope-from cesare.gargano@email.it) Received: from smtp-out2.email.it (smtp-out2.email.it [80.247.70.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1291A43D46 for ; Sat, 14 Jan 2006 00:51:33 +0000 (GMT) (envelope-from cesare.gargano@email.it) Received: by smtp-out2.email.it (Email.it, from userid 101) id C24531BC01F; Sat, 14 Jan 2006 01:51:41 +0100 (CET) Received: from ip-38-154.sn1.eutelia.it (ip-38-154.sn1.eutelia.it [62.94.38.154])by smtp-out2.email.it (Email.it) with ESMTP id 6D4201BC013for ; Sat, 14 Jan 2006 01:51:24 +0100 (CET) From: Cesare Gargano To: freebsd-stable@freebsd.org Content-Type: text/plain Date: Sat, 14 Jan 2006 01:50:33 +0100 Message-Id: <1137199833.40272.1.camel@plusiagamma.ghiaia.net> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Copyrighted-Material: Please visit http://www.email.it/ita/privacy.html Subject: FreeBSD 6.0 buildkernel failed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: cesare.gargano@email.it List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jan 2006 00:51:33 -0000 There's a problem with VLAN_INPUT_TAG definition in /usr/src/sys/pci/if_ti.c in which the arguments passed are 3 (three) and not 4 (four). In according with /usr/src/sys/net/if_vlan_var.h at line ~107 we find: #define VLAN_INPUT_TAG(_ifp, _m, _t, _errcase) do { \ struct m_tag *mtag; \ mtag = m_tag_alloc(MTAG_VLAN, MTAG_VLAN_TAG, ... ... I set _errcase to 'return' in if_ti.c: VLAN_INPUT_TAG(ifp, m, vlan_tag, return); ^^^^^^ but I don't know if this is what you want. Now I can compile my kernel. See you. +kae # uname -a FreeBSD plusiagamma.ghiaia.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Jan 12 00:58:32 CET 2006 kae@plusiagamma.ghiaia.net:/usr/obj/usr/src/sys/ PLUSIAGAMMA i386 Error output: ===> ti (all) cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTIO N_HEADERS -include /usr/obj/usr/src/sys/PLUSIAGAMMA/opt_global.h -I. -I@ -I@/con trib/altq -I@/../inc lude -finline-limit=8000 -fno-common -I/usr/obj/usr/src/sys/PLUSIAGAMMA -mno-al ign-long-strings -mp referred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-d ecls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/src/sys/modules/ti/../../pci/if_ti.c /usr/src/sys/modules/ti/../../pci/if_ti.c:2536:35: macro "VLAN_INPUT_TAG" requir es 4 arguments, but only 3 given /usr/src/sys/modules/ti/../../pci/if_ti.c: In function `ti_rxeof': /usr/src/sys/modules/ti/../../pci/if_ti.c:2536: error: `VLAN_INPUT_TAG' undeclar ed (first use in thi s function) /usr/src/sys/modules/ti/../../pci/if_ti.c:2536: error: (Each undeclared identifi er is reported only once /usr/src/sys/modules/ti/../../pci/if_ti.c:2536: error: for each function it appe ars in.) *** Error code 1 Stop in /usr/src/sys/modules/ti. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/PLUSIAGAMMA. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Vuoi proteggere la tua casa? Chiedi a Ras come, clicca e fai un preventivo online! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=4027&d=14-1