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 asm/page.h download Overflow the company Business Learn more about hiring developers or posting ads with us Stack error: ‘page_size’ undeclared (first use in this function) Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community
Unistd.h No Such File Or Directory Linux
of 4.7 million programmers, just like you, 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
Vmsplice Local Root Exploit
trying to compile a C program on the newest 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
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support
Mmap: Operation Not Permitted
Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook ubuntu 7.10 local privilege escalation Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page linux 2.6.18 privilege escalation Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Having trouble compiling C code on ubuntu. (#include errors) Having an http://stackoverflow.com/questions/19310541/having-trouble-compiling-c-code-on-ubuntu-include-errors 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 to Hybrid Mode Switch to Threaded Mode October 11th, 2013 #1 https://ubuntuforums.org/showthread.php?t=2180040 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
Detected You currently http://forums.bodhilinux.com/index.php?/topic/3723-solved-kernel-header-files-missing/ have javascript disabled. Several functions may not work. http://fedoraforum.org/forum/showthread.php?t=192003 Please re-enable javascript to access full functionality. Become a Bodhi Linux Member and get your own @BodhiLinux.com email address! [SOLVED] kernel header files missing Started by stanks, Jan 05 2012 02:25 PM no such Please log in to reply 14 replies to this topic #1 stanks stanks Member Members 31 posts LocationCroatia Posted 05 January 2012 - 02:25 PM hii am trying to compile krusader and edb debugger but i get error msg about missing no such file kernel header files. kernel header files are installed (3.0.0-14 PAE)for krusader error msg is this: [ 26%] Building CXX object krusader/Konfigurator/CMakeFiles/Konfigurator.dir/kgadvanced.o In file included from /usr/include/sys/param.h:28, from /home/stanks/paketi/krusader-2.4.0-beta1/krusader/Konfigurator/kgadvanced.cpp:36: /usr/include/linux/param.h:4:23: error: asm/param.h: No such file or directory make[2]: *** [krusader/Konfigurator/CMakeFiles/Konfigurator.dir/kgadvanced.o] Error 1 make[1]: *** [krusader/Konfigurator/CMakeFiles/Konfigurator.dir/all] Error 2 make: *** [all] Error 2 and for edb debugger is this: REENTRANT -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -Iwidgets -I../include -Iqhexview -Iqjson -Ios/unix -I../include/os/unix -Iedisassm -Ios/unix/linux -I../include/os/unix/linux -Iarch/i386 -I../include/arch/i386 -I.moc/release-shared -I.uic -o .obj/release-shared/ArchProcessor.o arch/i386/ArchProcessor.cpp arch/i386/ArchProcessor.cpp:35:24: error: asm/unistd.h: No such file or directory arch/i386/ArchProcessor.cpp: In member function ‘void ArchProcessor::analyze_syscall(const State&, const edb::Instruction&, QStringList&) const’: arch/i386/ArchProcessor.cpp:749: warning: unused variable ‘arg1’ arch/i386/ArchProcessor.cpp:750: warning: unused variable ‘arg2’ arch/i386/ArchProcessor.cpp:751: warning: unused variable â€
Common F23 Bugs Common F24 Bugs Communicate with Fedora The Documents Bug Reports Fedora Update System (Bodhi) Fedora Build System (Koji) Official Spins FedoraForum.org > Fedora 23/24 > Using Fedora What happened to /usr/include/asm/page.h ? FedoraForum Search User Name Remember Me? Password Forgot Password? Join Us! Register All Albums FAQ Today's Posts Search Using Fedora General support for current versions. Ask questions about Fedora that do not belong in any other forum. Google™ Search FedoraForum Search Red Hat Bugzilla Search Search Forums Show Threads Show Posts Tag Search Advanced Search Go to Page... Thread Tools Search this Thread Display Modes #1 17th June 2008, 05:36 PM chinesebob Offline Registered User Join Date: Jun 2008 Posts: 2 What happened to /usr/include/asm/page.h ? The kernel-headers package used to install a number of files in /usr/include/asm that were used when compiling source code, namely /usr/include/asm/page.h Does anyone know why the kernel-headers package no longer installs these files? Is there some other place my source is supposed to look for them now? Thanks Aaron chinesebob View Public Profile Find all posts by chinesebob #2 17th June 2008, 07:45 PM lazlow Offline Registered User Join Date: Aug 2005 Posts: 3,172 Try here: Quote: /usr/src/kernels/2.6.25.4-10.fc8-x86_64/include/asm-generic/page.h /usr/src/kernels/2.6.25.4-10.fc8-x86_64/include/asm-x86/page.h Characters added to make long enough to post. lazlow View Public Profile Find all posts by lazlow #3 17th June 2008, 08:34 PM chinesebob Offline Registered User Join Date: Jun 2008 Posts: 2 I did see them there, and I am currently compiling with C_INCLUDE_PATH+="/lib/modules/`uname -r`/build/include" make install The issue is that I have a lot of scripts in a test lab where for years we've been able to compile tests with a simple "make install". It will be a bit of a pain to edit all of our scripts with a new include path, especially since we run the same scripts on seven other distributions that have no problem with putting include files in the standard include directory but, may have a problem with a new C_INCLUDE_PATH that is not correct for that distro. chinesebob View Public Profile Find all posts by chinesebob #4 17th June 2008, 09:25 PM lazlo