AnsweredAssumed Answered

Kernel Build Directory Not Present in /lib directory.

Question asked by Vignesh R on Sep 12, 2015
Latest reply on Sep 16, 2015 by Yiping Wang

Hi All,

 

I'm compiling vif command to powerpc executable for my project. I'm Compiling source code using powerpc ubuntu to built the vif utility with powerpc executable.

 

When I compile, It gives the below error,

 

ERROR:

make -C /lib/modules/3.12.37-rt51-QorIQ-SDK-V1.8+gf488de6/build M=/root/project modules

make: *** /lib/modules/3.12.37-rt51-QorIQ-SDK-V1.8+gf488de6/build: No such file or directory.  Stop.

 

When I search in forum like, how to build these directories, got some suggestions to install some packages like linux-headers-$(uname-r)

 

Then I try to install the package, but it is not avail

 

sudo apt-get install linux-headers-$(uname -r)

Reading package lists... Done

Building dependency tree      

Reading state information... Done

E: Unable to locate package linux-headers-3.12.37-rt51-QorIQ-SDK-V1.8+gf488de6

E: Couldn't find any package by regex 'linux-headers-3.12.37-rt51-QorIQ-SDK-V1.8+gf488de6'

 

 

How can I resolve this problem and make those directories available ??

 

Below is my system details,

 

uname -a

Linux t4240-ubuntu1310 3.12.37-rt51-QorIQ-SDK-V1.8+gf488de6 #1 SMP Fri Aug 14 14:31:09 IST 2015 ppc64 ppc64 ppc64 GNU/Linux

 

uname -r

3.12.37-rt51-QorIQ-SDK-V1.8+gf488de6

 

Kindly help me with this issue..

 

Thanks,

--Vignesh

Outcomes