[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Who broke GCC compiling ...



>> What the Hell is this crap?  /usr/include/linux/errno.h definately does
>> not exist on this system.
>
>make sure you have /usr/include/linux soft linked to
>/usr/src/linux/include/linux like this:
>
>lrwxrwxrwx    1 root     root           28 Apr 21 01:07 /usr/include/linux
>-> /usr/src/linux/include/linux

Done.  Based on previous postings.

>You have to make sure you have the kernel-headers package or the full
>kernel source untar'd at /usr/src/linux. /usr/src/linux points to the
>source of the currently running kernel. /usr/src/linux-2.2.17 (for
>example) would be the source tree and /usr/src/linux points to it (if
>2.2.17 is the source for the currently running kernel,
>etc). /usr/src/linux MUST exist. It's needed to reference kernel headers,
>as well as when you compile the kernel itself.

That was there:

dir /usr/src
total 24
drwxr-xr-x   6 root     root         4096 Sep  3 01:05 .
drwxr-xr-x  25 root     root         4096 Aug 27 18:12 ..
lrwxrwxrwx   1 root     root           12 Sep  3 01:05 linux -> linux-2.2.16
drwxr-xr-x   3 root     root         4096 Aug 27 18:05 linux-2.2.12
drwxr-xr-x   3 root     root         4096 Sep  3 01:05 linux-2.2.14
drwxr-xr-x  18 root     root         4096 Sep  3 01:05 linux-2.2.16
drwxr-xr-x   7 root     root         4096 Jul 22 12:04 redhat

>While your at it, make sure you have the asm headers pointed to.
>
>lrwxrwxrwx    1 root     root           26 Apr 21 01:07 /usr/include/asm
>-> /usr/src/linux/include/asm

Yep, added that as well from previous posts.

>This does get broken if you use rpm packages...

Aaaah, a voice in the crowd that says that the RPM install is broken :-)

>> Personally I'd say redhat broke this.  So, how do I fix it ASAP?
>
>In terms of RPM, you're probably right... but it's minor.

Not so minor when the gcc compile fails :-)  This really should be fixed
by Red Hat :-)

>> How can anyone have broken this and not seen it?
>
>Only when you compile against kernel headers do you see it. It's easy to
>miss.

Guess so.

Now only to get the next error fixed.

Thanks for the response and the word that the RPMs are broken.

MB
-- 
e-mail: vidiot vidiot com
    Bart: Hey, why is it destroying other toys?  Lisa: They must have
    programmed it to eliminate the competition.  Bart: You mean like
    Microsoft?  Lisa: Exactly.  [The Simpsons - 12/18/99]
Visit - URL:http://www.vidiot.com/  (Your link to Star Trek and UPN)





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]