element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
MaaXBoard Hardware Design Missing module files 4.14.78 (linux-headers-4.14.78)
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 5 replies
  • Subscribers 323 subscribers
  • Views 1816 views
  • Users 0 members are here
  • debian
  • linux-headers-4.14.78
  • kernel module
  • maaxboard
  • linux
Related

Missing module files 4.14.78 (linux-headers-4.14.78)

zafersen
zafersen over 3 years ago

Hi Everyone,

I am working on developing a kernel module. SO To compile,  I need to install the headers for the exact version of my kernel build(4.14.78).  I checked /lib/modules/ and there is a file named 4.14.78 in it. However, the build file in it is empty (broken symbolic link). Then I tried to install Linux-header that is the same version as my kernel build version. But I got some errors like below. I haven't found any solutions yet. Do you have any solutions or ideas? 

 

root@maaxboard:/lib/modules/4.14.78# 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-4.14.78
E: Couldn't find any package by glob 'linux-headers-4.14.78'
E: Couldn't find any package by regex 'linux-headers-4.14.78'
root@maaxboard:/lib/modules/4.14.78# 

root@maaxboard:/lib/modules/4.14.78# ls -l
total 356
lrwxrwxrwx 1 user user    26 Jan 14  2020 build -> /home/embest/compile/linux
drwxrwxr-x 9 user user  4096 Jan 14  2020 kernel
-rw-r--r-- 1 user user 63521 Jan 14  2020 modules.alias
-rw-r--r-- 1 user user 68154 Jan 14  2020 modules.alias.bin
-rw-rw-r-- 1 user user 31857 Jan 14  2020 modules.builtin
-rw-r--r-- 1 user user 34659 Jan 14  2020 modules.builtin.bin
-rw-r--r-- 1 user user 22212 Jan 14  2020 modules.dep
-rw-r--r-- 1 user user 35969 Jan 14  2020 modules.dep.bin
-rw-r--r-- 1 user user    98 Jan 14  2020 modules.devname
-rw-rw-r-- 1 user user 12832 Jan 14  2020 modules.order
-rw-r--r-- 1 user user    85 Jan 14  2020 modules.softdep
-rw-r--r-- 1 user user 29705 Jan 14  2020 modules.symbols
-rw-r--r-- 1 user user 36180 Jan 14  2020 modules.symbols.bin
lrwxrwxrwx 1 user user    26 Jan 14  2020 source -> /home/embest/compile/linux
root@maaxboard:/lib/modules/4.14.78# cd /home/embest/compile/linux
-bash: cd: /home/embest/compile/linux: No such file or directory
root@maaxboard:/lib/modules/4.14.78# cd /home/embest/compile/
-bash: cd: /home/embest/compile/: No such file or directory
root@maaxboard:/lib/modules/4.14.78# cd /home/embest
-bash: cd: /home/embest: No such file or directory
root@maaxboard:/lib/modules/4.14.78# cd /home/embest

  • Sign in to reply
  • Cancel

Top Replies

  • jwlembedded
    jwlembedded over 3 years ago in reply to zafersen +1
    Good to know that you still giving it some effort. I will look into this asap. Do you mind sharing some info with regards to the distro you were initially working with? Also I just wanted to make sure…
  • jwlembedded
    0 jwlembedded over 3 years ago

    Hi Zafersen,

    Did you manage to cross this bridge? If not we are now monitoring the forums and are here to help. 

    Jason

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • zafersen
    0 zafersen over 3 years ago in reply to jwlembedded

    Hi jwlembedded, unfortunately, I haven't done it yet, as far as I remember to fix this problem I needed to reach 01LinuxSourceCode folder but its link was broken. now Im working on Yocto project on maaxboard.  if it is reachable, please let me know.  But of course, if you release a new image file that fixed the problem which I mentioned above, it would be great. 

    Thank you

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jwlembedded
    0 jwlembedded over 3 years ago in reply to zafersen

    Good to know that you still giving it some effort. I will look into this asap. Do you mind sharing some info with regards to the distro you were initially working with? 

    Also I just wanted to make sure you were aware of the Maaxboard yocto layer we have created. Its housed on the Avnet Github https://github.com/Avnet/linux-imx. If you build using the provided yocto layer are you still not seeing the required header files? 

    Cheers!

    -Jason 

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • zafersen
    0 zafersen over 3 years ago in reply to jwlembedded

    I got this error above when I was working on Debian Linux Out of Box Image (zip) which is linux debian 4.14.78 kernel version.  I would prefer to work on linux debian distribution. Unfortunately, I struggled with many problems on that. So I moved all my work to yocto. There is no problem so far with maaxboard yocto layer. But  I am using maaxboard yocto instruction and yocto layer in this link https://github.com/Avnet/meta-maaxboard. Are you sure that link belongs to maaxboard yocto layer? 

    In addition, the same problem under the Compiling modules/drivers for kernel 4.14.78 title was also mentioned here /products/devtools/single-board-computers/f/forum/10638/maaxboard-debian-image---tips-add-ins-and-fixes , they shared some links in that discussion to fix the problem but they are all broken links. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • zafersen
    0 zafersen over 3 years ago in reply to jwlembedded

    Have you had time to check this problem out: https://github.com/Avnet/maaxboard-debian-build/issues/1. I think it might help me to understand debian distribution. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube