> Perl Error
> Perl Error Asm/page.h No Such File Or Directory
Perl Error Asm/page.h No Such File Or Directory
It says fatal error: asm/page.h: No such file or directory. Show much more of your source code, not only the #include directives! –Basile Starynkevitch Oct 11 '13 at 5:29 add a comment| 2 Answers 2 active oldest votes up vote 4 event exception, aborting NOTE: package perl-native-5.8.7: failed ERROR: Build of openmoko-devel-image failed make: * [openmoko-devel-image] Error 1 Of course I've carefully read the paragraph "Before Begin" in openmoko wiki section about 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 navigate here
I had to add perl -i~ -nle 'print unless //' makefile x2p/makefile to the top level Makefile itself before it descended into x2p. Can a nuclear detonation on Moon destroy life on Earth? Fractals of dimension zero How much interest did Sauron have in Erebor? 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? https://bugzilla.kernel.org/show_bug.cgi?id=10791
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? 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 Can a bike computer be used on the rear wheel?
foo.bar UbuntuCommunityAsk!DeveloperDesignDiscourseHardwareInsightsJujuShopMore â€şAppsHelpForumLaunchpadMAASCanonical current community chat Ask Ubuntu Ask Ubuntu Meta your communities Sign up or log in to customize your list. 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 Money transfer scam Text above line in TikZ probability tree Is it illegal to DDoS a phishing page? 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
Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. 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? 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 It's a faster shell, but not only does it not support everything bash does, it also is less tolerant of errors.
So perhaps this is related to newer kernel or compilers? If you lack such a folder reinstall build-essentials and verify the folder exists. What to do with my pre-teen daughter who has been out of control since a severe accident? You can see my reply to the last answer.
Cheers, Ovid The official Perl 6 wiki. Why don't cameras offer more than 3 colour channels? (Or do they?) if (Î» x . Re: How To Downgrade Perl on Ubuntu by neo_ (Novice) on Jul 30, 2009 at 22:21UTC First thing I did when I installed Ubuntu is sudo rm -f /bin/dash because it When doing make openmoko-devel-image or make all I get: | SysV.xs:7:25: error: asm/page.h: No such file or directory | make: * [SysV.o] Error 1 | make: Leaving directory `/home/masterbrian/moko/build/tmp/work/i686-linux/perl-native-5.8.7-r3/perl-5.8.7/ext/IPC/SysV' | make:
Kernel Bug Tracker – Bug10791 Missing asm/page.h on X86 kernel header install Last modified: 2008-05-25 10:24:19 UTC Home | New | Browse | Search | [?] | Reports | Help | http://setiweb.org/perl-error/perl-cpan-error.php 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. I still haven't been able to compile it though. Assuming all is well and make completes successfully, you can now run make test && make install and you'll have successfully downgraded perl (I would recommend you set your prefix when
What's the difference in sound between the letter Î· and the diphthong ÎµÎą?
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 Home | New | Browse | Search | [?] | Reports | Help | NewAccount | Log In [x] | Forgot Password Login: [x] Front page | perl.perl5.porters | Postings from So, your original source code looks fishy at best. If you've already tried to run make, you might see this error: makedepend: Already running, exiting That's because it previously exited abnormally (anyone remember "abend"?) and left a .depending directory lying
Apparently, we filter out some of the gcc output, but it's changed over time and we missed this. 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? Do you need to know and cast the spell Scrying to use a Crystal Ball of True Seeing? weblink If so delete that old link and relink asm to asm-generic.
Adv Reply October 11th, 2013 #7 trent.josephsen View Profile View Forum Posts Private Message Visit Homepage Tall Cafč Ubuntu Join Date Feb 2009 Beans 1,467 Re: Having trouble compiling C Comments to Ask Bjørn Hansen at [email protected] | Group listing | About current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your 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
What about the first answer? Browse other questions tagged command-line or ask your own question. You can always set up a symlink to ensure you have the proper Perl running). The time now is 03:52 AM.