2010-08-25 15:49:20

by Ken Moffat

[permalink] [raw]
Subject: Unable to compile 2.6.36-rc2 on x86_64

Hi,

on x86_64 using a config that worked in 2.6.35.3 plus accepting the
default settings for new options, it fails with

LD .tmp_vmlinux1
drivers/built-in.o: In function `toshiba_acpi_exit':
toshiba_acpi.c:(.text+0x1c5e07): undefined reference to
`led_classdev_unregister'
drivers/built-in.o: In function `toshiba_acpi_init':
toshiba_acpi.c:(.init.text+0xa2d8): undefined reference to
`led_classdev_register'
make: *** [.tmp_vmlinux1] Error 1

I don't actually need toshiba_acpi, but it seems to be built by
default if acpi is turned on ?

Gzipped config attached.

ken
--
das eine Mal als Trag?die, das andere Mal als Farce


Attachments:
(No filename) (636.00 B)
config.gz (13.69 kB)
Download all attachments

2010-08-25 15:54:54

by Randy Dunlap

[permalink] [raw]
Subject: Re: Unable to compile 2.6.36-rc2 on x86_64

On Wed, 25 Aug 2010 16:15:54 +0100 Ken Moffat wrote:

> Hi,
>
> on x86_64 using a config that worked in 2.6.35.3 plus accepting the
> default settings for new options, it fails with
>
> LD .tmp_vmlinux1
> drivers/built-in.o: In function `toshiba_acpi_exit':
> toshiba_acpi.c:(.text+0x1c5e07): undefined reference to
> `led_classdev_unregister'
> drivers/built-in.o: In function `toshiba_acpi_init':
> toshiba_acpi.c:(.init.text+0xa2d8): undefined reference to
> `led_classdev_register'
> make: *** [.tmp_vmlinux1] Error 1
>
> I don't actually need toshiba_acpi, but it seems to be built by
> default if acpi is turned on ?
>
> Gzipped config attached.


Needs recently-merged commit c76a3e1d6c52c5cc1371f1abc7381c5715ebdf7f.

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

2010-08-25 16:09:25

by Ken Moffat

[permalink] [raw]
Subject: Re: Unable to compile 2.6.36-rc2 on x86_64

On Wed, Aug 25, 2010 at 08:52:51AM -0700, Randy Dunlap wrote:
> On Wed, 25 Aug 2010 16:15:54 +0100 Ken Moffat wrote:
>
> > Hi,
> >
> > on x86_64 using a config that worked in 2.6.35.3 plus accepting the
> > default settings for new options, it fails with
> >
> > LD .tmp_vmlinux1
> > drivers/built-in.o: In function `toshiba_acpi_exit':
> > toshiba_acpi.c:(.text+0x1c5e07): undefined reference to
> > `led_classdev_unregister'
>
> Needs recently-merged commit c76a3e1d6c52c5cc1371f1abc7381c5715ebdf7f.
>
> ---
> ~Randy
> *** Remember to use Documentation/SubmitChecklist when testing your code ***
Thanks. I'm in the middle of cloning linus' tree at the moment
(from nothing - I'd long since thrown away my local copy to save
space), this will save me bisecting.

ken
--
das eine Mal als Trag?die, das andere Mal als Farce