Date: Wed, 29 Apr 1998 09:41:10 -0500 (CDT) From: John Frader <nat@mylanders.com> To: CyberPeasant <djv@bedford.net> Cc: Tomas TPS Ulej <tps@tps.sk>, questions@FreeBSD.ORG Subject: Re: kernel compilation problem Message-ID: <Pine.BSF.3.95q.980429093958.11857D-100000@mylanders.com> In-Reply-To: <199804290915.FAA12519@pollux.loco.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.980429093958.11857D-100000>