CO-1 / asus-flow-x13-linux

103 stars 14 forks source link

Install: Make error #5

Open F4ever opened 3 years ago

F4ever commented 3 years ago

Hi trying to run sudo sh install.sh and got

Creating symlink /var/lib/dkms/asus-flow-x13/1.0/source ->
                 /usr/src/asus-flow-x13-1.0

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...
applying patch sound.patch...patching file sound/pci/hda/patch_realtek.c
Hunk #1 succeeded at 8403 (offset 49 lines).

Building module:
cleaning build area...
make -j16 KERNELRELEASE=5.11.0-25-generic...(bad exit status: 2)
ERROR (dkms apport): binary package for asus-flow-x13: 1.0 not found
Error! Bad return status for module build on kernel: 5.11.0-25-generic (x86_64)
Consult /var/lib/dkms/asus-flow-x13/1.0/build/make.log for more information.
Please reboot

In /var/lib/dkms/asus-flow-x13/1.0/build/make.log I found this

DKMS make.log for asus-flow-x13-1.0 for kernel 5.11.0-25-generic (x86_64)
Thu 12 Aug 14:48:58 +03 2021
make -C /lib/modules/5.11.0-25-generic/build M=/var/lib/dkms/asus-flow-x13/1.0/build modules
make[1]: Entering directory '/usr/src/linux-headers-5.11.0-25-generic'
  CC [M]  /var/lib/dkms/asus-flow-x13/1.0/build/sound/pci/hda/patch_realtek.o
  LD [M]  /var/lib/dkms/asus-flow-x13/1.0/build/snd-hda-codec-realtek.o
  MODPOST /var/lib/dkms/asus-flow-x13/1.0/build/Module.symvers
ERROR: modpost: "snd_hda_jack_bind_keymap" [/var/lib/dkms/asus-flow-x13/1.0/build/snd-hda-codec-realtek.ko] undefined!
ERROR: modpost: "snd_hda_jack_set_button_state" [/var/lib/dkms/asus-flow-x13/1.0/build/snd-hda-codec-realtek.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:124: /var/lib/dkms/asus-flow-x13/1.0/build/Module.symvers] Error 1
make[2]: *** Deleting file '/var/lib/dkms/asus-flow-x13/1.0/build/Module.symvers'
make[1]: *** [Makefile:1752: modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.11.0-25-generic'
make: *** [Makefile:11: all] Error 2
fedecupe commented 3 years ago

Same here on Mint UMA

cat /var/lib/dkms/asus-flow-x13/1.0/build/make.log
DKMS make.log for asus-flow-x13-1.0 for kernel 5.11.0-27-generic (x86_64)
mar 24 ago 2021, 08:32:58, CEST
make -C /lib/modules/5.11.0-27-generic/build M=/var/lib/dkms/asus-flow-x13/1.0/build modules
make[1]: ingresso nella directory «/usr/src/linux-headers-5.11.0-27-generic»
  CC [M]  /var/lib/dkms/asus-flow-x13/1.0/build/sound/pci/hda/patch_realtek.o
  LD [M]  /var/lib/dkms/asus-flow-x13/1.0/build/snd-hda-codec-realtek.o
  MODPOST /var/lib/dkms/asus-flow-x13/1.0/build/Module.symvers
ERROR: modpost: "snd_hda_jack_bind_keymap" [/var/lib/dkms/asus-flow-x13/1.0/build/snd-hda-codec-realtek.ko] undefined!
ERROR: modpost: "snd_hda_jack_set_button_state" [/var/lib/dkms/asus-flow-x13/1.0/build/snd-hda-codec-realtek.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:124: /var/lib/dkms/asus-flow-x13/1.0/build/Module.symvers] Errore 1
make[2]: *** Eliminazione del file «/var/lib/dkms/asus-flow-x13/1.0/build/Module.symvers»
make[1]: *** [Makefile:1752: modules] Errore 2
make[1]: uscita dalla directory «/usr/src/linux-headers-5.11.0-27-generic»
make: *** [Makefile:11: all] Errore 2