Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello dear linux lovers. I have one problem: when I try to compile xcoral program I'm getting an error "/usr/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or directory". What's wrong? what soft should I install or what should I do? Please help me!
Seems as if its needing or wanting a program or something called asm. What exactly are you trying to install and did you read its README or INSTALL file to find out any dependencies it may require?
I'm trying to install XCoral program, it's just simple text editor and it has default installiation type: ./configure && make && make install. But when I'm doing make I'm getting an error message!
Do you have those two files/usr/include/asm-generic/errno.h , /usr/include/asm/errno.h. ? With a install of slack you should, maybe they are corrupt.
if you do not have them you cold try to copy them over from your 2.4 kernel source. try this
change to root and enter these commands
Code:
cd /usr/src/linux
make mrproper
make include/linux/version.h
make symlinks
mkdir /usr/include/asm
cp include/asm/* /usr/include/asm
cp -R include/asm-generic /usr/include
cp -R include/linux /usr/include
those are the generic directions for installing you linux header files(referenced from the LFS book). It may be what you need, it may not. Half the fun of linux is making a mistake, that is how you learn. Good luck :-)
edited for accuracy.
I originally had the directorys as /include/asm and /include/asm-generic , they are correct as above.
Shanenin, I'm apreciate your help but compiler still don't work corectly! It still showing me the same error Any other ideas?
P.S: I'm using Slackware 9.1
I did not reply because I am not sure. When I had slackware, I did not remember having files like those in my home directory, it does not make sense. You could try to see if they are there with this command
Code:
ls /usr/include/asm | grep errno.h
Code:
ls /usr/include/asm-generic | grep errno.h
Did you try to reinstall them, with the procedure I left? (assuming they were missing)
Slackware 9.1 is Cool Stuff.
If you have a problem like these, you must install libary which's name of package contain the word from the error notice.
If something say, that something is no file or directory is no reason to think that is completly true
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.