Current-Users archive

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

Re: building kernel w/o (CPU_UCODE and COMPAT_60) fails



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              

Thank you,
Andrew


Home | Main Index | Thread Index | Old Index