Results 1 to 2 of 2

Thread: Kernel compilation error, 2.6.30-rc3

  1. #1
    Join Date
    Apr 2007
    Location
    /dev/random
    Beans
    3,052

    Cool Kernel compilation error, 2.6.30-rc3

    I'm trying to compile myown 2.6.30-rc3 kernel to shave off stuff I don't need, make it preemptible and 1000hz (just for the heck of it), and enable intel kernel mode-setting by default. Upon compiling, however, I get the following error and the process stops.
    Code:
    drivers/built-in.o: In function `intel_opregion_init':
    (.text+0xaefaa): undefined reference to `acpi_video_register'
    make[1]: *** [.tmp_vmlinux1] Error 1
    make[1]: Leaving directory `/usr/src/linux-2.6.29'
    make: *** [debian/stamp/build/kernel] Error 2
    acpi_video_register is defined in drivers/acpi/video.c, and somehow (?) it's not being included. There's also a "stub" of it in include/acpi/video.h, which only returns 0. Neither seems to be read?

    Obviously I disabled something in the .config file I shouldn't have, but how do I tell what it is?
    ...

  2. #2
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Kernel compilation error, 2.6.30-rc3

    This is an old thread, but it comes up in google searches.

    You enabled something (do not know what) , and built it into your kernel (rather than a module). This driver needs acpi_video, but you are building the apci_video as a module.

    Try changing

    CONFIG_ACPI_VIDEO=m

    to

    CONFIG_ACPI_VIDEO=y

    to make that change you may need to compile a number of additional drivers (into the kernel) as well.

    If that does not resolve the error, then it would be something to (bug) report to kernel.org
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •