Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 322001

Summary: sys-kernel/gentoo-sources-2.6.34 fails to build with error: nouveau_connector.c: undefined reference to `acpi_lid_open'
Product: Gentoo Linux Reporter: Vladimir <v_2e>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED FIXED    
Severity: major CC: dschridde+gentoobugs, esigra
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=579766020d2eee2f1c51af1641ef9a7dbc6a5798
Whiteboard:
Package list:
Runtime testing required: ---

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