I am having trouble compiling an untouched copy of the Kernel (Generic).
I started out by adding a few print lines (uprintf) to the /usr/src/sys/dev/usb/usb_hid.c. The idea is to see the program work thoroughly when attaching a usb hid device, but that's beside the point.
However, when I try to build the Kernel (
As I have said above I have not touched the config file of the Kernel and neither this specific file mentioned in the errors. Any ideas as to what might be causing this? Thanks
*EDIT* I have also tried building the original GENERIC version of the Kernel, with the same results.
I started out by adding a few print lines (uprintf) to the /usr/src/sys/dev/usb/usb_hid.c. The idea is to see the program work thoroughly when attaching a usb hid device, but that's beside the point.
However, when I try to build the Kernel (
# make buildkernel KERNCONF=[I]MYKERNEL[/I]
) I get the following two errors:
Code:
/usr/src/sys/dev/pci/pcivar.h:303:1:error: implicit declaration of function 'BUS_READ_IVAR' is invalid in C99
Code:
/usr/src/sys/dev/pci/pcivar.h:303:1:error: implicit declaration of function 'BUS_WRITE_IVAR' is invalid in C99
As I have said above I have not touched the config file of the Kernel and neither this specific file mentioned in the errors. Any ideas as to what might be causing this? Thanks
*EDIT* I have also tried building the original GENERIC version of the Kernel, with the same results.
Last edited by a moderator: