Suddenly errors compiling kernels (any of them)

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

 



After the last update of FC7 "updates" I no longer can compile any kernel.

Symptoms:

>   CHK     include/linux/version.h
>   CHK     include/linux/utsrelease.h
>   CC      arch/i386/kernel/asm-offsets.s
> In file included from include/asm/bitops.h:9,
>                  from include/linux/bitops.h:9,
>                  from include/asm/cpufeature.h:11,
>                  from include/asm/processor.h:16,
>                  from include/asm/atomic.h:5,
>                  from include/linux/crypto.h:20,
>                  from arch/i386/kernel/asm-offsets.c:7:
> include/asm/alternative.h:9: error: expected specifier-qualifier-list before ‘u8’
> In file included from include/asm/bitops.h:366,
>                  from include/linux/bitops.h:9,
>                  from include/asm/cpufeature.h:11,
>                  from include/asm/processor.h:16,
>                  from include/asm/atomic.h:5,
>                  from include/linux/crypto.h:20,
>                  from arch/i386/kernel/asm-offsets.c:7:
> include/asm-generic/bitops/sched.h:15:5: warning: "BITS_PER_LONG" is not defined
> include/asm-generic/bitops/sched.h:21:7: warning: "BITS_PER_LONG" is not defined
> include/asm-generic/bitops/sched.h:32:2: error: #error BITS_PER_LONG not defined

etc.

I noticed that the asm/types.h file in x86_64 does have the u8 and
BITS_PER_LONG defined, although the i386 (which I'm using) doesn't?! But
it seems it has been this way for ages.

It looks like the last gcc release (gcc-4.1.2-12) skips some system
header that defines these? Or the latest glibc-headers
(glibc-headers-2.6-3) has something odd irt kernel compiling?

Please note again that I have been able to compile kernels on this
system without any problem for ages.

Tried kernels: 2.6.20.3 and 2.6.22-rc2, both of wich have been compiled
successfully before.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux