Busybox Error Asm/page.h No Such File Or Directory
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn asm/page.h ubuntu more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags asm/page.h download Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, error: ‘page_size’ undeclared (first use in this function) helping each other. Join them; it only takes a minute: Sign up Having trouble compiling C code on ubuntu. (#include errors) up vote 6 down vote favorite 1 I'm trying to compile a C program on the newest
Vmsplice Local Root Exploit
version of ubuntu, for the purpose of putting the compiled program on another machine later. However, when I compile with gcc prog.c -o prog, I get an error: "fatal error: asm/page.h: No such file or directory" Here are the headers: #include
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create mmap: operation not permitted a Freelance Project Hire for a Full Time Job Ways to Get
Fatal Error: Unistd.h: No Such File Or Directory
Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website
Ubuntu 7.10 Local Privilege Escalation
Testing Store Headlines Experts Exchange > Questions > error: asm/page.h: No such file or directory Want to Advertise Here? Solved error: asm/page.h: No such file or directory Posted on http://stackoverflow.com/questions/19310541/having-trouble-compiling-c-code-on-ubuntu-include-errors 2011-11-12 Linux OS Dev Linux Linux Distributions 1 Verified Solution 12 Comments 1,969 Views Last Modified: 2012-05-12 I'm following the instructions here:http://doc.slitaz.org/en:scratchbook:base-system to build slitaz. When I'm building busybox and do the make command I get the following error: /slitazLinux/src/busybox-1.2.2/util-linux/mkswap.c:44:59: error: asm/page.h: No such file or directory make[1]: *** [/slitazLinux/src/busybox-1.2.2/util-linux/mkswap.o] Error 1 make: *** [_all] Error 2 I have https://www.experts-exchange.com/questions/27444541/error-asm-page-h-No-such-file-or-directory.html checked and this file indeed does not exist. How do I solve this problem?? 0 Question by:Wanting2LearnMan Facebook Twitter LinkedIn Google LVL 12 Best Solution bylarsrohr Here's the alternative. If you haven't already started trying my previous recommendation, you may actually want to try this first. You are compiling on a 64-bit version of SUSE, correct? You mentioned Go to Solution 12 Comments LVL 12 Overall: Level 12 Linux 5 Linux Distributions 3 Linux OS Dev 2 Message Expert Comment by:larsrohr2011-11-12 You'll need to install kernel-headers. On SlitazLinux, this should do it: # tazpkg recharge # tazpkg get-install kernel-headers 0 Message Author Comment by:Wanting2LearnMan2011-11-12 Hi,thanks for the reply, Im actually building the slitaz Linux on a suse Linux os, So, does the above still apply? Thanks 0 LVL 12 Overall: Level 12 Linux 5 Linux Distributions 3 Linux OS Dev 2 Message Expert Comment by:larsrohr2011-11-12 I think in that case you'd want the kernel headers for your Suse OS, if I'm following the busybox build instructions correctly. I believe you can install "linux-kernel-he
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community https://ubuntuforums.org/showthread.php?t=2180040 Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Having trouble compiling C no such code on ubuntu. (#include errors) Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 8 of 8 Thread: Having trouble compiling C code on ubuntu. (#include errors) Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch no such file to Hybrid Mode Switch to Threaded Mode October 11th, 2013 #1 Bond112 View Profile View Forum Posts First Cup of Ubuntu Join Date Oct 2013 Beans 3 Having trouble compiling C code on ubuntu. (#include errors) I'm trying to compile a C program on ubuntu 12.10 running in vmware, for the purpose of putting the compiled program on another, older linux machine later. However, when I compile with gcc prog.c -o prog, I get an error: "fatal error: asm/page.h: No such file or directory" Here are the headers: #include