Date: 16 Jan 2006 09:36:42 -0500 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Laurence Sanford <lauasanf@wilderness.homeip.net> Cc: questions@freebsd.org Subject: Re: Unable to make buildkernel (fresh cvsup to RELENG_6) Message-ID: <448xtggryd.fsf@be-well.ilk.org> In-Reply-To: <43C8F379.4050001@wilderness.homeip.net> References: <43C8F379.4050001@wilderness.homeip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Laurence Sanford <lauasanf@wilderness.homeip.net> writes: > I'm upgrading a 5.4 machine to 6. I can buildworld successfully, but > attempting to make buildkernel fails: > > HEADERS -I. -I@ -I@/contrib/altq -I@/../include -I/usr/include > -I/usr/obj/usr/src/sys/Colossus > /usr/src/sys/modules/ti/../../pci/if_ti.c > /usr/src/sys/modules/ti/../../pci/if_ti.c:2536:35: macro > "VLAN_INPUT_TAG" requires 4 arguments, but only 3 given > mkdep: compile failed > *** 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/Colossus. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > Yes, it's a customer kernel, however, it's worth noting that GENERIC > has failed in exactly the same place with the same error. Any > suggestions? Looks like you're pulling in /usr/include/net/if_vlan_var.h instead of /usr/src/sys/net/if_vlan_var.h. Do you have CPATH or C_INCLUDE_PATH set in the environment? If not, maybe you have some stale files around, or an incorrectly updated source tree. Make sure you have the correct /usr/src/sys/net/if_vlan_var.h, and try again with a pristine /usr/obj. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?448xtggryd.fsf>