Git Product home page Git Product logo

Comments (3)

knuxyl avatar knuxyl commented on July 29, 2024

uname -a
Linux raspberrypi 4.9.13-v7+ #974 SMP DATE TIME armv7l GNU/Linux

I ended up downloading the file
linux-headers-4.9.13-v7+_4.9.13-v7+-2_armhf.deb
from here
https://www.niksula.hut.fi/~mhiienka/Rpi/linux-headers-rpi/

waiting on samba copy... but will do below and post back
And manually extract it and copy the /usr/ folder to /usr/ on the Pi and do

ln -s /usr/src/linux-headers-4.9.13-v7+/ /lib/modules/4.9.13-v7+/build

The build symlink wasn't present and the /usr/src/linux**** for my running kernel wasn't present either, and both were found in the deb package posted above. Some people on the RPi forums had this problem and the solution they came up with was something to do with compiling from source. Way over complicated when the fix is as easy as this. The kernel source for 4.4.50+ and 4.4.50-v7+ were present, but not the newer ones.

from nexmon.

knuxyl avatar knuxyl commented on July 29, 2024

I did all this and now I'm getting

ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or /include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.

When I run the make oldconfig in the kernel source I am getting way too many questions that are way over my head. Has anyone successfully compiled this on the latest Raspbian Jessie? (4.9.13-v7+ kernel)

The instructions posted do not work if you have done a sudo apt-get -y dist-upgrade.

from nexmon.

coffeetrainwork avatar coffeetrainwork commented on July 29, 2024

Hi knuxyl

I'm dealing with the same problem,
please tell me how to solve this problem

make[1]: *** /lib/modules/4.9.59-v7+/build: No such file or directory.
and
include/generated/autoconf.h or /include/config/auto.conf are missing.

from nexmon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.