public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* Kernel Build failing due to "trying to assign nonexistent symbol"
@ 2007-01-02 13:35 Karthik Gopalakrishnan
  2007-01-02 13:43 ` Matthew Wilcox
  2007-01-02 18:54 ` Karthik Gopalakrishnan
  0 siblings, 2 replies; 3+ messages in thread
From: Karthik Gopalakrishnan @ 2007-01-02 13:35 UTC (permalink / raw)
  To: linux-ia64

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Kernel Build failing due to "trying to assign nonexistent symbol"
  2007-01-02 13:35 Kernel Build failing due to "trying to assign nonexistent symbol" Karthik Gopalakrishnan
@ 2007-01-02 13:43 ` Matthew Wilcox
  2007-01-02 18:54 ` Karthik Gopalakrishnan
  1 sibling, 0 replies; 3+ messages in thread
From: Matthew Wilcox @ 2007-01-02 13:43 UTC (permalink / raw)
  To: linux-ia64

On Tue, Jan 02, 2007 at 06:53:37PM +0530, Karthik Gopalakrishnan wrote:
>    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.

You need to add a Kconfig stanza for FUNC_FOO.  Look in
drivers/video/console/Kconfig for examples.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Kernel Build failing due to "trying to assign nonexistent symbol"
  2007-01-02 13:35 Kernel Build failing due to "trying to assign nonexistent symbol" Karthik Gopalakrishnan
  2007-01-02 13:43 ` Matthew Wilcox
@ 2007-01-02 18:54 ` Karthik Gopalakrishnan
  1 sibling, 0 replies; 3+ messages in thread
From: Karthik Gopalakrishnan @ 2007-01-02 18:54 UTC (permalink / raw)
  To: linux-ia64

On 1/2/07, Matthew Wilcox <matthew@wil.cx> wrote:
> On Tue, Jan 02, 2007 at 06:53:37PM +0530, Karthik Gopalakrishnan wrote:
> >    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.
>
> You need to add a Kconfig stanza for FUNC_FOO.  Look in
> drivers/video/console/Kconfig for examples.
>
Oh my... Blunder on my part. Thanks.

Regards,
Karthik

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-01-02 18:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-02 13:35 Kernel Build failing due to "trying to assign nonexistent symbol" Karthik Gopalakrishnan
2007-01-02 13:43 ` Matthew Wilcox
2007-01-02 18:54 ` Karthik Gopalakrishnan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox