Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 320569 - sys-kernel/gentoo-sources-2.6.34 compilation fails
Summary: sys-kernel/gentoo-sources-2.6.34 compilation fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-19 14:56 UTC by Leonid Podolny
Modified: 2010-05-19 16:47 UTC (History)
2 users (show)

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


Attachments
fbcondecor-0.9.6 for linux 2.6.34 (fixed-fbcondecor-0.9.6-for-2.6.34.patch,62.90 KB, patch)
2010-05-19 16:47 UTC, Magnus Kessler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Podolny 2010-05-19 14:56:37 UTC
CC      drivers/video/console/vgacon.o
  CC      drivers/video/console/fbcon.o
  CC      drivers/video/console/bitblit.o
  CC      drivers/video/console/fonts.o
  CC      drivers/video/console/font_8x8.o
  CC      drivers/video/console/font_8x16.o
  LD      drivers/video/console/font.o
  CC      drivers/video/console/softcursor.o
  CC      drivers/video/console/fbcondecor.o
  CC      drivers/video/console/cfbcondecor.o
drivers/video/console/cfbcondecor.c: In function 'fbcon_decor_cursor':
drivers/video/console/cfbcondecor.c:218: error: implicit declaration of function 'kmalloc'
drivers/video/console/cfbcondecor.c:218: warning: assignment makes pointer from integer without a cast
drivers/video/console/cfbcondecor.c:249: error: implicit declaration of function 'kfree'
make[3]: *** [drivers/video/console/cfbcondecor.o] Error 1
make[2]: *** [drivers/video/console] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2
Comment 1 Leonid Podolny 2010-05-19 14:57:07 UTC
Obviously, adding a proper header file makes it compile.
Comment 2 Leonid Podolny 2010-05-19 14:57:43 UTC
(In reply to comment #1)
> Obviously, adding a proper header file makes it compile.
> 

A proper "#include" line, that is.
Comment 3 Mike Pagano gentoo-dev 2010-05-19 16:37:26 UTC
fixed, already, sync again once it hits the mirrors
Comment 4 Magnus Kessler 2010-05-19 16:47:38 UTC
Created attachment 232115 [details, diff]
fbcondecor-0.9.6 for linux 2.6.34

In fact, the missing include is "linux/slab.h" in cfbcondecor.c. I have attached a new version of the fbcondecor-0.9.6 patch that includes the fix. This patch is rebased against vanilla 2.6.34.