public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: "Toralf Förster" <toralf.foerster@gmx.de>
Cc: phil@hannent.co.uk, mwilder@cs.nmsu.edu,
	linux-kernel@vger.kernel.org, Greg KH <gregkh@suse.de>
Subject: [PATCH] Re: build issue #591 for v2.6.29-rc7-3-g559595a :drivers/staging/mimio/mimio.ko
Date: Fri, 06 Mar 2009 08:38:20 -0800	[thread overview]
Message-ID: <49B1517C.7000809@oracle.com> (raw)
In-Reply-To: <200903060928.24462.toralf.foerster@gmx.de>

Toralf Förster wrote:
> Hello,
> 
> the build (.config attached) failed, make ends with :
> ...
>   CC      arch/x86/boot/video-bios.o
>   LD      arch/x86/boot/setup.elf
>   OBJCOPY arch/x86/boot/setup.bin
>   OBJCOPY arch/x86/boot/vmlinux.bin
>   HOSTCC  arch/x86/boot/tools/build
>   BUILD   arch/x86/boot/bzImage
> Root device is (3, 8)
> Setup is 22056 bytes (padded to 22528 bytes).
> System is 3078 kB
> CRC b46a0cef
> Kernel: arch/x86/boot/bzImage is ready  (#6)
>   Building modules, stage 2.
>   MODPOST 327 modules
> ERROR: "input_register_device" [drivers/staging/mimio/mimio.ko] undefined!
> ERROR: "input_allocate_device" [drivers/staging/mimio/mimio.ko] undefined!
> ERROR: "input_event" [drivers/staging/mimio/mimio.ko] undefined!
> ERROR: "input_close_device" [drivers/staging/mimio/mimio.ko] undefined!
> ERROR: "input_free_device" [drivers/staging/mimio/mimio.ko] undefined!
> ERROR: "input_unregister_device" [drivers/staging/mimio/mimio.ko] undefined!
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2
> 
> The build was made with :
> $>make randconfig; make clean; make
> 
> Here's the config:

[snip]

I posted a patch for this on Feb. 20.
Where is it, Greg?  (yes, you were cc-ed on it)

bah, here it is again.






From: Randy Dunlap <randy.dunlap@oracle.com>

mimio driver uses input_* functions so it needs to depend on INPUT.

mimio.c:(.text+0x2526c9): undefined reference to `input_unregister_device'
mimio.c:(.text+0x2526da): undefined reference to `input_close_device'
mimio.c:(.text+0x252725): undefined reference to `input_free_device'
mimio.c:(.text+0x2528f1): undefined reference to `input_event'
mimio.c:(.text+0x252904): undefined reference to `input_event'
mimio.c:(.text+0x252921): undefined reference to `input_event'
mimio.c:(.text+0x252b3e): undefined reference to `input_event'
mimio.c:(.text+0x252b51): undefined reference to `input_event'
drivers/built-in.o:mimio.c:(.text+0x252bbd): more undefined references to `input_event' follow
mimio.c:(.text+0x252e42): undefined reference to `input_allocate_device'
mimio.c:(.text+0x2530ef): undefined reference to `input_register_device'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
cc: mwilder@cs.nmsu.edu
---
 drivers/staging/mimio/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20090220.orig/drivers/staging/mimio/Kconfig
+++ linux-next-20090220/drivers/staging/mimio/Kconfig
@@ -1,6 +1,6 @@
 config INPUT_MIMIO
 	tristate "Mimio Xi interactive whiteboard support"
-	depends on USB
+	depends on USB && INPUT
 	default N
 	help
 	  Say Y here if you want to use a Mimio Xi interactive

  reply	other threads:[~2009-03-06 16:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-06  8:28 build issue #591 for v2.6.29-rc7-3-g559595a :drivers/staging/mimio/mimio.ko Toralf Förster
2009-03-06 16:38 ` Randy Dunlap [this message]
2009-03-06 16:42   ` [PATCH] " Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49B1517C.7000809@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mwilder@cs.nmsu.edu \
    --cc=phil@hannent.co.uk \
    --cc=toralf.foerster@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox