Error compiling 2.0.4 kernel

Error compiling 2.0.4 kernel

Post by Toma » Thu, 11 Jul 1996 04:00:00



I got this weird error when compiling the 2.0.4 kernel...
I have GCC 2.7.2, libc 5.2.18 and ld.so 1.7.14...

gcc -I/usr/src/linux/include  -D__BFD__ -o tools/build tools/build.c
-I/usr/src/linux/include
In file included from tools/build.c:28:
/usr/include/sys/stat.h:92: unterminated macro call
/usr/include/sys/stat.h:135: warning: preprocessing directive not recognized within macro arg
/usr/include/sys/stat.h:135: warning: preprocessing directive not recognized within macro arg
/usr/include/sys/stat.h:135: warning: preprocessing directive not recognized within macro arg
/usr/include/sys/stat.h:135: warning: preprocessing directive not recognized within macro arg
/usr/include/sys/stat.h:135: warning: preprocessing directive not recognized within macro arg
/usr/include/sys/stat.h:135: warning: preprocessing directive not recognized within macro arg
/usr/include/sys/stat.h:135: warning: preprocessing directive not recognized within macro arg
/usr/include/sys/stat.h:135: warning: preprocessing directive not recognized within macro arg
/usr/include/sys/stat.h:135: unterminated macro call
/usr/include/sys/stat.h:135: unterminated comment
/usr/include/sys/stat.h:138: unterminated comment
/usr/include/sys/stat.h:139: macro `__P' used with too many (49) args
/usr/include/sys/stat.h:140: unterminated comment
/usr/include/sys/stat.h:141: macro `__P' used with too many (49) args
/usr/include/sys/stat.h:143: unterminated comment
/usr/include/sys/stat.h:143: unterminated string or character constant
/usr/include/sys/stat.h:0: possible real start of unterminated constant
/usr/include/sys/stat.h:148: unterminated comment
/usr/include/sys/stat.h:149: empty #if expression
gcc: Internal compiler error: program cpp got fatal signal 6
make[1]: *** [tools/build] Error 1
make[1]: Leaving directory `/usr/src/linux-2.0.4/arch/i386/boot'
make: *** [zImage] Error 2

...please advice :)

(please, send a cc: to me, my ISP's news-server is a bit weird sometimes..)

---
Tomas Lund

 
 
 

1. Error compiling 2.2.2 kernel

Every time I try to compile the 2.2.2 kernel
with make zImage,I get an error telling me that
csum_partial_copy is already defined.The last 5
lines are

make[2]: *** [checksum.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.0.36.SuSE/arch/i386/lib'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.0.36.SuSE/arch/i386/lib'
make: *** [_dir_arch/i386/lib] Error 2

Despite the name of the directory it is the location
of the 2.2.2 kernel.
Before I made the zImage, I made mrproper, xconfig and dep.
I used no modules, though they were enabled (just in case), as
was the loader.

Can anyone tell me whats wrong. I've pretty standard hardware,
a Pentium II, 2GB IDE ext2 partition, Mach64 graphics on a
Rage Pro, PCI Yamaha sound card. I've had no problems compiling
the 2.0.36 kernel that came with my distribution (SuSE 6.0).

Thanks a lot
Bryan Feeney

2. 5d card support

3. Errors Compiling 2.1.43 Kernel

4. URGENT: Building perl 5.003 on Solaris 2.5.1

5. Error compiling 2.2.5 kernel

6. Apache 1.3.6 : User Authenication Question

7. *** Error compiling 2.2.1 Kernel!?

8. Mach 64 Blank Screen Problem

9. Error compiling 1.1.81 kernel (undef'd symbol)

10. Help! Error compiling 1.2.13 kernel

11. Error compiling 2.2.2 kernel

12. Kernel Compile Errors - Error 2

13. kernel error when compiling kernel on 4-stable (after make dep, during make)