[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a781481a0705071725i1d802dfejbcdaca4ab0a1ff55@mail.gmail.com>
Date: Tue, 8 May 2007 05:55:38 +0530
From: "Satyam Sharma" <satyam.sharma@...il.com>
To: chris@...urn.com
Cc: linux-kernel@...r.kernel.org, marcel@...tmann.org,
bluez-devel@...ts.sf.net, netdev@...r.kernel.org
Subject: Re: Getting make net/built-in.o Error with 2.6.21.1 Build
On 5/8/07, Chris Bergeron <chris@...urn.com> wrote:
> On trying to build a 2.6.21.1 kernel using the configuration at
> http://pcburn.com/files/kernel/breaks.2.6.21.1.config I'm getting the
> following error with Networking Support -> Bluetooth Subsystem Support
> -> HIDP protocol support set to built-in:
>
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> net/built-in.o: In function `hidp_add_connection':
> (.text+0x8bb08): undefined reference to `hid_ff_init'
> make: *** [.tmp_vmlinux1] Error 1
You've got CONFIG_BT_HIDP=y there but CONFIG_USB_HID=m. The trivial
patch below solves it. To test, you can just "make oldconfig" on the
same .config that broke above and then proceed to make bzImage.
Satyam
---
Make CONFIG_BT_HIDP depend on CONFIG_USB_HID and CONFIG_HID_FF.
Signed-off-by: Satyam Sharma <ssatyam@....iitk.ac.in>
---
net/bluetooth/hidp/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff -ruNp a/net/bluetooth/hidp/Kconfig b/net/bluetooth/hidp/Kconfig
--- a/net/bluetooth/hidp/Kconfig 2007-04-26 08:38:32.000000000 +0530
+++ b/net/bluetooth/hidp/Kconfig 2007-05-08 05:40:58.000000000 +0530
@@ -1,6 +1,6 @@
config BT_HIDP
tristate "HIDP protocol support"
- depends on BT && BT_L2CAP && INPUT
+ depends on BT && BT_L2CAP && INPUT && USB_HID && HID_FF
select HID
help
HIDP (Human Interface Device Protocol) is a transport layer
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists