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?
On Tue, 2003-02-18 at 01:42, Glenn wrote:
Hmmm...it seems that something with the KDB_REASON_BREAK is missing in the source code....Any ideas out there?
Looks like a bug in the source you're trying to compile. KDB_* has to do with kernel debugging. Where did you get the source?
From the SuSE 8.1 Professional Version CD-Rom.
On Mon, 2003-02-17 at 15:48, Anders Johansson wrote:
On Tue, 2003-02-18 at 01:42, Glenn wrote:
Hmmm...it seems that something with the KDB_REASON_BREAK is missing in the source code....Any ideas out there?
Looks like a bug in the source you're trying to compile. KDB_* has to do with kernel debugging.
Where did you get the source?
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Tue, 2003-02-18 at 02:34, Glenn wrote:
From the SuSE 8.1 Professional Version CD-Rom.
Get the updated kernel-source.rpm from the updates directory on your favourite ftp mirror. It looks like there was a missing #ifdef that was fixed in the newer version
On Tuesday 18 February 2003 01:48, Anders Johansson wrote:
On Tue, 2003-02-18 at 01:42, Glenn wrote:
Hmmm...it seems that something with the KDB_REASON_BREAK is missing in the source code....Any ideas out there?
Looks like a bug in the source you're trying to compile. KDB_* has to do with kernel debugging.
Yup, sounds familiar. I had the same thing. IIRC, disabling kernel debugging (CONFIG_DEBUG_KERNEL in .config), via make xconfig, make menuconfig or whatever, circumvented the problem. Paul.
That did it! Thanks Paul and Anders! On Tue, 2003-02-18 at 04:54, Paul Uiterlinden wrote:
On Tuesday 18 February 2003 01:48, Anders Johansson wrote:
On Tue, 2003-02-18 at 01:42, Glenn wrote:
Hmmm...it seems that something with the KDB_REASON_BREAK is missing in the source code....Any ideas out there?
Looks like a bug in the source you're trying to compile. KDB_* has to do with kernel debugging.
Yup, sounds familiar. I had the same thing. IIRC, disabling kernel debugging (CONFIG_DEBUG_KERNEL in .config), via make xconfig, make menuconfig or whatever, circumvented the problem.
Paul.
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Mon, Feb 17, 2003 at 03:42:55PM -0900, 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?
Please see the thread with the same subject around January 8, 2003 on this list. Regards, -Kastus
participants (4)
-
Anders Johansson
-
Glenn
-
Konstantin (Kastus) Shchuka
-
Paul Uiterlinden