DIGImend / digimend-kernel-drivers

DIGImend graphics tablet drivers for the Linux kernel
GNU General Public License v2.0
1.16k stars 172 forks source link

Install fails in OpenSuse Tumbleweed #662

Closed OldNick closed 1 year ago

OldNick commented 1 year ago

I've just tried to install Digimend on tumbleweed which failed Below the contents of the make.log DKMS make.log for digimend-11 for kernel 6.3.7-1-default (x86_64) Sat 24 Jun 11:21:56 CEST 2023 make[1]: Entering directory '/var/lib/dkms/digimend/11/build' make -C /lib/modules/6.3.7-1-default/build M=/var/lib/dkms/digimend/11/build modules CC [M] /var/lib/dkms/digimend/11/build/hid-kye.o CC [M] /var/lib/dkms/digimend/11/build/hid-uclogic-core.o CC [M] /var/lib/dkms/digimend/11/build/hid-uclogic-rdesc.o CC [M] /var/lib/dkms/digimend/11/build/hid-uclogic-params.o CC [M] /var/lib/dkms/digimend/11/build/hid-polostar.o CC [M] /var/lib/dkms/digimend/11/build/hid-viewsonic.o /var/lib/dkms/digimend/11/build/hid-uclogic-params.c: In function ‘uclogic_params_init’: /var/lib/dkms/digimend/11/build/hid-uclogic-params.c:1227:17: error: implicit declaration of function ‘hid_is_using_ll_driver’ [-Werror=implicit-function-declaration] 1227 | || !hid_is_using_ll_driver(hdev, &usb_hid_driver) | ^~~~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/digimend/11/build/hid-uclogic-params.c:1227:47: error: ‘usb_hid_driver’ undeclared (first use in this function); did you mean ‘to_hid_driver’? 1227 | || !hid_is_using_ll_driver(hdev, &usb_hid_driver) | ^~~~~~~~~~~~~~ | to_hid_driver /var/lib/dkms/digimend/11/build/hid-uclogic-params.c:1227:47: note: each undeclared identifier is reported only once for each function it appears in /var/lib/dkms/digimend/11/build/hid-uclogic-params.c:1349:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1349 | if (bNumInterfaces != 3) { | ^ /var/lib/dkms/digimend/11/build/hid-uclogic-params.c:1367:9: note: here 1367 | case VID_PID(USB_VENDOR_ID_HUION, | ^~~~ cc1: some warnings being treated as errors make[3]: *** [/usr/src/linux-6.3.7-1/scripts/Makefile.build:253: /var/lib/dkms/digimend/11/build/hid-uclogic-params.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [../../../linux-6.3.7-1/Makefile:2040: /var/lib/dkms/digimend/11/build] Error 2 make[1]: *** [Makefile:25: modules] Error 2 make[1]: Leaving directory '/var/lib/dkms/digimend/11/build'

and the output of "gcc -v"

Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/13/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,ada,go,d,jit,m2 --enable-offload-targets=nvptx-none,amdgcn-amdhsa, --enable-offload-defaulted --without-cuda-driver --enable-host-shared --enable-checking=release --disable-werror --with-gxx-include-dir=/usr/include/c++/13 --with-libstdcxx-zoneinfo=/usr/share/zoneinfo --enable-ssp --disable-libssp --disable-libvtv --enable-cet=auto --disable-libcc1 --enable-plugin --with-bugurl=https://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --with-slibdir=/lib64 --with-system-zlib --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-libphobos --enable-version-specific-runtime-libs --with-gcc-major-version-only --enable-linker-build-id --enable-linux-futex --enable-gnu-indirect-function --program-suffix=-13 --without-system-libunwind --enable-multilib --with-arch-32=x86-64 --with-tune=generic --with-build-config=bootstrap-lto-lean --enable-link-serialization --build=x86_64-suse-linux --host=x86_64-suse-linux Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.1.1 20230522 [revision dd36656ada05731c069ecd5b1878380294fb1f3e] (SUSE Linux)

Haven't a clue what it all means...

OldNick commented 1 year ago

I discovered, by reading further in the issues and bugs here, that its a problem arising from the kernel version... which has been resolved so, at least for tumbleweed users, you need to download the source rather than version 11. The installation then runs without hitch.