RE: Where is CONFIG_KDB_BOOT_CONS defined?

Jan Stoess <[email protected]> Tue, 22 Jun 2010 09:02:40 +0200
Newsgroups gmane.comp.micro-kernel.l4.l4ka.general
Message-ID <[email protected]>
It's defined during the configuration, by cml2:
http://hg.l4ka.org/l4ka-pistachio/file/c93c6a2bbe6b/kernel/config/rules.cml#l354

Did you re-configure the kernel? 

-Jan

--
Dr.-Ing. Jan Stoess
KIT/UKa System Architecture Group
Phone: +49 (721) 608 4056
Fax: +49 (721) 608 7664
http://os.ibds.kit.edu/stoess 

> -----Original Message-----
> From: [email protected] [mailto:[email protected]
> karlsruhe.de] On Behalf Of C. P. Ghost
> Sent: Monday, June 21, 2010 20:55
> To: [email protected]
> Subject: Where is CONFIG_KDB_BOOT_CONS defined?
> 
> Hello,
> 
> kernel in changeset 735:c93c6a2bbe6b doesn't compile because
> CONFIG_KDB_BOOT_CONS is not defined.
> 
> ===> kdb/generic/console.cc
> cd kdb/generic/ && /usr/local/bin/gcc44 -nostdinc -
> I/users/cordix/cordix/usr/obj/l4/include
> -I/users/cordix/cordix/usr/src/l4/kernel/src
> -I/users/cordix/cordix/usr/src/l4/kernel/src/generic
> -I/usr/local/lib/gcc44/gcc/x86_64-portbld-freebsd8.0/4.4.5/include
> -Ux64 -Ux86 -Uk8 -Upc99 -Uv4 -Urr -D__SUBARCH__=x64 -D__ARCH__=x86
> -D__CPU__=k8 -D__PLATFORM__=pc99 -D__API__=v4 -D__SCHED__=rr -
> imacros /users/cordix/cordix/usr/obj/l4/config/config.h -imacros
> /users/cordix/cordix/usr/src/l4/kernel/src/generic/macros.h -include
> /users/cordix/cordix/usr/src/l4/kernel/src/generic/config.h  -include
> /users/cordix/cordix/usr/src/l4/kernel/src/generic/types.h -fno-rtti -fno-
> builtin  -fomit-frame-pointer -fno-exceptions -Wall -Wno-non-virtual-dtor -
> Wno-format  -Wconversion -O2 -m64
> -mcmodel=kernel -mno-red-zone  -march=k8   -fno-stack-protector
> -Wno-conversion  -c
> /users/cordix/cordix/usr/src/l4/kernel/kdb/generic/console.cc
> /users/cordix/cordix/usr/src/l4/kernel/kdb/generic/console.cc: In function
> 'void init_console()':
> /users/cordix/cordix/usr/src/l4/kernel/kdb/generic/console.cc:44:
> error: 'CONFIG_KDB_BOOT_CONS' was not declared in this scope
> gmake[1]: *** [kdb/generic/console.o] Error 1
> gmake[1]: Leaving directory `/users/cordix/cordix/usr/obj/l4'
> 
> Thanks,
> -cpghost.
> 
> --
> Cordula's Web. http://www.cordula.ws/