Subject: Re: kernel compile, 20 Oct. sources
To: None <perry@piermont.com>
From: the Riz <riz@boogers.sf.ca.us>
List: port-alpha
Date: 10/21/1997 12:47:47
Perry Metzger wrote:
> 
> Comment out rnd in GENERIC. It doesn't work. It should have been
> marked "experimental".
> 
> > cc -g -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
> > -Wno-format -mno-fp-regs -I. -I../../../../arch -I../../../.. -nostdinc
> > -DEXEC_ECOFF -DEXEC_ELF64 -DEXEC_SCRIPT -DKTRACE -DDIAGNOSTIC -DFFS -DMFS
> > -DCD9660 -DMSDOSFS -DNFS -DFIFO -DNFSSERVER -DINET -DCOMPAT_43 -DCOMPAT_10
> > -DCOMPAT_11 -DCOMPAT_12 -DSYSVSHM -DLKM -DUCONSOLE -DMAXUSERS=8 -D_KERNEL
> > -Dalpha  -c ../../../../dev/rnd.c
> > cc1: warnings being treated as errors
> > ../../../../dev/rnd.c:728: warning: function declaration isn't a prototype
> > *** Error code 1
> > 

OK, now in the final link, I get about 800k of error messages, of the form:

sh ../../../../conf/newvers.sh
cc -g -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -Wno-format -m
no-fp-regs -I. -I../../../../arch -I../../../.. -nostdinc -DEXEC_ECOFF -DEXEC_EL
F64 -DEXEC_SCRIPT -DKTRACE -DDIAGNOSTIC -DFFS -DMFS -DCD9660 -DMSDOSFS -DNFS -DF
IFO -DNFSSERVER -DINET -DCOMPAT_43 -DCOMPAT_10 -DCOMPAT_11 -DCOMPAT_12 -DSYSVSHM
 -DLKM -DUCONSOLE -DMAXUSERS=8 -D_KERNEL  -Dalpha  -c vers.c
ld -N -Ttext fffffc0000300000 -e __start -G 4 -X -o netbsd ${SYSTEM_OBJ} vers.o
ld: warning: cannot find entry symbol __start; defaulting to fffffc0000300000
aic7xxx.o: In function `ahc_scsi_cmd':
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:62: undefined referen
ce to `alpha_pal_rdps'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:62: undefined referen
ce to `alpha_pal_rdps'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:63: undefined referen
ce to `alpha_pal_swpipl'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:63: undefined referen
ce to `alpha_pal_swpipl'
aic7xxx.o: In function `ahc_scsi_cmd':
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/aic7xxx.c:2517: u
ndefined reference to `alpha_pal_swpipl'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/aic7xxx.c:2517: u
ndefined reference to `alpha_pal_swpipl'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/aic7xxx.c:2539: u
ndefined reference to `alpha_pal_swpipl'
aic7xxx.o:/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/aic7xxx
.c:2539: more undefined references to `alpha_pal_swpipl' follow
aic7xxx.o: In function `ahc_scsi_cmd':
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:62: undefined referen
ce to `alpha_pal_rdps'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:62: undefined referen
ce to `alpha_pal_rdps'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:63: undefined referen
ce to `alpha_pal_swpipl'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:63: undefined referen
ce to `alpha_pal_swpipl'
aic7xxx.o: In function `ahc_scsi_cmd':
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/aic7xxx.c:2701: u
ndefined reference to `alpha_pal_swpipl'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/aic7xxx.c:2701: u
ndefined reference to `alpha_pal_swpipl'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/aic7xxx.c:2716: u
ndefined reference to `alpha_pal_swpipl'
aic7xxx.o:/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/aic7xxx
.c:2716: more undefined references to `alpha_pal_swpipl' follow
aic7xxx.o: In function `ahc_free_scb':
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:62: undefined referen
ce to `alpha_pal_rdps'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:62: undefined referen
ce to `alpha_pal_rdps'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:63: undefined referen
ce to `alpha_pal_swpipl'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:63: undefined referen
ce to `alpha_pal_swpipl'
aic7xxx.o: In function `ahc_free_scb':
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/aic7xxx.c:2789: u
ndefined reference to `alpha_pal_swpipl'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/aic7xxx.c:2789: u
ndefined reference to `alpha_pal_swpipl'
aic7xxx.o: In function `ahc_get_scb':
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:62: undefined referen
ce to `alpha_pal_rdps'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:62: undefined referen
ce to `alpha_pal_rdps'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:63: undefined referen
ce to `alpha_pal_swpipl'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:63: undefined referen
ce to `alpha_pal_swpipl'
aic7xxx.o: In function `ahc_get_scb':
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/aic7xxx.c:2859: u
ndefined reference to `alpha_pal_swpipl'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/aic7xxx.c:2859: u
ndefined reference to `alpha_pal_swpipl'
aic7xxx.o: In function `ahc_timeout':
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:62: undefined referen
ce to `alpha_pal_rdps'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:62: undefined referen
ce to `alpha_pal_rdps'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:63: undefined referen
ce to `alpha_pal_swpipl'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:63: undefined referen
ce to `alpha_pal_swpipl'
aic7xxx.o: In function `ahc_timeout':
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/aic7xxx.c:3146: u
ndefined reference to `alpha_pal_swpipl'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/aic7xxx.c:3146: u
ndefined reference to `alpha_pal_swpipl'
bha.o: In function `bha_free_ccb':
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:62: undefined referen
ce to `alpha_pal_rdps'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:62: undefined referen
ce to `alpha_pal_rdps'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:63: undefined referen
ce to `alpha_pal_swpipl'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:63: undefined referen
ce to `alpha_pal_swpipl'
bha.o: In function `bha_free_ccb':
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/bha.c:508: undefi
ned reference to `alpha_pal_swpipl'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/bha.c:508: undefi
ned reference to `alpha_pal_swpipl'
bha.o: In function `bha_get_ccb':
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:62: undefined referen
ce to `alpha_pal_rdps'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:62: undefined referen
ce to `alpha_pal_rdps'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:63: undefined referen
ce to `alpha_pal_swpipl'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:63: undefined referen
ce to `alpha_pal_swpipl'
bha.o: In function `bha_get_ccb':
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/bha.c:646: undefi
ned reference to `alpha_pal_swpipl'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/bha.c:646: undefi
ned reference to `alpha_pal_swpipl'
bha.o: In function `bha_done':
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/bha.c:828: undefi
ned reference to `bcopy'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/bha.c:828: undefi
ned reference to `bcopy'
bha.o: In function `bha_scsi_cmd':
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/bha.c:1302: undef
ined reference to `bcopy'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/bha.c:1302: undef
ined reference to `bcopy'
bha.o: In function `bha_scsi_cmd':
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:62: undefined referen
ce to `alpha_pal_rdps'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:62: undefined referen
ce to `alpha_pal_rdps'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:63: undefined referen
ce to `alpha_pal_swpipl'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:63: undefined referen
ce to `alpha_pal_swpipl'
bha.o: In function `bha_scsi_cmd':
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/bha.c:1379: undef
ined reference to `alpha_pal_swpipl'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/bha.c:1379: undef
ined reference to `alpha_pal_swpipl'
bha.o: In function `bha_timeout':
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:62: undefined referen
ce to `alpha_pal_rdps'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:62: undefined referen
ce to `alpha_pal_rdps'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:63: undefined referen
ce to `alpha_pal_swpipl'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:63: undefined referen
ce to `alpha_pal_swpipl'
bha.o: In function `bha_timeout':
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/bha.c:1477: undef
ined reference to `alpha_pal_swpipl'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/bha.c:1477: undef
ined reference to `alpha_pal_swpipl'
aha.o: In function `aha_free_ccb':
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:62: undefined referen
ce to `alpha_pal_rdps'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:62: undefined referen
ce to `alpha_pal_rdps'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:63: undefined referen
ce to `alpha_pal_swpipl'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:63: undefined referen
ce to `alpha_pal_swpipl'
aha.o: In function `aha_free_ccb':
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/aha.c:497: undefi
ned reference to `alpha_pal_swpipl'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/aha.c:497: undefi
ned reference to `alpha_pal_swpipl'
aha.o: In function `aha_get_ccb':
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:62: undefined referen
ce to `alpha_pal_rdps'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:62: undefined referen
ce to `alpha_pal_rdps'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:63: undefined referen
ce to `alpha_pal_swpipl'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/machine/intr.h:63: undefined referen
ce to `alpha_pal_swpipl'
aha.o: In function `aha_get_ccb':
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/aha.c:634: undefi
ned reference to `alpha_pal_swpipl'
/mnt/usr/src/sys/arch/alpha/compile/GENERIC/../../../../dev/ic/aha.c:634: undefi
ned reference to `alpha_pal_swpipl'

[lots of stuff deleted]

+j

-- 
Jeff Rizzo                                         http://boogers.sf.ca.us/~riz