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

Bug 218369

Summary: gentoo-sources-2.6.25 fails to build with CONFIG_FB_CON_DECOR
Product: Gentoo Linux Reporter: Gabriel Devenyi <ace>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kdvgent
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gabriel Devenyi 2008-04-19 06:14:24 UTC
--SNIP--
  CC      drivers/video/console/fbcondecor.o
  CC      drivers/video/console/cfbcondecor.o
  LD      drivers/video/console/font.o
drivers/video/console/cfbcondecor.c:382:42: error: macro "attr_bgcol_ec" requires 3 arguments, but only 2 given
drivers/video/console/cfbcondecor.c: In function ‘fbcon_decor_clear’:
drivers/video/console/cfbcondecor.c:382: error: ‘attr_bgcol_ec’ undeclared (first use in this function)
drivers/video/console/cfbcondecor.c:382: error: (Each undeclared identifier is reported only once
drivers/video/console/cfbcondecor.c:382: error: for each function it appears in.)
drivers/video/console/cfbcondecor.c:381: warning: unused variable ‘bgshift’
make[3]: *** [drivers/video/console/cfbcondecor.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [drivers/video/console] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2
--SNIP--

Looks like the definition of the macro has been changed, looking around at other users of the macro, as well as the definiton of the function the macro is used in, the easy fix is:

int bg_color = attr_bgcol_ec(bgshift, vc);
changed to
int bg_color = attr_bgcol_ec(bgshift, vc, info);
Comment 1 Philipp Leonhardt 2008-04-19 08:48:19 UTC
Same here for me on x86
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-04-19 15:12:44 UTC

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