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

Cannot compile dkms modules on Ubuntu 20.10 #15

Open
teicors opened this issue Jan 3, 2021 · 3 comments
Open

Cannot compile dkms modules on Ubuntu 20.10 #15

teicors opened this issue Jan 3, 2021 · 3 comments

Comments

@teicors
Copy link

teicors commented Jan 3, 2021

Hi,
when I launch the LiveSuite I catch this error ;

angelo@angelo-thinkpad-x1-carbon-4th:~/MEGAsync Downloads/LiveSuit_For_Linux64$ ./LiveSuit.run 
You are running on Ubuntu
LiveSuit/
LiveSuit/LiveSuit.sh
LiveSuit/bin/
LiveSuit/bin/regdemo.lua
LiveSuit/bin/LiveProc.Plg
LiveSuit/bin/LiveSuit.lan
LiveSuit/bin/luadec.dll
LiveSuit/bin/imgdec_fun.lua
LiveSuit/bin/LiveSuit
LiveSuit/bin/libQtGui.so.4
LiveSuit/bin/regdecode.lua
LiveSuit/bin/ini_fun.lua
LiveSuit/bin/libQtCore.so.4
LiveSuit/bin/common_fun.lua
LiveSuit/bin/plgvector.dll
LiveSuit/bin/regbasefun.lua
LiveSuit/bin/LangPlg.dll
LiveSuit/bin/luaBase.dll
LiveSuit/bin/luaeFex.dll
awdev-0.5-1dkms.noarch.rpm
awdev-dkms_0.5_all.deb
 
Usb Driver install need root permission
(Lettura del database... 526847 file e directory attualmente installati.)
Preparativi per estrarre /tmp/awdev-dkms_0.5_all.deb...

-------- Uninstall Beginning --------
Module:  awdev
Version: 0.5
Kernel:  2.6.32-52-generic (x86_64)
-------------------------------------

Status: This module version was INACTIVE for this kernel.
depmod...(bad exit status: 1)

DKMS: uninstall completed.

------------------------------
Deleting module version: 0.5
completely from the DKMS tree.
------------------------------
Done.
Estrazione di awdev-dkms (0.5) su (0.5)...
Configurazione di awdev-dkms (0.5)...

Loading tarball for awdev-0.5
Loading /var/lib/dkms/awdev/0.5/2.6.32-52-generic/x86_64...

DKMS: ldtarball completed.

Creating symlink /var/lib/dkms/awdev/0.5/source ->
                 /usr/src/awdev-0.5

DKMS: add completed.
Building for 5.8.0-33-generic
Building for architecture x86_64
Building initial module for 5.8.0-33-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/awdev-dkms.0.crash'
Error! Bad return status for module build on kernel: 5.8.0-33-generic (x86_64)
Consult /var/lib/dkms/awdev/0.5/build/make.log for more information.
dpkg: errore nell'elaborare il pacchetto awdev-dkms (--install):
 il sottoprocesso installato pacchetto awdev-dkms script post-installation ha restituito lo stato di errore 10
Si sono verificati degli errori nell'elaborazione:
 awdev-dkms
angelo@angelo-thinkpad-x1-carbon-4th:~/MEGAsync Downloads/LiveSuit_For_Linux64$ cat /var/lib/dkms/awdev/0.5/build/make.log
DKMS make.log for awdev-0.5 for kernel 5.8.0-33-generic (x86_64)
dom 3 gen 2021, 08:24:52, CET
make -C /lib/modules/5.8.0-33-generic/build SUBDIRS=/var/lib/dkms/awdev/0.5/build modules
make[1]: ingresso nella directory «/usr/src/linux-headers-5.8.0-33-generic»
make[2]: ***  Nessuna regola per generare l'obiettivo «arch/x86/tools/relocs_32.c», necessario per «arch/x86/tools/relocs_32.o».  Arresto.
make[1]: *** [arch/x86/Makefile:211: archscripts] Errore 2
make[1]: *** Attesa per i processi non terminati....
  DESCEND  objtool
/usr/src/linux-headers-5.8.0-33-generic/tools/build/Makefile.build:37: /usr/src/linux-headers-5.8.0-33-generic/tools/build/Build.include: File o directory non esistente
make[5]: ***  Nessuna regola per generare l'obiettivo «/usr/src/linux-headers-5.8.0-33-generic/tools/build/Build.include».  Arresto.
make[4]: *** [Makefile:43: /usr/src/linux-headers-5.8.0-33-generic/tools/objtool/fixdep-in.o] Errore 2
make[3]: *** [/usr/src/linux-headers-5.8.0-33-generic/tools/build/Makefile.include:5: fixdep] Errore 2
make[2]: *** [Makefile:68: objtool] Errore 2
make[1]: *** [Makefile:1882: tools/objtool] Errore 2
make[1]: uscita dalla directory «/usr/src/linux-headers-5.8.0-33-generic»
make: *** [Makefile:6: default] Errore 2
angelo@angelo-thinkpad-x1-carbon-4th:~/MEGAsync Downloads/LiveSuit_For_Linux64$ 

My system
angelo@angelo-thinkpad-x1-carbon-4th:/var/lib/dkms/awdev/0.5/source$ uname -a
Linux angelo-thinkpad-x1-carbon-4th 5.8.0-33-generic #36-Ubuntu SMP Wed Dec 9 09:14:40 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
angelo@angelo-thinkpad-x1-carbon-4th:/var/lib/dkms/awdev/0.5/source$ more /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.10
DISTRIB_CODENAME=groovy
DISTRIB_DESCRIPTION="Ubuntu 20.10"

Is there any fix ?
Any help will be appreciated.

@xdatravelbug
Copy link

In awusb Makefile replace 'SUBDIRS' with 'M'

@Yaoxingtian
Copy link

Hi, when I launch the LiveSuite I catch this error ;

angelo@angelo-thinkpad-x1-carbon-4th:~/MEGAsync Downloads/LiveSuit_For_Linux64$ ./LiveSuit.run 
You are running on Ubuntu
LiveSuit/
LiveSuit/LiveSuit.sh
LiveSuit/bin/
LiveSuit/bin/regdemo.lua
LiveSuit/bin/LiveProc.Plg
LiveSuit/bin/LiveSuit.lan
LiveSuit/bin/luadec.dll
LiveSuit/bin/imgdec_fun.lua
LiveSuit/bin/LiveSuit
LiveSuit/bin/libQtGui.so.4
LiveSuit/bin/regdecode.lua
LiveSuit/bin/ini_fun.lua
LiveSuit/bin/libQtCore.so.4
LiveSuit/bin/common_fun.lua
LiveSuit/bin/plgvector.dll
LiveSuit/bin/regbasefun.lua
LiveSuit/bin/LangPlg.dll
LiveSuit/bin/luaBase.dll
LiveSuit/bin/luaeFex.dll
awdev-0.5-1dkms.noarch.rpm
awdev-dkms_0.5_all.deb
 
Usb Driver install need root permission
(Lettura del database... 526847 file e directory attualmente installati.)
Preparativi per estrarre /tmp/awdev-dkms_0.5_all.deb...

-------- Uninstall Beginning --------
Module:  awdev
Version: 0.5
Kernel:  2.6.32-52-generic (x86_64)
-------------------------------------

Status: This module version was INACTIVE for this kernel.
depmod...(bad exit status: 1)

DKMS: uninstall completed.

------------------------------
Deleting module version: 0.5
completely from the DKMS tree.
------------------------------
Done.
Estrazione di awdev-dkms (0.5) su (0.5)...
Configurazione di awdev-dkms (0.5)...

Loading tarball for awdev-0.5
Loading /var/lib/dkms/awdev/0.5/2.6.32-52-generic/x86_64...

DKMS: ldtarball completed.

Creating symlink /var/lib/dkms/awdev/0.5/source ->
                 /usr/src/awdev-0.5

DKMS: add completed.
Building for 5.8.0-33-generic
Building for architecture x86_64
Building initial module for 5.8.0-33-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/awdev-dkms.0.crash'
Error! Bad return status for module build on kernel: 5.8.0-33-generic (x86_64)
Consult /var/lib/dkms/awdev/0.5/build/make.log for more information.
dpkg: errore nell'elaborare il pacchetto awdev-dkms (--install):
 il sottoprocesso installato pacchetto awdev-dkms script post-installation ha restituito lo stato di errore 10
Si sono verificati degli errori nell'elaborazione:
 awdev-dkms
angelo@angelo-thinkpad-x1-carbon-4th:~/MEGAsync Downloads/LiveSuit_For_Linux64$ cat /var/lib/dkms/awdev/0.5/build/make.log
DKMS make.log for awdev-0.5 for kernel 5.8.0-33-generic (x86_64)
dom 3 gen 2021, 08:24:52, CET
make -C /lib/modules/5.8.0-33-generic/build SUBDIRS=/var/lib/dkms/awdev/0.5/build modules
make[1]: ingresso nella directory «/usr/src/linux-headers-5.8.0-33-generic»
make[2]: ***  Nessuna regola per generare l'obiettivo «arch/x86/tools/relocs_32.c», necessario per «arch/x86/tools/relocs_32.o».  Arresto.
make[1]: *** [arch/x86/Makefile:211: archscripts] Errore 2
make[1]: *** Attesa per i processi non terminati....
  DESCEND  objtool
/usr/src/linux-headers-5.8.0-33-generic/tools/build/Makefile.build:37: /usr/src/linux-headers-5.8.0-33-generic/tools/build/Build.include: File o directory non esistente
make[5]: ***  Nessuna regola per generare l'obiettivo «/usr/src/linux-headers-5.8.0-33-generic/tools/build/Build.include».  Arresto.
make[4]: *** [Makefile:43: /usr/src/linux-headers-5.8.0-33-generic/tools/objtool/fixdep-in.o] Errore 2
make[3]: *** [/usr/src/linux-headers-5.8.0-33-generic/tools/build/Makefile.include:5: fixdep] Errore 2
make[2]: *** [Makefile:68: objtool] Errore 2
make[1]: *** [Makefile:1882: tools/objtool] Errore 2
make[1]: uscita dalla directory «/usr/src/linux-headers-5.8.0-33-generic»
make: *** [Makefile:6: default] Errore 2
angelo@angelo-thinkpad-x1-carbon-4th:~/MEGAsync Downloads/LiveSuit_For_Linux64$ 

My system angelo@angelo-thinkpad-x1-carbon-4th:/var/lib/dkms/awdev/0.5/source$ uname -a Linux angelo-thinkpad-x1-carbon-4th 5.8.0-33-generic #36-Ubuntu SMP Wed Dec 9 09:14:40 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux angelo@angelo-thinkpad-x1-carbon-4th:/var/lib/dkms/awdev/0.5/source$ more /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.10 DISTRIB_CODENAME=groovy DISTRIB_DESCRIPTION="Ubuntu 20.10"

Is there any fix ? Any help will be appreciated.

hi,did you solve this problem ? i meet the same issue and have no idea . could you help ? thanks !

@KunYi
Copy link

KunYi commented Oct 10, 2024

Hi, when I launch the LiveSuite I catch this error ;

angelo@angelo-thinkpad-x1-carbon-4th:~/MEGAsync Downloads/LiveSuit_For_Linux64$ ./LiveSuit.run 
You are running on Ubuntu
LiveSuit/
LiveSuit/LiveSuit.sh
LiveSuit/bin/
LiveSuit/bin/regdemo.lua
LiveSuit/bin/LiveProc.Plg
LiveSuit/bin/LiveSuit.lan
LiveSuit/bin/luadec.dll
LiveSuit/bin/imgdec_fun.lua
LiveSuit/bin/LiveSuit
LiveSuit/bin/libQtGui.so.4
LiveSuit/bin/regdecode.lua
LiveSuit/bin/ini_fun.lua
LiveSuit/bin/libQtCore.so.4
LiveSuit/bin/common_fun.lua
LiveSuit/bin/plgvector.dll
LiveSuit/bin/regbasefun.lua
LiveSuit/bin/LangPlg.dll
LiveSuit/bin/luaBase.dll
LiveSuit/bin/luaeFex.dll
awdev-0.5-1dkms.noarch.rpm
awdev-dkms_0.5_all.deb
 
Usb Driver install need root permission
(Lettura del database... 526847 file e directory attualmente installati.)
Preparativi per estrarre /tmp/awdev-dkms_0.5_all.deb...

-------- Uninstall Beginning --------
Module:  awdev
Version: 0.5
Kernel:  2.6.32-52-generic (x86_64)
-------------------------------------

Status: This module version was INACTIVE for this kernel.
depmod...(bad exit status: 1)

DKMS: uninstall completed.

------------------------------
Deleting module version: 0.5
completely from the DKMS tree.
------------------------------
Done.
Estrazione di awdev-dkms (0.5) su (0.5)...
Configurazione di awdev-dkms (0.5)...

Loading tarball for awdev-0.5
Loading /var/lib/dkms/awdev/0.5/2.6.32-52-generic/x86_64...

DKMS: ldtarball completed.

Creating symlink /var/lib/dkms/awdev/0.5/source ->
                 /usr/src/awdev-0.5

DKMS: add completed.
Building for 5.8.0-33-generic
Building for architecture x86_64
Building initial module for 5.8.0-33-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/awdev-dkms.0.crash'
Error! Bad return status for module build on kernel: 5.8.0-33-generic (x86_64)
Consult /var/lib/dkms/awdev/0.5/build/make.log for more information.
dpkg: errore nell'elaborare il pacchetto awdev-dkms (--install):
 il sottoprocesso installato pacchetto awdev-dkms script post-installation ha restituito lo stato di errore 10
Si sono verificati degli errori nell'elaborazione:
 awdev-dkms
angelo@angelo-thinkpad-x1-carbon-4th:~/MEGAsync Downloads/LiveSuit_For_Linux64$ cat /var/lib/dkms/awdev/0.5/build/make.log
DKMS make.log for awdev-0.5 for kernel 5.8.0-33-generic (x86_64)
dom 3 gen 2021, 08:24:52, CET
make -C /lib/modules/5.8.0-33-generic/build SUBDIRS=/var/lib/dkms/awdev/0.5/build modules
make[1]: ingresso nella directory «/usr/src/linux-headers-5.8.0-33-generic»
make[2]: ***  Nessuna regola per generare l'obiettivo «arch/x86/tools/relocs_32.c», necessario per «arch/x86/tools/relocs_32.o».  Arresto.
make[1]: *** [arch/x86/Makefile:211: archscripts] Errore 2
make[1]: *** Attesa per i processi non terminati....
  DESCEND  objtool
/usr/src/linux-headers-5.8.0-33-generic/tools/build/Makefile.build:37: /usr/src/linux-headers-5.8.0-33-generic/tools/build/Build.include: File o directory non esistente
make[5]: ***  Nessuna regola per generare l'obiettivo «/usr/src/linux-headers-5.8.0-33-generic/tools/build/Build.include».  Arresto.
make[4]: *** [Makefile:43: /usr/src/linux-headers-5.8.0-33-generic/tools/objtool/fixdep-in.o] Errore 2
make[3]: *** [/usr/src/linux-headers-5.8.0-33-generic/tools/build/Makefile.include:5: fixdep] Errore 2
make[2]: *** [Makefile:68: objtool] Errore 2
make[1]: *** [Makefile:1882: tools/objtool] Errore 2
make[1]: uscita dalla directory «/usr/src/linux-headers-5.8.0-33-generic»
make: *** [Makefile:6: default] Errore 2
angelo@angelo-thinkpad-x1-carbon-4th:~/MEGAsync Downloads/LiveSuit_For_Linux64$ 

My system angelo@angelo-thinkpad-x1-carbon-4th:/var/lib/dkms/awdev/0.5/source$ uname -a Linux angelo-thinkpad-x1-carbon-4th 5.8.0-33-generic #36-Ubuntu SMP Wed Dec 9 09:14:40 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux angelo@angelo-thinkpad-x1-carbon-4th:/var/lib/dkms/awdev/0.5/source$ more /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.10 DISTRIB_CODENAME=groovy DISTRIB_DESCRIPTION="Ubuntu 20.10"
Is there any fix ? Any help will be appreciated.

hi,did you solve this problem ? i meet the same issue and have no idea . could you help ? thanks !

try my modify version https://github.com/KunYi/sunxi-livesuite

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

4 participants