- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Linux Headers
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Linux Headers
I need to install the Linux Headers for version 6.9.3 to try and get a linux backup agent working.
What is the best way to do it and what would the commands be in terminal.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Linux Headers
I assume what you want to do is to build a special software that needs a kernel driver. For everything else the headers present on the ReadyNAS should be sufficient. So, here's how to prepare a kernel tree (and in due course the header files) for building stuff that needs to work with the original kernel tree.
1) Get hold of the NETGEAR GPL sources for your firmware version from here -> https://kb.netgear.com/2649/NETGEAR-Open-Source-Code-for-Programmers-GPL
2) Unpack the file on the ReadyNAS (ideally you'll use the root account for that but preferrably NOT the root home directory. Some directory below /data will be fine
3) Copy the linux-kernel-* source directory for your architecture from the unpacked GPL archive to another place, say /data/kernel
4) Go to that directory and run "make clean && make && make install && make modules_install" (the last one is optional)
This should create all the symlinks within the /lib/modules/<your kernel version> that are needed for compiling software that needs access to the kernel sources.
Now, if I completely missed the point just let me know in more detail what you're trying to do and I'll see whether I can help you more.
-Stefan
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Linux Headers
When building the headers I get an error about boot and LILO.
sh ./arch/x86/boot/install.sh 4.4.116.x86_64.1 arch/x86/boot/bzImage \
System.map "/boot"
Cannot find LILO.
root@CAMNAS:/home/admin/Linux-Headers-DO-NOT-REMOVE/linux-kernel-headers/linux-4.4.116-x86_64#