Date: Wed, 13 Jan 2021 10:32:01 +0000 (UTC) From: Filippo Moretti <filippomore@yahoo.com> To: FreeBSD Current <current@freebsd.org> Subject: Problem compiling drm-current-kmod Message-ID: <1798034025.1533341.1610533921529@mail.yahoo.com> References: <1798034025.1533341.1610533921529.ref@mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Good morning,=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 my system:[root@STING /usr/ports/graphics/drm-current-kmod]# uname -a FreeBSD STING 13.0-CURRENT FreeBSD 13.0-CURRENT #16 main-c255860-g2903606b6= 06: Tue Jan 12 04:59:16 CET 2021=C2=A0=C2=A0=C2=A0=C2=A0 root@STING:/usr/ob= j/usr/src/amd64.amd64/sys/STING=C2=A0 amd64 I get the following error while trying to upgrade drm-current-kmod from por= ts:/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.62_6/drivers= /gpu/drm/amd/amdgpu/amdgpu_device.c:4009:6: error: implicit declaration of = function 'pci_is_root_bus' is invalid in C99 [-Werror,-Wimplicit-function-d= eclaration] =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if (pci_is_root_bus(adev->pdev->= bus)) { =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^ /usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.62_6/drivers/gp= u/drm/amd/amdgpu/amdgpu_device.c:4009:6: note: did you mean 'pci_set_bus'? /usr/src/sys/dev/pci/pcivar.h:385:1: note: 'pci_set_bus' declared here PCI_ACCESSOR(bus,=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 BUS,=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 uint8_t) ^ /usr/src/sys/dev/pci/pcivar.h:371:2: note: expanded from macro 'PCI_ACCESSO= R' =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 __BUS_ACCESSOR(pci, var, PCI, iv= ar, type) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^ /usr/src/sys/sys/bus.h:812:22: note: expanded from macro '__BUS_ACCESSOR' static __inline void varp ## _set_ ## var(device_t dev, type t)=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^ <scratch space>:77:1: note: expanded from here pci_set_bus ^ 1 error generated.*** Error code 1 Stop. make[4]: stopped in /usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_= v5.4.62_6/amd/amdgpu *** Error code 1 *** Error code 1 *** Error code 1 Stop. make[1]: stopped in /usr/ports/graphics/drm-current-kmod *** Error code 1 Stop. make: stopped in /usr/ports/graphics/drm-current-kmod Filippo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1798034025.1533341.1610533921529>