![](https://seccdn.libravatar.org/avatar/a55c85f4b14fdbb500b046e0dab8fe0c.jpg?s=120&d=mm&r=g)
Here are the error messages that I get when I "make bzImage"...everything appears to be going fine before this. The first messages are printed from the shell right before "make bzImage" screeches to a halt, and the second set are the final lines from the file that is created after "make bzImage 2>&1 | tee kernel.out" Hmmm...it seems that something with the KDB_REASON_BREAK is missing in the source code....Any ideas out there? Thanks, Glenn shell error messages: make CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.19.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 " -C arch/i386/kernel make[1]: Entering directory `/usr/src/linux-2.4.19.SuSE/arch/i386/kernel' make[1]: Circular /usr/src/linux-2.4.19.SuSE/include/asm/processor.h <- /usr/src/linux-2.4.19.SuSE/include/linux/list.h dependency dropped. gcc -D__KERNEL__ -I/usr/src/linux-2.4.19.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=process -c -o process.o process.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.19.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=semaphore -c -o semaphore.o semaphore.c semaphore.c:329:1: warning: multi-line string literals are deprecated semaphore.c:333:35: warning: multi-line string literals are deprecated semaphore.c:335:27: warning: multi-line string literals are deprecated semaphore.c:338:35: warning: multi-line string literals are deprecated gcc -D__KERNEL__ -I/usr/src/linux-2.4.19.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=signal -c -o signal.o signal.c gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux-2.4.19.SuSE/include -traditional -c entry.S -o entry.o gcc -D__KERNEL__ -I/usr/src/linux-2.4.19.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=traps -DEXPORT_SYMTAB -c traps.c traps.c: In function `do_int3': traps.c:658: warning: implicit declaration of function `kdb' traps.c:658: `KDB_REASON_BREAK' undeclared (first use in this function) traps.c:658: (Each undeclared identifier is reported only once traps.c:658: for each function it appears in.) traps.c:658: `kdb_eframe_t' undeclared (first use in this function) traps.c:658: parse error before "regs" make[1]: *** [traps.o] Error 1 make[1]: Leaving directory `/usr/src/linux-2.4.19.SuSE/arch/i386/kernel' make: *** [_dir_arch/i386/kernel] Error 2 linux:/usr/src/linux # "kernel.out" text file of kernel Image: make CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.19.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 " -C abi make[1]: Entering directory `/usr/src/linux-2.4.19.SuSE/abi' make all_targets make[2]: Entering directory `/usr/src/linux-2.4.19.SuSE/abi' make[2]: Nothing to be done for `all_targets'. make[2]: Leaving directory `/usr/src/linux-2.4.19.SuSE/abi' make[1]: Leaving directory `/usr/src/linux-2.4.19.SuSE/abi' make CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.19.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 " -C sound make[1]: Entering directory `/usr/src/linux-2.4.19.SuSE/sound' make all_targets make[2]: Entering directory `/usr/src/linux-2.4.19.SuSE/sound' make[2]: Nothing to be done for `all_targets'. make[2]: Leaving directory `/usr/src/linux-2.4.19.SuSE/sound' make[1]: Leaving directory `/usr/src/linux-2.4.19.SuSE/sound' make CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.19.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 " -C arch/i386/kernel make[1]: Entering directory `/usr/src/linux-2.4.19.SuSE/arch/i386/kernel' make[1]: Circular /usr/src/linux-2.4.19.SuSE/include/asm/processor.h <- /usr/src/linux-2.4.19.SuSE/include/linux/list.h dependency dropped. gcc -D__KERNEL__ -I/usr/src/linux-2.4.19.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=traps -DEXPORT_SYMTAB -c traps.c traps.c: In function `do_int3': traps.c:658: warning: implicit declaration of function `kdb' traps.c:658: `KDB_REASON_BREAK' undeclared (first use in this function) traps.c:658: (Each undeclared identifier is reported only once traps.c:658: for each function it appears in.) traps.c:658: `kdb_eframe_t' undeclared (first use in this function) traps.c:658: parse error before "regs" make[1]: *** [traps.o] Error 1 make[1]: Leaving directory `/usr/src/linux-2.4.19.SuSE/arch/i386/kernel' make: *** [_dir_arch/i386/kernel] Error 2 ...any suggestions for how to fix this? What is the easiest way to declare the KDB_REASON_BREAK? Is this the problem?
![](https://seccdn.libravatar.org/avatar/4970a690d65f0be504bf05853e742d20.jpg?s=120&d=mm&r=g)
Glenn wrote:
Here are the error messages that I get when I "make bzImage"...everything appears to be going fine before this. The first messages are printed from the shell right before "make bzImage" screeches to a halt, and the second set are the final lines from the file that is created after "make bzImage 2>&1 | tee kernel.out"
Hmmm...it seems that something with the KDB_REASON_BREAK is missing in the source code....Any ideas out there?
Thanks,
. . .
traps.c: In function `do_int3': traps.c:658: warning: implicit declaration of function `kdb' traps.c:658: `KDB_REASON_BREAK' undeclared (first use in this function) traps.c:658: (Each undeclared identifier is reported only once traps.c:658: for each function it appears in.) traps.c:658: `kdb_eframe_t' undeclared (first use in this function) traps.c:658: parse error before "regs" make[1]: *** [traps.o] Error 1 make[1]: Leaving directory `/usr/src/linux-2.4.19.SuSE/arch/i386/kernel' make: *** [_dir_arch/i386/kernel] Error 2
Search the archives for traps.c There are a couple of ways to fix Mark
![](https://seccdn.libravatar.org/avatar/4970a690d65f0be504bf05853e742d20.jpg?s=120&d=mm&r=g)
Actually the subject line will be "SuSE 8.1 kernel compile problems" Mark
participants (2)
-
Glenn
-
Mark Hounschell