Subject: more lkm fun
To: MacBSD Mailing List <port-mac68k@NetBSD.ORG>
From: David Bushong <dbushong@cory.EECS.Berkeley.EDU>
List: port-mac68k
Date: 03/13/1997 01:17:02
OK, so I compiled my own recent kernel, fired up modload on the color
video lkm and got a thrilling:
modload: Can't reserve memory: Operation not permitted.
Or something to that effect. So i figured the lkm was out of sync with my
kernel. I used Mar 8 -current tarballs to build the kernel and restock my
/usr/{include{,machine,m68k,sys}}. Then doing make on the lkm produced:
cc -pipe -D_KERNEL -D_LKM -I/sys -I/sys/arch -Werror -Wno-uninitialized
-c video_lkm.c
In file included from video_lkm.c:25:
/sys/arch/mac68k/dev/nubus.h:230: syntax error before `bus_space_tag_t'
*** Error code 1
Stop.
cc -pipe -D_KERNEL -D_LKM -I/sys -I/sys/arch -Werror -Wno-uninitialized
-c video_lkm.c
In file included from video_lkm.c:25:
/sys/arch/mac68k/dev/nubus.h:230: syntax error before `bus_space_tag_t'
*** Error code 1
Stop.
I triple checked nubus.h and can't figure out what the hell's wrong for
the life of me.. any guesses?
_/_/_/_/ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ _/ _/ _/ _/ _/ David P. Bushong -- (510) 845-3271 _/
_/ _/ _/_/_/ _/_/_/ dbushong@cory.eecs.berkeley.edu _/
_/ _/ _/ _/ _/ http://www-inst.eecs.berkeley.edu/~dbushong_/
_/_/_/_/_/_/ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/