sinfomicien / displaylink-evdi-opensuse

6 stars 8 forks source link

Adapt to Leap 15.1 #7

Open Speirs47 opened 5 years ago

Speirs47 commented 5 years ago

Hi. Is there any chance to adapt this installer to Leap 15.1? I've just bought a docking station and I have problems getting it to work.

I'm trying to fix the source files myself but with my lack of knowledge in C\C++ it's hard.

Here's some errors I'm trying to deal with right now

/var/lib/dkms/evdi/1.5.0/build/evdi_connector.c: In function ‘evdi_best_single_encoder’: /var/lib/dkms/evdi/1.5.0/build/evdi_connector.c:91:6: warning: passing argument 2 of ‘drm_encoder_find’ makes pointer from integer without a cast [-Wint-conversion] enc_id); ^~ In file included from /usr/src/linux-4.12.14-lp151.28.10/include/drm/drm_modeset_helper_vtables.h:33:0, from /usr/src/linux-4.12.14-lp151.28.10/include/drm/drm_crtc_helper.h:43, from /var/lib/dkms/evdi/1.5.0/build/evdi_connector.c:16: /usr/src/linux-4.12.14-lp151.28.10/include/drm/drm_encoder.h:233:35: note: expected ‘struct drm_file ’ but argument is of type ‘int’ static inline struct drm_encoder drm_encoder_find(struct drm_device dev, ^~~~ /var/lib/dkms/evdi/1.5.0/build/evdi_connector.c:87:9: error: too few arguments to function ‘drm_encoder_find’ return drm_encoder_find(connector->dev, ^~~~ In file included from /usr/src/linux-4.12.14-lp151.28.10/include/drm/drm_modeset_helper_vtables.h:33:0, from /usr/src/linux-4.12.14-lp151.28.10/include/drm/drm_crtc_helper.h:43, from /var/lib/dkms/evdi/1.5.0/build/evdi_connector.c:16: /usr/src/linux-4.12.14-lp151.28.10/include/drm/drm_encoder.h:233:35: note: declared here static inline struct drm_encoder drm_encoder_find(struct drm_device *dev, ^~~~ /var/lib/dkms/evdi/1.5.0/build/evdi_connector.c:92:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ./tools/objtool/objtool orc generate --module --no-fp --retpoline "/var/lib/dkms/evdi/1.5.0/build/.tmp_evdi_modeset.o"; make[4]: [/usr/src/linux-4.12.14-lp151.28.10/scripts/Makefile.build:325: /var/lib/dkms/evdi/1.5.0/build/evdi_connector.o] Błąd 1 make[4]: Oczekiwanie na niezakończone zadania.... if [ /var/lib/dkms/evdi/1.5.0/build/evdi_modeset.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/evdi/1.5.0/build/evdi_modeset.o"; fi; ./tools/objtool/objtool orc generate --module --no-fp --retpoline "/var/lib/dkms/evdi/1.5.0/build/.tmp_evdi_encoder.o"; if [ /var/lib/dkms/evdi/1.5.0/build/evdi_encoder.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/evdi/1.5.0/build/evdi_encoder.o"; fi; make[3]: [/usr/src/linux-4.12.14-lp151.28.10/Makefile:1565: module/var/lib/dkms/evdi/1.5.0/build] Błąd 2 make[2]: [Makefile:152: sub-make] Błąd 2 make[1]: [Makefile:24: __sub-make] Błąd 2 make[1]: Opuszczenie katalogu '/usr/src/linux-4.12.14-lp151.28.10-obj/x86_64/default' make: [Makefile:22: all] Błąd 2