gcc default include path ('#include <linux/xxxx.h>' fails)

gcc default include path ('#include <linux/xxxx.h>' fails)

Post by Henrik Storn » Tue, 19 Nov 1996 04:00:00




Quote:>I did the CD upgrade to RedHat Intel/4.0 and gcc can't find
>the .h files for the command #include <linux/xxxx.h>.  

As root, do
   cd /usr/include
   ln -s ../src/linux/include/linux linux
   ln -s ../src/linux/include/asm asm

assuming you have a /usr/src/linux - if not, then also do
   cd /usr/src
   ln -s linux-2.0.18 linux

--

 
 
 

gcc default include path ('#include <linux/xxxx.h>' fails)

Post by Zio Budd » Thu, 21 Nov 1996 04:00:00



> I did the CD upgrade to RedHat Intel/4.0 and gcc can't find
> the .h files for the command #include <linux/xxxx.h>.  I can
> fix this by putting

>      -I /usr/src/linux-2.0.18/include/linux

If U can't make the sumbolic lynk
(ln -sf /usr/src/linux/include/linux /usr/include/linux)

u must to change Ur line in
-I/usr/src/linux-2.0.18/include/

so the system can (i think) go in linux/ asm/, but If u can make the
symbolic link, U MAKE!!!!!! they!!!!!!!

lo sbuz...

--
                Morelli "ZIO BUDDA" Davide Michel
        Member of Pluto Linux User Group and Boss of Milan Pluto U.G.

                http://dau.ing.univaq.it/~ziobudda
                Ask me for Linux & Games for PC...