Home > Perl Error > Perl Error Asm/page.h No Such File Or Directory

Perl Error Asm/page.h No Such File Or Directory

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 #include #include What I don't understand is that I have them installed (sudoapt-getinstalllinux-headers-$(uname-r)), but page.h is not symlinked in /usr/include/asm/. if /usr/include/asm-generic does not exist, try to install or reinstall linux-libc-dev. should take care of the new system. have a peek at these guys

c linux ubuntu header share|improve this question asked Oct 11 '13 at 5:00 Dan Knott 47113 What is your program intended to do? This is necessary to compile Code in linux . comment:2 Changed 9 years ago by [email protected]… Where do we get 2007.2 from? ​http://buildhost.openmoko.org/snapshots/ only shows 2007.4 and 2007.8. Fractals of dimension zero How much interest did Sauron have in Erebor?

I can tell, because I have just built 27 versions of perl using this ranging from 5.003 to 5.11.8 [1] http://cpansearch.perl.org/src/MHX/Devel-PPPort-3.19_02/devel/ I replaced the calls to 'sed' with calls to 'perl', Why shared_timed_mutex is defined in c++14, but shared_mutex in c++17? Why does it include all the above mess? How to prove that a paper published with a particular English transliteration of my Russian name is mine?

If you lack such a folder reinstall build-essentials and verify the folder exists. Fractals of dimension zero Why don't browser DNS caches mitigate DDOS attacks on DNS providers? asked 3 years ago viewed 17414 times active 3 years ago Get the weekly newsletter! It is installed by build-essentials but examining it it is a dependency that installs it.

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed I've tryed to update svn or to make a new fresh install, and I always get the same error. lib. I'm using the RH RPM gcc distro (gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) ) and kernel 2.6.32-71.

ummm...... vBulletin 2000 - 2016, Jelsoft Enterprises Ltd. What's the difference in sound between the letter η and the diphthong ει? Specifically, I added this argument to Configure: sh ./Configure ... -Dlibpth='/usr/local/lib64 /lib64 /usr/lib64' [download] This path problem is discussed in this thread: http://osdir.com/ml/lang.perl.perl5.porters/2006-01/msg01037.html Anyway, any insight on the failed test issue

Words that are anagrams of themselves How to explain the existence of just one religion? Please let me know if you need any other information Change History comment:1 Changed 9 years ago by [email protected]… Can you please retest this with OM2007.2? comment:3 Changed 9 years ago by [email protected]… ​http://buildhost.openmoko.org/snapshots/2007.08/ The snapshot name is based on year and month. Should I tell potential employers I'm job searching because I'm engaged?

Petersburg, FL Beans 542 DistroUbuntu 16.04 Xenial Xerus Re: Having trouble compiling C code on ubuntu. (#include errors) Pass -I/usr/src/linux-headers-3.5.0-17/arch/x86/include/ to your CFLAGS - including a file in <> denotes a More about the author Money transfer scam Text above line in TikZ probability tree Is it illegal to DDoS a phishing page? Movie about a board-game that asks the players touchy questions Bangalore to Tiruvannamalai : Even, asphalt road Why do units (from physics) behave like numbers? That should create the asm-generic folder.

Could you please state the package name and/or link to source? –Michal Jun 9 at 11:39 add a comment| 1 Answer 1 active oldest votes up vote 2 down vote This more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed As it's currently written, it’s hard to tell exactly what you're asking. check my blog Browse other questions tagged command-line or ask your own question.

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 So I cut and pasted the failed line in the shell and added -lm at the end (cos I couldn't be bothered to fix the make file or configure script).[reply] Back memory.h should be somewhere on your system, but not in the right place where the compiler is looking for it.

A locate '/page.h' | grep asm returned many candidates, but the most likely fix seemed like this: sudo ln -s /usr/src/linux-headers-2.6.28-13/arch/x86/include/asm/page.h /usr/include/asm/page.h Obviously, the exact page.h you're linking to will vary

I never used perlbrew, but I use a (slightly modified [1]) version of buildperl.pl, which can be found in Devel::PPPort's devel/ subfolder. Bug10791 - Missing asm/page.h on X86 kernel header install Summary: Missing asm/page.h on X86 kernel header install Status: REJECTED INVALID Product: Other Classification: Unclassified Component: Other Hardware: All Linux Importance: P1 What are you trying to compile? How to improve this plot?

Adv Reply October 11th, 2013 #8 qyot27 View Profile View Forum Posts Private Message Dipped in Ubuntu Join Date Dec 2005 Location St. The patch is (perl-5.8.8-no_asm_page_h.patch): --- perl-5.8.8/ext/IPC/SysV/SysV.xs.no_asm_page_h 2001-06-30 14:46: +07.000000000 -0400 +++ perl-5.8.8/ext/IPC/SysV/SysV.xs 2006-06-02 17:37:22.000000000 - +0400 @@ -3,9 +3,6 @@ #include "XSUB.h" #include -#ifdef __linux__ -# include -#endif #if Reduce function is not showing all the roots of a transcendental equation Why do jet engines smoke? news Can an irreducible representation have a zero character?

It works fine on 5.8.9 and above > > Thank you, > Chad Granum -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using & porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX Adv Reply October 11th, 2013 #2 alan9800 View Profile View Forum Posts Private Message A Carafe of Ubuntu Join Date Apr 2013 Location 43.49N 7.46E Beans 117 DistroUbuntu 12.04 Precise more hot questions question feed lang-c about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Not fun.

As it turns out, this is because Ubuntu has decided to link /bin/sh to /bin/dash instead of /bin/bash. Fortunately, you can keep fixing errors and rerunning make until all errors go away. 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 Does AAA+BBB+CCC+DDD=ABCD have a solution for distinct digits A,B,C,D?

Unfortunately, since our development Perl is 5.8.8, I've encountered a few annoying problems. Is there a way for me to get the missing header or something? Absolute value of polynomial Words that are both anagrams and synonyms of each other What to do with my pre-teen daughter who has been out of control since a severe accident? The following fixes it: perl -i~ -nle 'print unless //' makefile x2p/makefile That command tells perl to edit those files in place, reprinting all lines except those containing the string .

stdio.h and stdlib.h, on other hand, are not to be used in kernel code. asked 4 months ago viewed 167 times active 4 months ago Related 0Whitespaces error while coping files1Error while compiling ffmpeg during make0Error while Entering API key in Ubuntu1Error executing a jar 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 A quick search on "asm/page.h" made me wonder if it was a Gentoo issue which was supposedly fixed by emerging the v2.6.22-r2 linux headers (~x86 masked), but that hasn't helped either:

But I'm curious, did anything break after removing it?[reply] Re^3: How To Downgrade Perl on Ubuntu by neo_ (Novice) on Aug 04, 2009 at 12:13UTC No, in fact, I didn't notice Tango Icons Tango Desktop Project. The first problem is a strange "You haven't done a make depend yet" error. User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License.

I had to add perl -i~ -nle 'print unless //' makefile x2p/makefile to the top level Makefile itself before it descended into x2p. Simply remove this directory and rerun. The time now is 03:52 AM. Format For Printing -XML -Clone This Bug -Top of page First Last Prev Next This bug is not in your last search results.