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

Make Error #62

Open
winewise opened this issue Feb 15, 2017 · 4 comments
Open

Make Error #62

winewise opened this issue Feb 15, 2017 · 4 comments

Comments

@winewise
Copy link

this is the error that I get following download
pi@raspberrypi:~/rtl8723au $ make
make ARCH=armv6l CROSS_COMPILE= -C /lib/modules/4.1.18+/build M=/home/pi/rtl8723au modules
make[1]: *** /lib/modules/4.1.18+/build: No such file or directory. Stop.
Makefile:516: recipe for target 'modules' failed
make: *** [modules] Error 2
uname -r gives this 4.1.18+

@lwfinger
Copy link
Owner

You need to install the kernel headers. Directory /lib/modules/4.1.18+/build must be a link to the directory containing either the kernel source code, or at least the include directory with the headers used to build that kernel.

@winewise
Copy link
Author

winewise commented Feb 15, 2017 via email

@lwfinger
Copy link
Owner

Build is correct. What does 'll /usr/src/linux-headers-4.4.38+/' show? It should have a directory "include".

@minscof
Copy link

minscof commented Mar 17, 2018

I had almost the same problem with last raspbian lite (stretch) and kernel 4.9.80+

Makefile:629: arch/armv6l/Makefile: No such file or directory

I check the folder include ls /usr/src/linux-headers-4.9.80+/include/
there are a lot of folder inside acpi, crypto, etc...

I solved with this by-pass
sudo ln -s /usr/src/linux-headers-4.9.80+/arch/arm /usr/src/linux-headers-4.9.80+/arch/armv6l

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

3 participants