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

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

Try to locate memory.h with find /usr | grep mach/memory.h once you have located the file, symlink it to the righ place sudo ln -s /path/to/mach /usr/src/linux-headers-`uname -r`/arch/arm/include/ If you really But to verify the perl buil you need to compile the image yourself. Do you need to know and cast the spell Scrying to use a Crystal Ball of True Seeing? Most likely it never needed that asm/page.h in first place, and in reality it just needs something like linux/types.h (this is one of headers included by one of kernel's asm/page.h). Source

Since many people are confused about how to do this, I decided to slog through and figure it out. Yes that's me obviously. 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[2]: * [SysV.o] Error 1 | make[2]: Leaving directory `/home/masterbrian/moko/build/tmp/work/i686-linux/perl-native-5.8.7-r3/perl-5.8.7/ext/IPC/SysV' | make[1]: Home | New | Browse | Search | [?] | Reports | Help | NewAccount | Log In [x] | Forgot Password Login: [x] Front page | perl.perl5.porters | Postings from https://bugzilla.kernel.org/show_bug.cgi?id=10791

Format For Printing -XML -Clone This Bug -Top of page First Last Prev Next This bug is not in your last search results. If you run make now, you might hit the second error: No rule to make target `', needed by `miniperlmain.o'. Adv Reply October 11th, 2013 #3 Bond112 View Profile View Forum Posts First Cup of Ubuntu Join Date Oct 2013 Beans 3 Re: Having trouble compiling C code on ubuntu.

lib. It says fatal error: asm/page.h: No such file or directory. 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 Apparently, we filter out some of the gcc output, but it's changed over time and we missed this.

What to do with my pre-teen daughter who has been out of control since a severe accident? Grayscale not working in simple TikZ Digital Alarm Clock Generating Pythagorean triples below an upper bound Reduce function is not showing all the roots of a transcendental equation How common is On most recent Ubuntu 13.04, while directory /usr/include/asm-generic exists, page.h does not (and build-essential and linux-libc-dev are installed). –mvp Oct 11 '13 at 6:47 Okay, I installed build-essentials and https://forums.gentoo.org/viewtopic-t-543066.html The first problem is a strange "You haven't done a make depend yet" error.

How common is the usage of yous as a plural of you? As per RHN 2006 change log, this "stop IPC/SysV.c including for getpagesize(), which is now declared by including ". if /usr/include/asm-generic does not exist, try to install or reinstall linux-libc-dev. make[2]: *** [/home/odroid/Modules/Hello.o] Error 1 make[1]: *** [_module_/home/odroid/Modules] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-3.10.96-150' make: *** [all] Error 2 command-line share|improve this question edited Jun 9 at 11:34 dadexix86 4,8052066 asked

If so delete that old link and relink asm to asm-generic. http://www.perlmonks.org/?displaytype=print;node_id=784595;replies=1 Dave david@cross-lfs.org Comment 1 Adrian Bunk 2008-05-25 10:19:22 UTC *** Bug 10793 has been marked as a duplicate of this bug. *** Comment 2 Adrian Bunk 2008-05-25 10:24:19 UTC Perl should Do you want to help us debug the posting issues ? < is the place to report it, thanks ! install build-essential sudo apt-get install build-essential Now recreate the proper link: sudo ln -s /usr/include/asm-generic /usr/include/asm Build-essential should install a /usr/include/asm-generic folder.

At this point, everything should be fine, but you can't run make yet. this contact form How to heal religious units? 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? So, your original source code looks fishy at best.

Tango Icons Tango Desktop Project. Thanks.[reply] Re: How To Downgrade Perl on Ubuntu by Anonymous Monk on Feb 11, 2012 at 18:55UTC For me, the lines kept getting regenerated in the file x2p/makefile every time 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 | have a peek here 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

Here's the results: /usr/src/linux-headers-3.5.0-17/include/xen/page.h /usr/src/linux-headers-3.5.0-17/include/asm-generic/page.h /usr/src/linux-headers-3.5.0-17/arch/um/include/asm/page.h /usr/src/linux-headers-3.5.0-17/arch/hexagon/include/asm/page.h /usr/src/linux-headers-3.5.0-17/arch/frv/include/asm/page.h /usr/src/linux-headers-3.5.0-17/arch/xtensa/include/asm/page.h /usr/src/linux-headers-3.5.0-17/arch/arm/include/asm/page.h /usr/src/linux-headers-3.5.0-17/arch/alpha/include/asm/page.h /usr/src/linux-headers-3.5.0-17/arch/h8300/include/asm/page.h /usr/src/linux-headers-3.5.0-17/arch/blackfin/include/asm/page.h /usr/src/linux-headers-3.5.0-17/arch/sparc/include/asm/page.h /usr/src/linux-headers-3.5.0-17/arch/x86/include/asm/xen/page.h /usr/src/linux-headers-3.5.0-17/arch/x86/include/asm/page.h /usr/src/linux-headers-3.5.0-17/arch/score/include/asm/page.h /usr/src/linux-headers-3.5.0-17/arch/openrisc/include/asm/page.h /usr/src/linux-headers-3.5.0-17/arch/parisc/include/asm/page.h /usr/src/linux-headers-3.5.0-17/arch/avr32/include/asm/page.h /usr/src/linux-headers-3.5.0-17/arch/tile/include/asm/page.h /usr/src/linux-headers-3.5.0-17/arch/s390/include/asm/page.h /usr/src/linux-headers-3.5.0-17/arch/mips/include/asm/page.h /usr/src/linux-headers-3.5.0-17/arch/cris/include/arch-v32/arch/page.h /usr/src/linux-headers-3.5.0-17/arch/cris/include/asm/page.h /usr/src/linux-headers-3.5.0-17/arch/cris/include/arch-v10/arch/page.h /usr/src/linux-headers-3.5.0-17/arch/mn10300/include/asm/page.h /usr/src/linux-headers-3.5.0-17/arch/microblaze/include/asm/page.h /usr/src/linux-headers-3.5.0-17/arch/c6x/include/asm/page.h /usr/src/linux-headers-3.5.0-17/arch/m68k/include/asm/page.h /usr/src/linux-headers-3.5.0-17/arch/m32r/include/asm/page.h Thanks a bunch! [reply][d/l][select] Re^2: How To Downgrade Perl on Ubuntu by Anonymous Monk on Jun 29, 2011 at 13:44UTC I ran into exactly the same test case failures recently with Actually, you can run make, but it will likely fail.

Ubuntu Logo, Ubuntu and Canonical Canonical Ltd.

I'm using Gentoo, on x86 platform. Any one have tried? It's a faster shell, but not only does it not support everything bash does, it also is less tolerant of errors. Output the Hebrew alphabet I have a new guy joining the group.

Fractals of dimension zero How much interest did Sauron have in Erebor? Thanks. Stop. 検索したらmakedepend.SH の一部を書き換えればOKとのこと。さっそく makedepend.SH を開いて170行目に以下の行を追加。 $ vim makedepend.SH $sed \ -e '1d' \ -e '/^#.*/d' \ -e '/^#.*/d' \ -e '/^#.*/d' \ -e '/^#.*/d' \ ← この行追加 -e '/^#.*"-"/d' \ んで再makeしたんだけど今度は「asm/page.h Check This Out 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

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. What's the difference in sound between the letter η and the diphthong ει? First, you need to get Perl and apply a regex patch which closes a security hole (many thanks to Rufus Cable for alerting me to the patch): wget http://www.cpan.org/src/perl-5.8.8.tar.gz wget ftp://ftp.cpan.org/pub/CPAN/authors/id/N/NW/NWCLARK/regexp-5.8.8. The time now is 03:52 AM.

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 translators: miniperl$(EXE_EXT) $(CONFIGPM) FORCE perl -i~ -nle 'print unless //' x2p/makefile @echo " "; echo " Making x2p stuff"; cd x2p; $(LDLIBPTH) + $(MAKE) all [download] Thanks, Rahul[reply][d/l][select] Re^2: How To Fortunately, you can keep fixing errors and rerunning make until all errors go away. 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

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 Related 34I have Python on my Ubuntu system, but gcc cant find Python.h1getting error during make in ubuntu for procmon0strange g++ compiler errors from c++ header files3#include-ing certain header files in It says "fatal error: asm/page.h: No such file or directory." How can I get the missing header? Devel::PPPort `fixes' this problem for you.

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 . You can see my reply to the last answer. Words that are anagrams of themselves Objects places opposite partly in particle system more hot questions about us tour help blog chat data legal privacy policy work here advertising info mobile Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the

Not fun. vBulletin 2000 - 2016, Jelsoft Enterprises Ltd.