Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Failure to build 68060 kernel



Hi,

A while ago I posted a problem I saw when trying to compile a kernel with
-m68060 flags. The compile would typically stop like this:

ld -n -Ttext 0 -e start -S -o netbsd ${SYSTEM_OBJ} vers.o
pmap.o: In function `pmap_bootstrap':
pmap.o(.text+0x2d0): undefined reference to `DCIS_60'
pmap.o: In function `pmap_init':
pmap.o(.text+0x7e8): undefined reference to `DCIS_60'
pmap.o: In function `pmap_protect':

(and so on)

If -m68060 is in neither COPTS nor COPTFLAGS, I can recompile pmap.o (and
a few others that report problems) and it links fine.

But m68k/include/cacheops.h includes cacheops_60.h, so why isn't the stuff
defined in cacheops_60.h being missed? I'm missing something myself
here...

Thanks,
John Klos
Sixgirls Computing Labs



Home | Main Index | Thread Index | Old Index