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
Obviously, adding a proper header file makes it compile.
(In reply to comment #1) > Obviously, adding a proper header file makes it compile. > A proper "#include" line, that is.
fixed, already, sync again once it hits the mirrors
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.