From owner-freebsd-questions Wed Apr 29 07:30:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA12858 for freebsd-questions-outgoing; Wed, 29 Apr 1998 07:30:00 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mylanders.com (mylanders.com [206.252.160.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA12388 for ; Wed, 29 Apr 1998 07:28:12 -0700 (PDT) (envelope-from nat@mylanders.com) Received: from localhost (nat@localhost) by mylanders.com (8.8.8/8.8.5) with SMTP id JAA12044; Wed, 29 Apr 1998 09:41:10 -0500 (CDT) Date: Wed, 29 Apr 1998 09:41:10 -0500 (CDT) From: John Frader To: CyberPeasant cc: Tomas TPS Ulej , questions@FreeBSD.ORG Subject: Re: kernel compilation problem In-Reply-To: <199804290915.FAA12519@pollux.loco.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I had the same trouble going from a 2.2.1 machine to -stable except at first mine was erroring out with make depend because of the files in /usr/src/sys/dev/aic7xxx. Then I did a make clean in that directory and it errored out as your did. > cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -nostdinc -I- -I. -I../.. -I../../../include -DLINUX -DAPM_BROKEN_STATCLOCK > -DFAILSAFE -DCOMPAT_43 -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL > ../../scsi/sd.c > In file included from ../../sys/types.h:49, > from ../../sys/param.h:54, > from ../../scsi/sd.c:24: > machine/types.h:41: syntax error before `typedef' After a post to freebsd-stable and this reply I got it compiled just fine... Except the I deleted the files in /usr/src/sys/dev/aic7xxx and the files in /usr/src/sys/scsi before I re-cvsuped. >>I upgraded a 2.2.1 machine today from stable. The >>buildworld and installworld went ok. Then when I went to recompile the >> kernel I ran into some errors: >> ../../dev/aic7xxx/aicasm_scan.l: In function `yylex': >> ../../dev/aic7xxx/aicasm_scan.l:68: `T_DOWNLOAD' undeclared (first use >> this function) >It's amazing how old problems always seem to keep resurfacing. :-) >The trick here is to go into the above directory and delete any old >cruft. >The easiest way might be to delete everything in that directory and >re-cvsup >-DG >David Greenman >Co-founder/Principal Architect, The FreeBSD Project On Wed, 29 Apr 1998, CyberPeasant wrote: > > 5 hours back I try "make world". All finished successfull. After this i try > > recompile my kernel. "make depend" finished correctly. But when I type after > > make depend "make" I got this: > > > > cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit > > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > > -nostdinc -I- -I. -I../.. -I../../../include -DLINUX -DAPM_BROKEN_STATCLOCK > > -DFAILSAFE -DCOMPAT_43 -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL > > ../../scsi/sd.c > > In file included from ../../sys/types.h:49, > > from ../../sys/param.h:54, > > from ../../scsi/sd.c:24: > > machine/types.h:41: syntax error before `typedef' > > *** Error code 1 > > > > Stop. > > root@[SCREEN1.tps /usr/src/sys/compile/tps] # exit > > > > Some ideas about reason and/or fix step? > > > > -TPS > > > > If you try it again, does it work? (i.e. start the make again). If so, > suspect a hardware problem. (memory, most likely). > > Dave > -- > <----. mailto/pgpfinger: djv@bedford.net > <----|=================================== > <----' Crathva fxrjre > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message