Skip to content

Build fails on kernel version 6.1.1-1-MANJARO - no acpi_video_set_dmi_backlight_type #115

@S-trace

Description

@S-trace

Hello.
I'm getting a following error when building faustus on kernel version 6.1.1-1-MANJARO.
Build was successful on previous (6.0) kernel releases like 6.0.14-1-MANJARO

LANG=C make
make -C /lib/modules/6.1.1-1-MANJARO/build M=/home/s-trace/src/faustus modules
make[1]: Entering directory '/usr/lib/modules/6.1.1-1-MANJARO/build'
  CC [M]  /home/s-trace/src/faustus/src/faustus.o
/home/s-trace/src/faustus/src/faustus.c: In function 'asus_wmi_add':
/home/s-trace/src/faustus/src/faustus.c:3111:17: error: implicit declaration of function 'acpi_video_set_dmi_backlight_type'; did you mean 'acpi_video_get_backlight_type'? [-Werror=implicit-function-declaration]
 3111 |                 acpi_video_set_dmi_backlight_type(acpi_backlight_vendor);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 acpi_video_get_backlight_type
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:250: /home/s-trace/src/faustus/src/faustus.o] Error 1
make[1]: *** [Makefile:1992: /home/s-trace/src/faustus] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.1.1-1-MANJARO/build'
make: *** [Makefile:9: default] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions