Click to See Complete Forum and Search --> : /usr/include/asm/


MrNewbie
01-14-2001, 08:08 AM
When I am compiling things I get some errors about /usr/include/asm files not being found. I've searched the board and linuxdoc but can't seem to find out what puts the /usr/include/asm/ files there. What is it?
The errors I get are these. This is installing Vim:
/usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or directory
make[1]: *** [buffer.o] Error 1
make[1]: Leaving directory `/usr/src/tars/v/vim-5.7/src'
make: *** [all] Error 2


And this one when installing QT:

/usr/include/linux/errno.h:4: asm/errno.h: No such file or directory
make[2]: *** [qfile.o] Error 1
make[2]: Leaving directory `/usr/local/qt/src/moc'
make[1]: *** [src-moc] Error 2
make[1]: Leaving directory `/usr/local/qt'
make: *** [init] Error 2
Why are these files missing?
MrNewbie

PLBlaze
01-14-2001, 01:56 PM
Untar or ubzip2 latest stable kernel source be it 2.2.18 or 2.4.0 in /usr/src/linux then make menuconfig save it and run make dep.After these steps are done proceed as usual to compile your other sources.The asm/linux links must be made into /usr/include because many programs may depend on them as you found out.Hope this helps.