Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218369 - gentoo-sources-2.6.25 fails to build with CONFIG_FB_CON_DECOR
Summary: gentoo-sources-2.6.25 fails to build with CONFIG_FB_CON_DECOR
Status: RESOLVED DUPLICATE of bug 218177
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-19 06:14 UTC by Gabriel Devenyi
Modified: 2008-04-19 15:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***