Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Apr 1998 17:36:55 -0500 (CDT)
From:      John Frader <nat@mylanders.com>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Kernel compile problem after upgrading to stable Apr28th 
Message-ID:  <Pine.BSF.3.95q.980428173533.3895A-100000@mylanders.com>
In-Reply-To: <Pine.BSF.3.95q.980428155012.2878A-100000@mylanders.com>

next in thread | previous in thread | raw e-mail | index | archive | help

 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:
 
 make depend
 cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit
 -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith
 -nostdinc -I- -I. -I../.. -I../../../include -DAPM_BROKEN_STATCLOCK
 -DFAILSAFE -DCOMPAT_43 -DFFS -DINET -DKERNEL -DMAXUSERS=20 -UKERNEL
 ../../i386/i386/genassym.c
 cc -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit
 -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith
 -nostdinc -I- -I. -I../.. -I../../../include -DAPM_BROKEN_STATCLOCK
 -DFAILSAFE -DCOMPAT_43 -DFFS -DINET -DKERNEL -DMAXUSERS=20 genassym.o -o
 genassym
 ./genassym >assym.s
 rm -f param.c
 cp ../../conf/param.c .
 sh ../../kern/vnode_if.sh ../../kern/vnode_if.src
 make -f ../../dev/aic7xxx/Makefile MAKESRCPATH=../../dev/aic7xxx
 Warning: Object directory not changed from original /sys/compile/MOCOM
 yacc -d ../../dev/aic7xxx/aicasm_gram.y
 mv y.tab.c aicasm_gram.c
 cc -O -I.   -c aicasm_gram.c
 lex -t  ../../dev/aic7xxx/aicasm_scan.l > aicasm_scan.c
 cc -O -I.   -c aicasm_scan.c
 ../../dev/aic7xxx/aicasm_scan.l: In function `yylex':
 ../../dev/aic7xxx/aicasm_scan.l:68: `T_DOWNLOAD' undeclared (first use
 this function)
 ../../dev/aic7xxx/aicasm_scan.l:68: (Each undeclared identifier is
 reported only once
 ../../dev/aic7xxx/aicasm_scan.l:68: for each function it appears in.)
 *** Error code 1
 
 Stop.
 *** Error code 1
 
 I don't use the aic controller. I use the ahc. When I looked at the make
 file it the compile directory it had:
 
 BEFORE_DEPEND=aic7xxx_{seq,reg}.h
 
 In the Makefile on a machine I upgraded from 2.2.1 to stable on the 6th
 of this month it had:
 
 BEFORE_DEPEND=
 
 So I changed BEFORE_DEPEND=aic7xxx_{seq,reg}.h to just BEFORE_DEPEND=
 and then tried to do make depend. It got a little further but
 then errored out like this:
 
 ../../pci/aic7870.c:63: aic7xxx_reg.h: No such file or directory
 ../../i386/eisa/aic7770.c:59: aic7xxx_reg.h: No such file or directory
 ../../i386/scsi/aic7xxx.c:121: aic7xxx_reg.h: No such file or directory
 ../../i386/scsi/aic7xxx.c:122: aic7xxx_seq.h: No such file or directory
 mkdep: compile failed
 *** Error code 1
 
 Stop.
 
 
 Is there something I am doing wrong or did wrong? Or is maybe something
 broken?
 
 
 
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" 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.980428173533.3895A-100000>