我在make fceu时显示错误如下:
drivers/cli/svgalib.c:169: warning: return makes pointer from integer without a cast
drivers/cli/svgalib.c: In function `KillKeyboard':
drivers/cli/svgalib.c:174: warning: implicit declaration of function `keyboard_close'
drivers/cli/svgalib.c: In function `main':
drivers/cli/svgalib.c:180: warning: implicit declaration of function `vga_init'
drivers/cli/svgalib.c:181: warning: implicit declaration of function `CLImain'
make: *** [drivers/cli/svgalib.o] Error 1
好像是什么函数有问题吧,还是其它什么原因,请大家帮忙看看,在此谢过
make -f Makefile.linuxvga 后就出来下面这些错误
drivers/cli/svgalib.c:4:17: vga.h: 没有那个文件或目录
drivers/cli/svgalib.c:5:22: vgamouse.h: 没有那个文件或目录
drivers/cli/svgalib.c:6:25: vgakeyboard.h: 没有那个文件或目录
drivers/cli/svgalib.c: In function `InitMouse':
drivers/cli/svgalib.c:127: warning: implicit declaration of function `vga_setmousesupport'
drivers/cli/svgalib.c:128: warning: implicit declaration of function `mouse_setxrange'
drivers/cli/svgalib.c:129: warning: implicit declaration of function `mouse_setyrange'
drivers/cli/svgalib.c:130: warning: implicit declaration of function `mouse_setscale'
drivers/cli/svgalib.c: In function `KillMouse':
drivers/cli/svgalib.c:136: warning: implicit declaration of function `mouse_close'
drivers/cli/svgalib.c: In function `GetMouseData':
drivers/cli/svgalib.c:142: warning: implicit declaration of function `mouse_update'
drivers/cli/svgalib.c:143: warning: implicit declaration of function `mouse_getx'
drivers/cli/svgalib.c:144: warning: implicit declaration of function `mouse_gety'
drivers/cli/svgalib.c:145: warning: implicit declaration of function `mouse_getbutton'
drivers/cli/svgalib.c:146: `MOUSE_LEFTBUTTON' undeclared (first use in this function)
drivers/cli/svgalib.c:146: (Each undeclared identifier is reported only once
drivers/cli/svgalib.c:146: for each function it appears in.)
drivers/cli/svgalib.c:146: `MOUSE_RIGHTBUTTON' undeclared (first use in this function)
drivers/cli/svgalib.c: In function `InitKeyboard':
drivers/cli/svgalib.c:153: warning: implicit declaration of function `keyboard_init'
drivers/cli/svgalib.c:158: warning: implicit declaration of function `keyboard_translatekeys'
drivers/cli/svgalib.c:158: `TRANSLATE_CURSORKEYS' undeclared (first use in this function)
drivers/cli/svgalib.c:158: `TRANSLATE_DIAGONAL' undeclared (first use in this function)
drivers/cli/svgalib.c: In function `UpdateKeyboard':
drivers/cli/svgalib.c:164: warning: implicit declaration of function `keyboard_update'
drivers/cli/svgalib.c: In function `GetKeyboard':
drivers/cli/svgalib.c:169: warning: implicit declaration of function `keyboard_getstate'
drivers/cli/svgalib.c:169: warning: return makes pointer from integer without a cast
drivers/cli/svgalib.c: In function `KillKeyboard':
drivers/cli/svgalib.c:174: warning: implicit declaration of function `keyboard_close'
drivers/cli/svgalib.c: In function `main':
drivers/cli/svgalib.c:180: warning: implicit declaration of function `vga_init'
drivers/cli/svgalib.c:181: warning: implicit declaration of function `CLImain'
make: *** [drivers/cli/svgalib.o] Error 1