![]() > (Reading database … 118296 files and directories currently installed.) > After this operation, 0B of additional disk space will be used. > 1 upgraded, 0 newly installed, 0 to remove and 313 not upgraded. > The following packages will be upgraded: > sudo apt-get install linux-headers-$(uname -r) > hello.c:5: fatal error: linux/module.h: No such file or directory I have the similar problem for compiling hello.c □ Was this helpful? Please add a comment to show your appreciation or feedback ↓ Join the nixCraft community via RSS Feed, Email Newsletter or follow on Twitter. He wrote more than 7k+ posts and helped numerous readers to master IT topics. Vivek Gite is the founder of nixCraft, the oldest running blog about Linux and open source. See apt-get(8) page for more information. Also make sure you install GNU GCC compiler collection on Debian/Ubuntu Linux: Once installed you can compile modules for VMWare or VirtualBox or anything else you needed. Linux-headers-2.6.32-5-amd64 linux-headers-2.6.32-5-common linux-kbuild-2.6.32 linux-libc-devĠ upgraded, 14 newly installed, 0 to remove and 0 not upgraded.Īfter this operation, 68.9 MB of additional disk space will be used. The following NEW packages will be installed: Linux-headers-2.6.32-5-common linux-kbuild-2.6.32 linux-libc-dev manpages-devīinutils-doc gcc-4.3-locales gcc-4.3-multilib libmudflap0-4.3-dev gcc-4.3-doc libgcc1-dbg The following extra packages will be installed:īinutils cpp-4.3 gcc-4.3 gcc-4.3-base libc-dev-bin libc6-dev libgmp3c2 libgomp1 libmpfr4 The following package was automatically installed and is no longer required: Sample outputs from older system: Reading package lists. Fig.01: Installing the Linux kernel header using apt-get # apt-get install linux-headers-$(uname -r) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |