Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Aug 1997 10:37:53 +0930 (CST)
From:      Greg Lehey <grog@lemis.com>
To:        pallenby@zibbi.mikom.csir.co.za (Paul Allenby)
Cc:        hackers@freebsd.org (FreeBSD Hackers)
Subject:   Re: kernel don't compile
Message-ID:  <199708070107.KAA01600@freebie.lemis.com>
In-Reply-To: <199708070013.CAA23202@zibbi.mikom.csir.co.za> from Paul Allenby at "Aug 7, 97 02:13:40 am"

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



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