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

Bug 54517

Summary: gentoo-dev-sources 2.6.7 fails to compile on AMD64 and x86
Product: Gentoo Linux Reporter: Peter `MathFox' Roozemaal <mathfox>
Component: [OLD] Core systemAssignee: AMD64 Project <amd64>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Peter `MathFox' Roozemaal 2004-06-20 05:46:08 UTC
I compiled the kernel sources with genkernel and the compilation failed:

Relevant part from genkernel.log:

  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(.text+0x5a817): In function `cloop_file_io':
: undefined reference to `blk_run_queues'
make: *** [.tmp_vmlinux1] Error 1
* ERROR: Failed to compile the "bzImage" target...

I am using the standard gentoo kernel configuration files.
Comment 1 Michael Prager 2004-06-20 06:44:13 UTC
I can confirm that error on x86 too:

  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(.text+0x93c83): In function `cloop_file_io':
: undefined reference to `blk_run_queues'
make: *** [.tmp_vmlinux1] Fehler 1
Comment 2 drumz 2004-06-20 09:13:49 UTC
This thread offers a work around:

http://forums.gentoo.org/viewtopic.php?t=187486&highlight=cloopfileio

I haven't tried it to confirm (I get the same compile issue as you) due to the missing Broadcom driver noted in another bug (what's the point of a new kernel if I can't access the network ? :-) )  But someone else did post that the work around worked for them.

Drumz
Comment 3 Peter `MathFox' Roozemaal 2004-06-20 13:04:33 UTC
As this problem does occur on other platforms too, I changed title and platform.
Comment 4 Danny van Dyk (RETIRED) gentoo-dev 2004-06-20 13:13:12 UTC

*** This bug has been marked as a duplicate of 54411 ***