Kernel Build failing due to "trying to assign nonexistent symbol"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Folks.

   Hope the vacation was refreshing. :-)

   I have added a few new files in the console directory to try to
support a new console device. I am trying to get them to compile. I
have made the necessary   obj-${CONFIG_FUNC_FOO}  += foo_file.o
change to the Makefile in the "/drivers/video/console/" directory. I
have also set CONFIG_FUNC_FOO=y in the .config file. However, when I
try to build the kernel, I get the following message.

[root@orcah3 linux-2.6.9]# make vmlinux
 CHK     include/linux/version.h
scripts/kconfig/conf -s arch/ia64/Kconfig
.config:753: trying to assign nonexistent symbol CONFIG_FUNC_FOO
#
# using defaults found in .config
#
...
...
...

   Also, the CONFIG_FUNC_FOO entry is removed from the .config file.
The kernel build fails due to non-inclusion of the required foo_file.o

   I know I am missing something very obvious here. I am reading the
kbuild Documentation. However, a pointer as to what is wrong would
help.

Thanks & Regards,
Karthik
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux