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

linux-headers-4.19.20-sunxi64 cannot make scripts #1330

Closed
shaddow501 opened this issue Apr 4, 2019 · 4 comments

Comments

@shaddow501
Copy link

commented Apr 4, 2019

Hello

I cannot "make scripts" on Orange PI zero plus:

root@orangepizeroplus:src/linux-headers-4.19.20-sunxi64 # make scripts
scripts/kconfig/conf --syncconfig Kconfig
net/Kconfig:89: can't open file "net/wireguard/Kconfig"
scripts/kconfig/Makefile:69: recipe for target 'syncconfig' failed
make[2]: *** [syncconfig] Error 1
Makefile:539: recipe for target 'syncconfig' failed
make[1]: *** [syncconfig] Error 2
Makefile:635: recipe for target 'include/config/auto.conf' failed
make: *** [include/config/auto.conf] Error 2

from older kernels I see that there was a fix, than I do not understand what is the problem now...
what should I do?

I see that there was a fix in this link -
#1278

but it doesn't guide what do do in order to get it fixed, means that it wasnt fixed if it still have issues with the same error...

Where are those files located ?
in the /usr/src/linux-headers-4.19.20-sunxi64 # dont have the Build folder that inside the Build folder are those files that should have been fixed.

So what exactly was fixed if it still doesnt work?

@lanefu

This comment has been minimized.

Copy link
Member

commented Apr 5, 2019

can you install the kernel-sources package via armbian-config and try?

@shaddow501

This comment has been minimized.

Copy link
Author

commented Apr 5, 2019

I did,
same errors:

root@orangepizeroplus:src/linux-headers-4.19.20-sunxi64 # make scripts
scripts/kconfig/conf --syncconfig Kconfig
net/Kconfig:89: can't open file "net/wireguard/Kconfig"
scripts/kconfig/Makefile:69: recipe for target 'syncconfig' failed
make[2]: *** [syncconfig] Error 1
Makefile:539: recipe for target 'syncconfig' failed
make[1]: *** [syncconfig] Error 2
Makefile:635: recipe for target 'include/config/auto.conf' failed
make: *** [include/config/auto.conf] Error 2

if I exclude the - #source "net/Kconfig"

than;

root@orangepizeroplus:src/linux-headers-4.19.20-sunxi64 # make scripts
scripts/kconfig/conf --syncconfig Kconfig
HOSTCC scripts/dtc/dtc.o
HOSTCC scripts/dtc/flattree.o
HOSTCC scripts/dtc/fstree.o
HOSTCC scripts/dtc/data.o
HOSTCC scripts/dtc/livetree.o
HOSTCC scripts/dtc/treesource.o
HOSTCC scripts/dtc/srcpos.o
HOSTCC scripts/dtc/checks.o
HOSTCC scripts/dtc/util.o
LEX scripts/dtc/dtc-lexer.lex.c
YACC scripts/dtc/dtc-parser.tab.h
HOSTCC scripts/dtc/dtc-lexer.lex.o
YACC scripts/dtc/dtc-parser.tab.c
HOSTCC scripts/dtc/dtc-parser.tab.o
HOSTLD scripts/dtc/dtc
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/modpost.o
CC scripts/mod/devicetable-offsets.s
UPD scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/bin2c
HOSTCC scripts/kallsyms
HOSTCC scripts/pnmtologo
HOSTCC scripts/conmakehash
HOSTCC scripts/sortextable
HOSTCC scripts/asn1_compiler
HOSTCC scripts/extract-cert

no errors.

And after that I was able to compile and install the touchscreen driver.

@andriej

This comment has been minimized.

Copy link
Contributor

commented Apr 7, 2019

if I exclude the - #source "net/Kconfig"

where you do that exactly?

@igorpecovnik

This comment has been minimized.

Copy link
Member

commented Apr 8, 2019

apt update and apt upgrade, then try again. It should work now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.