when i build linux-2.5.27,i met some problem. the error message is as this:
linux-kernelmake[1]: Entering directory `/usr/src/linux-2.5.27/arch/i386/kernel'
gcc -Wp,-MD,./.entry.o.d -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux-2.5.27/i
nclude -nostdinc -iwithprefix include -traditional -c -o entry.o entry.S
/usr/lib/gcc-lib/i386-redhat-linux/2.96/tradcpp0: Usage: /usr/lib/gcc-lib/i386-r
edhat-linux/2.96/tradcpp0 [switches] input output
make[1]: *** [entry.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.5.27/arch/i386/kernel'
make: *** [arch/i386/kernel] Error 2
so how to solve the problem?
please cc. thanks.
chuanbo zheng
[email protected]
On Mon, 22 Jul 2002, zhengchuanbo wrote:
>
> when i build linux-2.5.27,i met some problem. the error message is as this:
>
> linux-kernelmake[1]: Entering directory `/usr/src/linux-2.5.27/arch/i386/kernel'
> gcc -Wp,-MD,./.entry.o.d -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux-2.5.27/i
> nclude -nostdinc -iwithprefix include -traditional -c -o entry.o entry.S
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/tradcpp0: Usage: /usr/lib/gcc-lib/i386-r
> edhat-linux/2.96/tradcpp0 [switches] input output
> make[1]: *** [entry.o] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.5.27/arch/i386/kernel'
> make: *** [arch/i386/kernel] Error 2
Hmmh, I have really no idea how that would happen, short of a compiler
bug.
What version of gcc are you using? (2.96-X, it seems, what does "rpm -qa |
grep gcc" say?)
Does the error go away without the -traditional?
--Kai