This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3354编译Graphics_SDK出错



我需要将图形加速一直到嵌入式设备中,我使用的Linux-3.12,Graphics_SDK_setuplinux_5_00_00_01_alpha_hardfp_minimal_demos,编译的时候出现:

/home/hzc/workspaces/Graphics_SDK_5_00_00_01/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c: In function 'OMAPLFBWaitForVSync':
/home/hzc/workspaces/Graphics_SDK_5_00_00_01/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c:850:7: error: implicit declaration of function 'register_vsync_cb' [-Werror=implicit-function-declaration]
/home/hzc/workspaces/Graphics_SDK_5_00_00_01/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c:850:30: error: 'vsync_callback_t' undeclared (first use in this function)
/home/hzc/workspaces/Graphics_SDK_5_00_00_01/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c:850:30: note: each undeclared identifier is reported only once for each function it appears in
/home/hzc/workspaces/Graphics_SDK_5_00_00_01/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c:850:47: error: expected ')' before 'grpx_irq_wait_handler'
/home/hzc/workspaces/Graphics_SDK_5_00_00_01/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c:860:7: error: implicit declaration of function 'unregister_vsync_cb' [-Werror=implicit-function-declaration]
/home/hzc/workspaces/Graphics_SDK_5_00_00_01/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c:860:49: error: expected ')' before 'grpx_irq_wait_handler'
cc1: some warnings being treated as errors

Rules.make中的设置应该都是正确的:

HOME=/home/hzc/workspaces/

CSTOOL_DIR=/home/hzc/crosstools/arm-2013.05/

KERNEL_INSTALL_DIR=/home/hzc/linux-3.12/