From owner-freebsd-hackers Wed Aug 6 18:09:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA03119 for hackers-outgoing; Wed, 6 Aug 1997 18:09:39 -0700 (PDT) Received: from nico.telstra.net (nico.telstra.net [139.130.204.16]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id SAA03109 for ; Wed, 6 Aug 1997 18:09:34 -0700 (PDT) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by nico.telstra.net (8.6.10/8.6.10) with ESMTP id LAA10911; Thu, 7 Aug 1997 11:08:53 +1000 From: Greg Lehey Received: (grog@localhost) by freebie.lemis.com (8.8.7/8.6.12) id KAA01600; Thu, 7 Aug 1997 10:37:53 +0930 (CST) Message-Id: <199708070107.KAA01600@freebie.lemis.com> Subject: Re: kernel don't compile In-Reply-To: <199708070013.CAA23202@zibbi.mikom.csir.co.za> from Paul Allenby at "Aug 7, 97 02:13:40 am" To: pallenby@zibbi.mikom.csir.co.za (Paul Allenby) Date: Thu, 7 Aug 1997 10:37:53 +0930 (CST) Cc: hackers@freebsd.org (FreeBSD Hackers) Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8250 Fax: +61-8-8388-8250 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Paul Allenby writes: > As of this morning... > > intr_machdep.c > cc -c -O -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -nostdinc -I- -I. -I../.. -I../../../include -DAPM_BROKEN_STATCLOCK -DLINUX -DFAILSAFE -DCOMPAT_43 -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL -include opt_global.h ../../i386/isa/isa.c > ../../i386/isa/isa.c: In function `isa_dmastatus': > ../../i386/isa/isa.c:935: parse error before `<' > ../../i386/isa/isa.c:938: parse error before `==' > ../../i386/isa/isa.c:943: `_data' undeclared (first use this function) > ../../i386/isa/isa.c:943: (Each undeclared identifier is reported only once > ../../i386/isa/isa.c:943: for each function it appears in.) > ../../i386/isa/isa.c:943: warning: control reaches end of non-void function > ../../i386/isa/isa.c: At top level: > ../../i386/isa/isa.c:943: parse error before `)' > ../../i386/isa/isa.c:944: braced-group within expression allowed only inside a function This looks suspciously like a cvs error. You'll probably find a diff line at 935. Try this: cd /usr/src/sys/i386/isa ln -s `cat CVS/Repository` RCS rcsdiff -wu isa.c You should find significant differences. To fix things, do co isa.c This assumes you're tracking -current. Otherwise you need to find out the RCS version number or tag and check that out (and use this for the rcsdiff, as well). Greg