Page 1 of 1

no build Directory in /lib/module/3.4.39-h3

Posted: Fri Aug 25, 2017 8:26 am
by mmohtashamirad
Hello every body.
I need to compile some driver for a 4g modem that is connected to USB port on NanoPi Neo Air running friendlyArm ubunto.
I have the full user guide to compiling the driver in linux provided by the modem's manufacturer (Quectel).

here is the user guide file:
http://support.lyconsys.com/download/3g ... 151103.pdf


but the problem is that there is no linux source file in the image that I've already installed on the board. but I've downloaded the image file from a git repository at :
https://github.com/friendlyarm/h3_lichee.git

so I have the linux source file now. but the problem is that there is no build Directory in /lib/module/3.4.39-h3
and when I execute this command:
apt-get install linux-headers-3.4.39-h3-generic
it says that:

E: Unable to locate package linux-headers-3.4.39-h3-generic
E: Couldn't find any package by glob 'linux-headers-3.4.39-h3-generic'
E: Couldn't find any package by regex 'linux-headers-3.4.39-h3-generic'


any body have any idea how to overcome this problem ?
Thank you so much for any help.

Re: no build Directory in /lib/module/3.4.39-h3

Posted: Sat Sep 02, 2017 11:08 am
by naturious
How did you manage to install the linux headers on the Neo?