Skip to content

building problems #55

@adam-ce

Description

@adam-ce

hi,
i have building problems after installing mba6x_bl to linux mint using the ubuntu deb package. it worked before, but apparently i changed something to the system and it stopped.

madams-mint-on-MacBookAir madam # dkms install mba6xbl/1.0.0

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=4.4.0-21-generic all KVERSION=4.4.0-21-generic....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.4.0-21-generic (x86_64)
Consult /var/lib/dkms/mba6xbl/1.0.0/build/make.log for more information.
madams-mint-on-MacBookAir madam # cat /var/lib/dkms/mba6xbl/1.0.0/build/make.log
DKMS make.log for mba6xbl-1.0.0 for kernel 4.4.0-21-generic (x86_64)
Sun Oct  2 19:14:54 EEST 2016
make -C /lib/modules/4.4.0-21-generic/build M=/var/lib/dkms/mba6xbl/1.0.0/build modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-21-generic'
CC [M]  /var/lib/dkms/mba6xbl/1.0.0/build/mba6x_bl.o
/var/lib/dkms/mba6xbl/1.0.0/build/mba6x_bl.c: In function ‘platform_probe’:
/var/lib/dkms/mba6xbl/1.0.0/build/mba6x_bl.c:336:2: error: implicit declaration of function ‘acpi_video_dmi_promote_vendor’ [-Werror=implicit-function-declaration]
acpi_video_dmi_promote_vendor();
^
cc1: some warnings being treated as errors
scripts/Makefile.build:264: recipe for target '/var/lib/dkms/mba6xbl/1.0.0/build/mba6x_bl.o' failed
make[2]: *** [/var/lib/dkms/mba6xbl/1.0.0/build/mba6x_bl.o] Error 1
Makefile:1396: recipe for target '_module_/var/lib/dkms/mba6xbl/1.0.0/build' failed
make[1]: *** [_module_/var/lib/dkms/mba6xbl/1.0.0/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-21-generic'
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 2

i'm not sure this is actually an issue with the code, but maybe you have an idea on what configuration is causing it. i am following documentation in https://help.ubuntu.com/community/MacBookAir6-2/Trusty to improve energy usage and make things work.

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