Skip to content

Instantly share code, notes, and snippets.

@knz
Created January 15, 2021 19:02
Show Gist options
  • Save knz/89075cc5d09f9d0b455b61bf7774fc88 to your computer and use it in GitHub Desktop.
Save knz/89075cc5d09f9d0b455b61bf7774fc88 to your computer and use it in GitHub Desktop.
# make kernel -j8
...
--- linux_device.o ---
In file included from /data/usr/local/sys/modules/drm-current-kmod/linuxkpi/gplv2/src/linux_device.c:2:
/data/usr/local/sys/modules/drm-current-kmod/linuxkpi/gplv2/include/linux/pci.h:51:1: error: redefinition of 'pci_bus_read_config'
pci_bus_read_config(struct pci_bus *bus, unsigned int devfn,
^
/data/usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:1101:1: note: previous definition is here
pci_bus_read_config(struct pci_bus *bus, unsigned int devfn,
^
...
13 errors generated.
*** [linux_irq.o] Error code 1
make[4]: stopped in /data/usr/local/sys/modules/drm-current-kmod/linuxkpi
make[2]: stopped in /data/usr/obj/data/usr/src/amd64.amd64/sys/GENERIC
kena@kenax /usr/src % git log|head -n 1
commit 0b92d1dd18c148740cf00b985e8641ad1670ba87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment