login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
January
»
7
Re: [2.6.24-rc6-mm1] Build Failure on ppc64 with CONFIG_USB_GADGET not set.
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Andrew Morton <akpm@...>
To: Sam Ravnborg <sam@...>
Cc: <imsudhirkumar@...>, <linux-kernel@...>, <post@...>, <rpurdie@...>
Subject:
Re: [2.6.24-rc6-mm1] Build Failure on ppc64 with CONFIG_USB_GADGET not set.
Date: Monday, January 7, 2008 - 3:36 pm
On Mon, 7 Jan 2008 20:15:31 +0100 Sam Ravnborg <sam@ravnborg.org> wrote:
quoted text
> On Mon, Jan 07, 2008 at 09:49:55AM -0800, Andrew Morton wrote: > > On Mon, 7 Jan 2008 16:53:58 +0530 "sudhir kumar" <imsudhirkumar@gmail.com> wrote: > > > > > Hi Andrew! > > > > > > Kernel build fails on my ppc64 machine. It seems to be a dependency > > > problem with CONFIG_USB_GADGET not set. > > > Config file is attached. > > > > > > CC init/version.o > > > LD init/built-in.o > > > LD .tmp_vmlinux1 > > > drivers/built-in.o: In function `oz99x_remove': > > > drivers/i2c/chips/oz99x.c:660: undefined reference to `.led_classdev_unregister' > > > drivers/built-in.o: In function `oz99x_configure_leds': > > > drivers/i2c/chips/oz99x.c:314: undefined reference to `.led_classdev_register' > > > make: *** [.tmp_vmlinux1] Error 1 > > > > > > > Strange. > > > > oz99x-i2c-button-and-led-support-driver.patch has > > > > +config OZ99X > > + tristate "O2 Micro/ETC OZ990/OZ992 SMBus chip" > > + depends on I2C > > + select INPUT_POLLDEV > > + select LEDS_CLASS > > > > and your .config gives > > > > box:/usr/src/25> grep LEDS .config > > # CONFIG_NEW_LEDS is not set > > CONFIG_LEDS_CLASS=y > > > > so drivers/leds/led-class.o should be linked into your vmlinux. But that > > obviously isn't happening. > Because CONFIG_NEW_LEDS is not set we do not visit drivers/leds due to: > obj-$(CONFIG_NEW_LEDS) += leds/ > in drivers/Makefile > > This is evil select playing games (again). > We have LEDS_CLASS equal y but NEW_LEDS equal n >
Ah, OK, thanks. I'll switch oz99x-i2c-button-and-led-support-driver.patch over to using non-evil `depends on LEDS_CLASS'. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[2.6.24-rc6-mm1] Build Failure on ppc64 with CONFIG_USB_GADG...
, sudhir kumar
, (Mon Jan 7, 7:23 am)
Re: [2.6.24-rc6-mm1] Build Failure on ppc64 with CONFIG_USB_...
, Andrew Morton
, (Mon Jan 7, 1:49 pm)
Re: [2.6.24-rc6-mm1] Build Failure on ppc64 with CONFIG_USB_...
, Sam Ravnborg
, (Mon Jan 7, 3:15 pm)
Re: [2.6.24-rc6-mm1] Build Failure on ppc64 with CONFIG_USB_...
, Andrew Morton
, (Mon Jan 7, 3:36 pm)
Re: [2.6.24-rc6-mm1] Build Failure on ppc64 with CONFIG_USB_...
, Hendrik Sattler
, (Mon Jan 7, 4:07 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
debian developer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Vu Pham
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Adrian Bunk
Re: Linux 2.6.21
git
:
linux-netdev
:
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Radu Rendec
Endianness problem with u32 classifier hash masks
Benjamin Herrenschmidt
[PATCH 0/11] ibm_newemac: Candidate patches for 2.6.25
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
772 guests
online.
Online users
jraval618
creativewebs279
Syndicate