2009-04-29 08:10:10

by Tarkan Erimer

[permalink] [raw]
Subject: Compile Error with Linux-2.6.30-rc3-git5

Hi,

I recently tried to compile Linux-2.6.30-rc3-git5. But, I had this error
message below. I use Kubuntu 9.04 with latest updates as of today and my
.config is,also, attached.


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+0xad98f): undefined reference to `acpi_video_register'
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/usr/src/linux-2.6.30-rc3-git5'
make: *** [debian/stamp/build/kernel] Error 2


Tarkan Erimer


Attachments:
.config (85.74 kB)

2009-04-29 13:16:25

by Tarkan Erimer

[permalink] [raw]
Subject: FIXED: Compile Error with Linux-2.6.30-rc3-git5

Hi again,

After a bit googling, I found Soeren Sonnenburg's mail subjected
"[PATCH] resolving Re: 2.6.30-rc3 still fails to build in
intel_opregion_init" and dated April 26th.
I applied his patch and it helped to choose "ACPI_VIDEO=y". But it
wasn't enough and I had to replace all the module (=m) selected ones as
Kernel built-in (=y). Then, compile process went fine. Now, I have a
working KMS (INTELFB) and it's really awesome!! ;-)

Maybe, it could be better to adjust these settings automatically when
KMS enabled as default in "DRM Support" section. So, it will make it no
confusing for users who wants to use KMS. Also,I'm attaching my working
.config. So; maybe, it could be useful for someone who is confused or
didn't KMS to work correctly at all.


Cheers!

Tarkan Erimer


On 04/29/2009 11:09 AM, Tarkan Erimer wrote:
> Hi,
>
> I recently tried to compile Linux-2.6.30-rc3-git5. But, I had this
> error message below. I use Kubuntu 9.04 with latest updates as of
> today and my .config is,also, attached.
>
>
> 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+0xad98f): undefined reference to `acpi_video_register'
> make[1]: *** [.tmp_vmlinux1] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.6.30-rc3-git5'
> make: *** [debian/stamp/build/kernel] Error 2
>
>
> Tarkan Erimer


Attachments:
.config (85.70 kB)