Compilation failure
Hi, people.
I'm trying to compile a new kernel for a x86_64 computer using Debian's sid userland and I'm getting the following error:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (...)
CC lib/sha1.o CC lib/show_mem.o CC lib/string.o CC lib/vsprintf.o AR lib/lib.a CC arch/x86/lib/msr-on-cpu.o CC arch/x86/lib/io_64.o AS arch/x86/lib/iomap_copy_64.o LD arch/x86/lib/built-in.o AS arch/x86/lib/clear_page_64.o AS arch/x86/lib/copy_page_64.o AS arch/x86/lib/copy_user_64.o AS arch/x86/lib/copy_user_nocache_64.o AS arch/x86/lib/csum-copy_64.o CC arch/x86/lib/csum-partial_64.o CC arch/x86/lib/csum-wrappers_64.o CC arch/x86/lib/delay.o AS arch/x86/lib/getuser.o AS arch/x86/lib/memcpy_64.o CC arch/x86/lib/memmove_64.o AS arch/x86/lib/memset_64.o AS arch/x86/lib/putuser.o AS arch/x86/lib/rwlock_64.o AS arch/x86/lib/thunk_64.o CC arch/x86/lib/usercopy_64.o AR arch/x86/lib/lib.a LD vmlinux.o MODPOST vmlinux.o GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1
drivers/built-in.o: In function `intel_opregion_init':
(.text+0x87d2e): undefined reference to `acpi_video_register' make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/usr/local/media/progs/linux/linux'
make: *** [debian/stamp/build/kernel] Error 2 rbrito@chagas:/usr/local/media/progs/linux$
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
In fact, I have not been able to compile a 2.6.30-rc* kernel yet, due to errors like these. The full .config that I'm using is available at
<http://rb.doesntexist.org/linux/>.
Any help with this regression is more than welcome.
Thanks, Rogério Brito.
Signature · 3 lines
Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.orgQuoted 5 lines
I'm trying to compile a new kernel for a
x86_64computer using Debian's sid userland and I'm getting the following error:(.text+0x87d2e): undefined reference to `acpi_video_register'
try this:
http://patchwork.kernel.org/patch/19821/
thanks,
Len Brown, Intel Open Source Technology Center
Re: [2.6.30-rc3][Regression] Compilation failure: undefined reference to `acpi_video_register'
Hi, Len.
Quoted 6 lines · Len Brown
Rogério Brito:
Quoted 1 line
(.text+0x87d2e): undefined reference to `acpi_video_register'
try this:
Still got the very same error after applying the patch.
Reading it, I saw that it regarded the modesetting being enabled. I don't have it selected on my system. Is there anything else that I could try?
Thanks, Rogério Brito.
Signature · 3 lines
Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.orgRe: [2.6.30-rc3][Regression] Compilation failure [SOLVED-PARTIALLY]
In reply to Len BrownHi again, Len.
Quoted 4 lines · Len Brown
Quoted 1 line
(.text+0x87d2e): undefined reference to `acpi_video_register'
Even though I have no modesetting compiled in the kernel, I *did* have the options VIDEO_OUTPUT_CONTROL, BACKLIGHT_CLASS_DEVICE, INPUT, ACPI_VIDEO enabled, but two of them (BACKLIGHT_CLASS_DEVICE and ACPI_VIDEO) selected as modules.
Selecting them as "y" fixed the compilation problem.
I guess that you just wanted to know this.
Regards, Rogério Brito.
Signature · 3 lines
Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org