Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322001 - sys-kernel/gentoo-sources-2.6.34 fails to build with error: nouveau_connector.c: undefined reference to `acpi_lid_open'
Summary: sys-kernel/gentoo-sources-2.6.34 fails to build with error: nouveau_connector...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://git.kernel.org/?p=linux/kernel...
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2010-05-29 14:39 UTC by Vladimir
Modified: 2010-09-05 11:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir 2010-05-29 14:39:04 UTC
When CONFIG_ACPI_BUTTON=m (and probably when ACPI_BUTTON is not enabled)
and NOUVEAU is built-in (not as a loadable module) the following error occurs during kernel compilation:

nouveau_connector.c:(.text+0xe17ce): undefined reference to `acpi_lid_open'

Looks like this bug has been noted upstream and there are some solutions.
They may be seen here http://www.mail-archive.com/dri-devel@lists.sourceforge.net/msg47619.html
and here https://patchwork.kernel.org/patch/101787/

It seems like the final one fixes the problem. Maybe this patch is worth being added to the Portage?


Reproducible: Always

Steps to Reproduce:
1. Emerge gentoo-sources-2.6.34
2. set CONFIG_ACPI_BUTTON=m AND CONFIG_DRM_NOUVEAU=y
3. try to 'make' the kernel

Actual Results:  
Gives an error during build:

nouveau_connector.c:(.text+0xe17ce): undefined reference to `acpi_lid_open'

Expected Results:  
Should compile and link fine. :)
Comment 1 Mike Pagano gentoo-dev 2010-06-16 23:44:44 UTC
Released in gentoo-sources-2.6.34-r1