What do you need out of that header? In my case "asm" was a sym link to 64 bit directory but name of that 64 bit directory was differet on disk, this means asm was pointing to non existent Reply Pingback: Compcache on Ubuntu on Amazon EC2 « Heuristic Andrew Anders Kaseorg says: May 6, 2010 at 12:57 pm I filed this bug report in the linux-ec2 package: https://bugs.launchpad.net/ubuntu/+source/linux-ec2/+bug/576558 Reply 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.

Their names are different though: libgmp is called libgmp.so.10 and libgmp.so.10.1.2. Players stopping other player actions How to add an sObject to a sublislist? i reinstall all kernel-headers i have installed previously but no luck. This blog covers technologies including SAS, R, and data mining.

make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.19/csu' make[1]: *** [csu/subdir_lib] Error 2 make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.19' make: *** [all] Error 2 looking through the make log, i get a lot of file not found thank you Back to top Report #15 ylee ylee King of the Software Page Moderators 1418 posts LocationSouth Carolina, USA Posted 05 January 2012 - 08:51 PM problem solved.thank youI am Where is asm/page.h? In file included from ./sysdeps/unix/sysdep.h:20:0, from ./sysdeps/unix/i386/sysdep.h:18, from sysdeps/unix/sysv/linux/i386/sysdep.h:23, from :1: sysdeps/unix/sysv/linux/sys/syscall.h:24:24: fatal error: asm/unistd.h: No such file or directory #include ...

I still get the no such file errorThanks for helpingedit: btw I'm trying on both arch and debian 3.12. Like I said, I'm just looking to compile it. 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 Reload to refresh your session.

Thanks for the help everyone phoenix_2000 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by phoenix_2000 Thread Tools Show Printable Version Email Do you want to continue [Y/n]? (Reading database ... 139684 files and directories currently installed.) Preparing to replace build-essential 11.4build1 (using .../build-essential_11.4build1_i386.deb) ... So, your original source code looks fishy at best. 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).

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. 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 Because OpenSuSE has to be made compliant for LFS construction, and the fact SuSE has a reputation of using variations in file installation locations, until you can build the bootstrap system Several functions may not work.

If so delete that old link and relink asm to asm-generic. "No technology can ever be too arcane or complicated for the black t-shirt crowd." Back to top Report #12 stanks Where is asm/page.h? Blogs Recent Entries Best Entries Best Blogs Blog List Search Blogs Home Forums HCL Reviews Tutorials Articles Register Search Search Forums Advanced Search Search Tags Search LQ Wiki Search Tutorials/Articles Search I ran the books' scripts, but when i do make, it gives me an error.

Both are required for MacPorts. And if it's not the problem, how could I solve my unistd.h problem ? Here's the output : clang version 3.6.2 (tags/RELEASE_362/final) Target: x86_64-apple-darwin15.0.0 Thread model: posix permalinkembedsaveparentgive gold[?]OmegaNaughtEquals1 0 points1 point2 points 11 months ago(2 children)You might try that. Once you have Xcode / command line tools installed you can either use the versions of clang and gcc included with Xcode or the one you download...

asked 6 years ago viewed 19028 times active 1 month ago Get the weekly newsletter! Digital Diversity What kind of bicycle clamps are these? How to tell why macOS thinks that a certificate is revoked? Tuesday, January 10, 2012 2:51 PM Reply | Quote 0 Sign in to vote thats also happens to me while compiling pocketSphinx, because its for unix/linix not work on windows solution I was not confident to make my own file stdlib.h and copy and paste contents from web. Edit: I just compiled the ...

node-gyp -v v2.0.1 gyp ERR! if /usr/include/asm-generic does not exist, try to install or reinstall linux-libc-dev. The code does include asm/page.h but I don't have thad header in /usr/include/asm or asm-generic. But at build time, I'm getting this error: C1083: Cannot open include file: 'unistd.h': No such file or directory How do I please to fix this? Some people have had success with other distributions, but they've had to work to make them compliant, and it's not worth the time an...

make[2]: *** [/home/matt/emb/build-tools/build-glibc/tcb-offsets.h] Error 1 make[2]: Leaving directory `/home/matt/emb/build-tools/glibc-2.10.1/csu' make[1]: *** [csu/subdir_lib] Error 2 make[1]: Leaving directory `/home/matt/emb/build-tools/glibc-2.10.1' make: *** [all] Error 2 I have seen this come up a lot I usually file bug reports, but sometimes there are only so many hours in a day? Reply Angshuman Sarkar says: February 12, 2011 at 1:28 pm This worked for me since I ran the books' sc...