From owner-freebsd-questions Wed Feb 21 7:22:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from be-well.ilk.org (lowellg.ne.mediaone.net [24.147.184.128]) by hub.freebsd.org (Postfix) with ESMTP id 7636137B491 for ; Wed, 21 Feb 2001 07:22:11 -0800 (PST) (envelope-from lowell@be-well.ilk.org) Received: (from lowell@localhost) by be-well.ilk.org (8.11.2/8.11.2) id f1LFMAa06900; Wed, 21 Feb 2001 10:22:10 -0500 (EST) (envelope-from lowell) To: freebsd-questions@freebsd.org Cc: davek@saturn5.com Subject: Re: make fails References: <20010221044337.A10303@atari.saturn5.com> From: Lowell Gilbert Date: 21 Feb 2001 10:22:10 -0500 In-Reply-To: davek@saturn5.com's message of "21 Feb 2001 13:43:57 +0100" Message-ID: <44zofgm57h.fsf@lowellg.ne.mediaone.net> Lines: 27 X-Mailer: Gnus v5.7/Emacs 20.7 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG davek@saturn5.com (Dave Kayal) writes: > when i try to rebuild the kernel make fails > > 1030 4:39:38 digitalmoon / >tail -10 blam > param.c:120: `MSGSSZ' undeclared here (not in a function) > param.c:120: initializer element is not constant > param.c:120: (near initialization for `msginfo.msgssz') > param.c:123: `MSGSEG' undeclared here (not in a function) > param.c:123: initializer element is not constant > param.c:123: (near initialization for `msginfo.msgseg') > *** Error code 1 > > Stop in /usr/src/sys/compile/DIGITALMOON.ORG. > # 1040 4:39:45 digitalmoon / > I recommend that you apply basic diagnostics: start with the GENERIC kernel, make sure you can compile that, and if you can, make your changes a few at a time until you have narrowed your problem down to a specific change; then you can figure out why that change is breaking things. I note that you have include one of the miibus NICs (xl) without the miibus code itself, which (as documented in a comment already in the file) isn't going to work. However, I don't think that's your only problem, because I wouldn't expect this error message from that mistake. Good luck. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message