On Sat, Dec 21, 2019 at 11:36:19AM +0000, Andrew Doran wrote: > Hi, > > On Sat, Dec 21, 2019 at 12:30:25PM +0100, K. Schreiner wrote: > > > after the last changes to src/sys/kern/kern_cpu.c compiling > > a custom kernel w/o "options CPU_UCODE" and "options COMPAT_60" > > fails in kern_cpu.c: > > > > compile vNBx64/kern_cpu.o > > /u/NetBSD/src/sys/kern/kern_cpu.c: In function 'cpuctl_ioctl': > > /u/NetBSD/src/sys/kern/kern_cpu.c:273:13: error: 'compat_cpuctl_ioctl' > > undeclared (first use in this function > > ); did you mean 'cpuctl_ioctl'? > > error = (*compat_cpuctl_ioctl)(l, cmd, data); > > ^~~~~~~~~~~~~~~~~~~ > > cpuctl_ioctl > > /u/NetBSD/src/sys/kern/kern_cpu.c:273:13: note: each undeclared identifier > > is reported only once for each fun > > ction it appears in > > This should be fixed now with: > > cvs rdiff -u -r1.88 -r1.89 src/sys/kern/kern_cpu.c > > > cvs rdiff -u -r1.1 -r1.2 src/sys/kern/subr_cpu.c > yep, kernel compiles fine again, both w/ (CPU_UCODE, COMPAT_60) and w/o.
Thank you very much for the quick fix Kurt