Subject: -current kernel build fails
To: None <port-mac68k@netbsd.org>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: port-mac68k
Date: 10/09/2002 10:38:57
Hi,

a 68040 specific kernel build from -current cources fails with link errors:

[...]

sh ../../../../conf/newvers.sh
cc  -msoft-float -ffreestanding  -m68040 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized  -Dmac68k -I.  -I../../../../arch -I../../../.. -nostdinc -DHZ="0x3c" -DM68040 -DLKM -DNMBCLUSTERS="0x800" -DNBUF="0x800" -DDIAGNOSTIC -DDEBUG -DCOMPAT_16 -DAKBD_LAYOUT="(KB_DE | KB_NODEAD)" -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT  -c vers.c
ld -n -Ttext 0 -e start -S -o netbsd ${SYSTEM_OBJ} vers.o
bus_dma.o: In function `_bus_dmamap_sync':
bus_dma.o(.text+0x7e6): undefined reference to `DCFL_40'
bus_dma.o(.text+0x80e): undefined reference to `DCFP_40'
bus_dma.o(.text+0x832): undefined reference to `DCFL_40'
bus_dma.o(.text+0x8fa): undefined reference to `DCFL_40'
bus_dma.o(.text+0x92c): undefined reference to `DCFL_40'
bus_dma.o(.text+0x990): undefined reference to `DCPL_40'
bus_dma.o(.text+0x9b8): undefined reference to `DCPP_40'
bus_dma.o(.text+0x9dc): undefined reference to `DCPL_40'
bus_space.o: In function `bus_mem_add_mapping':
bus_space.o(.text+0x304): undefined reference to `TBIS_40'
machdep.o: In function `initcpu':
machdep.o(.text+0x702): undefined reference to `DCIS_40'
pmap.o: In function `pmap_protect':
pmap.o(.text+0x15a8): undefined reference to `DCFP_40'
pmap.o(.text+0x15b4): undefined reference to `ICPP_40'
pmap.o(.text+0x15ea): undefined reference to `TBIS_40'
pmap.o: In function `pmap_enter':
pmap.o(.text+0x1c2e): undefined reference to `DCFP_40'
pmap.o(.text+0x1c3a): undefined reference to `ICPP_40'
pmap.o(.text+0x1c72): undefined reference to `TBIS_40'
pmap.o: In function `pmap_kenter_pa':
pmap.o(.text+0x1efc): undefined reference to `DCFP_40'
pmap.o(.text+0x1f08): undefined reference to `ICPP_40'
pmap.o: In function `pmap_kremove':
pmap.o(.text+0x21bc): undefined reference to `TBIS_40'
pmap.o: In function `pmap_zero_page':
pmap.o(.text+0x29de): undefined reference to `TBIS_40'
pmap.o(.text+0x2a02): undefined reference to `TBIS_40'
pmap.o: In function `pmap_copy_page':
pmap.o(.text+0x2aa4): undefined reference to `TBIS_40'
pmap.o(.text+0x2abc): undefined reference to `TBIS_40'
pmap.o(.text+0x2ae6): more undefined references to `TBIS_40' follow
pmap.o: In function `pmap_changebit':
pmap.o(.text+0x3796): undefined reference to `DCFP_40'
pmap.o(.text+0x37a2): undefined reference to `ICPP_40'
pmap.o(.text+0x37dc): undefined reference to `TBIS_40'
sys_machdep.o: In function `cachectl1':
sys_machdep.o(.text+0x12a): undefined reference to `DCFA_40'
sys_machdep.o(.text+0x130): undefined reference to `ICPA_40'
sys_machdep.o(.text+0x144): undefined reference to `DCFL_40'
sys_machdep.o(.text+0x150): undefined reference to `ICPL_40'
sys_machdep.o(.text+0x168): undefined reference to `DCFP_40'
sys_machdep.o(.text+0x174): undefined reference to `ICPP_40'
sys_machdep.o(.text+0x186): undefined reference to `DCFA_40'
sys_machdep.o(.text+0x19a): undefined reference to `DCPL_40'
sys_machdep.o(.text+0x1b2): undefined reference to `DCPP_40'
sys_machdep.o(.text+0x1c2): undefined reference to `DCFA_40'
sys_machdep.o(.text+0x1d6): undefined reference to `DCFL_40'
sys_machdep.o(.text+0x1ee): undefined reference to `DCFP_40'
sys_machdep.o(.text+0x26a): undefined reference to `DCIU_40'
sys_machdep.o(.text+0x272): undefined reference to `DCIU_40'
sys_machdep.o(.text+0x278): undefined reference to `ICIA_40'
trap.o: In function `writeback':
trap.o(.text+0xb7e): undefined reference to `DCFL_40'
vm_machdep.o: In function `physaccess':
vm_machdep.o(.text+0x3fa): undefined reference to `TBIAS_40'
vm_machdep.o: In function `physunaccess':
vm_machdep.o(.text+0x456): undefined reference to `TBIAS_40'
*** Error code 1

Stop.
make: stopped in /sys/arch/mac68k/compile/FG54

I thought this was fixed? What do I miss?

        hauke


(kernel config file 'ftp://la.causeuse.org/pub/macbsd/FG54')

-- 
Now without signature.