Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on Ubuntu 22.04 kernel 6.1.0 #429

Open
peterdedecker83 opened this issue Jul 25, 2023 · 1 comment
Open

Build fails on Ubuntu 22.04 kernel 6.1.0 #429

peterdedecker83 opened this issue Jul 25, 2023 · 1 comment

Comments

@peterdedecker83
Copy link

Hi,

Using the latest clone from the repository, I get the make.log file in attach. Please ignore version number, it was just the latest clone using the instructions at https://mrk.sh/linux/displaylink/fix-displaylink-kernel6.0/

Thanks!

$ uname -a
Linux omer 6.1.0-060100rc5drmtip20221118-generic #202211180211 SMP PREEMPT_DYNAMIC Fri Nov 18 03:02:15 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

make.log

@lando07
Copy link

lando07 commented Jul 26, 2023

I have a similar issue, where it seems to be a weird thing with how gcc compiles files. I was able to get it to compile perfectly on my previous install, but after my new one, evdi just refuses to compile. I'll put my make output below:

DKMS make.log for evdi-1.12.0+dfsg for kernel 6.2.16-060216-generic (x86_64)
Wed Jul 26 01:16:24 AM CDT 2023
make: Entering directory '/usr/src/linux-headers-6.2.16-060216-generic'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.2.0-17ubuntu1) 12.2.0
  You are using:           gcc-12 (Debian 12.2.0-14) 12.2.0
  CC [M]  /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_platform_drv.o
  CC [M]  /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_platform_dev.o
  CC [M]  /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_sysfs.o
  CC [M]  /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_modeset.o
  CC [M]  /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_connector.o
  CC [M]  /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_encoder.o
  CC [M]  /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_drm_drv.o
  CC [M]  /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_fb.o
  CC [M]  /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_gem.o
  CC [M]  /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_painter.o
/var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_fb.c: In function ‘evdifb_create’:
/var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_fb.c:408:24: error: ‘struct drm_fb_helper’ has no member named ‘fbdev’; did you mean ‘dev’?
  408 |         efbdev->helper.fbdev = info;
      |                        ^~~~~
      |                        dev
/var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_fb.c: In function ‘evdi_fbdev_destroy’:
/var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_fb.c:462:28: error: ‘struct drm_fb_helper’ has no member named ‘fbdev’; did you mean ‘dev’?
  462 |         if (efbdev->helper.fbdev) {
      |                            ^~~~~
      |                            dev
/var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_fb.c:463:39: error: ‘struct drm_fb_helper’ has no member named ‘fbdev’; did you mean ‘dev’?
  463 |                 info = efbdev->helper.fbdev;
      |                                       ^~~~~
      |                                       dev
/var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_fb.c: In function ‘evdi_fbdev_unplug’:
/var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_fb.c:540:28: error: ‘struct drm_fb_helper’ has no member named ‘fbdev’; did you mean ‘dev’?
  540 |         if (efbdev->helper.fbdev) {
      |                            ^~~~~
      |                            dev
/var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_fb.c:543:39: error: ‘struct drm_fb_helper’ has no member named ‘fbdev’; did you mean ‘dev’?
  543 |                 info = efbdev->helper.fbdev;
      |                                       ^~~~~
      |                                       dev
make[1]: *** [scripts/Makefile.build:252: /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi_fb.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:2027: /var/lib/dkms/evdi/1.12.0+dfsg/build] Error 2
make: Leaving directory '/usr/src/linux-headers-6.2.16-060216-generic'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants