Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By zhivko
#11787 I tried linux version and installation is asking me for Kernel Sources.
When I download sources like:
sudo apt-get install linux-source -y
and then unpack them with:
sudo tar jxf /usr/src/linux-source-3.13.0.tar.bz2

then I point to that directory and I get:
The directory does not apear to contain Linux Kernel Sources.

I have:
uname -a
Linux KZ-EliteBook 3.13.0-46-generic #77-Ubuntu SMP Mon Mar 2 18:23:39 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Where do I found right linux sources or what folder should I select?
You do not have the required permissions to view the files attached to this post.
User avatar
By jcmvbkbc
#11790
zhivko wrote:I tried linux version and installation is asking me for Kernel Sources.
When I download sources like:
sudo apt-get install linux-source -y
and then unpack them with:
sudo tar jxf /usr/src/linux-source-3.13.0.tar.bz2

then I point to that directory and I get:
The directory does not apear to contain Linux Kernel Sources.

I guess it must be configured with your running kernel configuration in order to be able to produce a loadable module for your kernel. You can do it by copying your config there and running make oldconfig.
Also, do you actually need to build a driver for Macraigor USB JTAG?
User avatar
By zhivko
#11796
jcmvbkbc wrote:
zhivko wrote:I tried linux version and installation is asking me for Kernel Sources.
When I download sources like:
sudo apt-get install linux-source -y
and then unpack them with:
sudo tar jxf /usr/src/linux-source-3.13.0.tar.bz2

then I point to that directory and I get:
The directory does not apear to contain Linux Kernel Sources.

I guess it must be configured with your running kernel configuration in order to be able to produce a loadable module for your kernel. You can do it by copying your config there and running make oldconfig.
Also, do you actually need to build a driver for Macraigor USB JTAG?

As long as this installation asks me for kernel sources, I guess I need to provide it - in contrary I cannot proceed with installation.
Actually I would like to be able to eclipse debug esp8266 later on.
Is there any other way to skip this kernel sources selection?