[Bug 289647] graphics/drm-61-kmod: X11 with nvidia-drm-61-kmod fails to start after commit ac934345a14f
| Newsgroups | gmane.os.freebsd.devel.x11 |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289647 --- Comment #23 from Tomoaki AOKI <[email protected]> --- (In reply to Bjoern A. Zeeb from comment #22) Tried, but failed to build, both on graphics/nvidia-drm-61-kmod-devel and graphics/nvidia-drm-66-kmod-devel. Note that graphics/nvidia-drm-*-kmod-devel are slave ports of corresponding graphics/nvidia-drm-*-kmod, and currently both are at exactly same version (as Production Branch of driver has the newest version now). And also note that nvidia side of distfiles are exactly the same. (Only DRM side of distfiles differ.) Same as with my pending patch to upgrade to 580.82.09. The error is as follows. (All the same error). --- nvidia-drm-freebsd-lkpi.o --- nvidia-drm-freebsd-lkpi.c:125:11: error: use of undeclared identifier 'MODULE_NAME' 125 | .name = MODULE_NAME, | ^ nvidia-drm-freebsd-lkpi.c:128:12: error: use of undeclared identifier 'dummy_nv_pci_remove'; did you mean 'dummy_nv_pci_probe'? 128 | .remove = dummy_nv_pci_remove, | ^~~~~~~~~~~~~~~~~~~ | dummy_nv_pci_probe nvidia-drm-freebsd-lkpi.c:108:1: note: 'dummy_nv_pci_probe' declared here 108 | dummy_nv_pci_probe(struct pci_dev *pci_dev __unused, | ^ nvidia-drm-freebsd-lkpi.c:132:15: error: unexpected ';' before '}' 132 | .isdrm = true; | ^ nvidia-drm-freebsd-lkpi.c:185:52: error: incompatible pointer types passing 'struct pci_driver *' to parameter of type 'const struct pci_device_id *' [-Werror,-Wincompatible-pointer-types] 185 | if (linux_pci_attach_device(sc->dev, NULL, &nv_pci_driver, pdev)) { | ^~~~~~~~~~~~~~ /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:1292:33: note: passing argument to parameter here 1292 | const struct pci_device_id *, struct pci_dev *); | ^ 4 errors generated. *** [nvidia-drm-freebsd-lkpi.o] Error code 1 make: stopped making "all" in /usr/ports/graphics/nvidia-drm-66-kmod-devel/work/NVIDIA-FreeBSD-x86_64-580.82.07/src/nvidia-drm make: 1 error make: stopped making "all" in /usr/ports/graphics/nvidia-drm-66-kmod-devel/work/NVIDIA-FreeBSD-x86_64-580.82.07/src/nvidia-drm ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped making "all" in /usr/ports/graphics/nvidia-drm-66-kmod-devel -- You are receiving this mail because: You are the assignee for the bug.