[SDL] fbcon compile error
Chain
clin at neuros.com.cn
Thu Feb 21 20:20:19 PST 2008
Hello all, I am a new user for SDL, just download the code from SVN and
compiling SDL for ARM, I use follows command to configure, it is OK.
./configure --prefix=/home/clin/DATA/arm-ffmpeg --enable-video-fbcon
--disable-video-qtopia --disable-video-photon --disable-video-direct
--disable-video-ggi --disable-video-svga --disable-video-aalib
--disable-video-dummy --disable-video-dga --disable-arts --disable-esd
--disable-alsa --disable-video-x11 --disable-nasm --disable-debug
--disable-joystick-amigaos --disable-joystick-beos
--disable-joystick-bsd --disable-joystick-darwin --disable-joystick-dc
--disable-joystick-linux --disable-joystick-macos
--disable-joystick-mint --disable-joystick-win32 --disable-joystick
--host=arm-linux --disable-3dnow
and then go to make.
but there are many error message about the fbcon. Like,
In file included from ./src/video/fbcon/SDL_fb3dfx.h:26,
from ./src/video/fbcon/SDL_fb3dfx.c:26:
./src/video/fbcon/SDL_fbvideo.h:40:1: warning: "_THIS" redefined
In file included from ./src/video/fbcon/SDL_fbvideo.h:33,
from ./src/video/fbcon/SDL_fb3dfx.h:26,
from ./src/video/fbcon/SDL_fb3dfx.c:26:
./src/video/fbcon/../SDL_sysvideo.h:173:1: warning: this is the location
of the previous definition
In file included from ./src/video/fbcon/SDL_fb3dfx.h:26,
from ./src/video/fbcon/SDL_fb3dfx.c:26:
./src/video/fbcon/SDL_fbvideo.h: In function `FB_AddBusySurface':
./src/video/fbcon/SDL_fbvideo.h:155: error: structure has no member
named `hwdata'
./src/video/fbcon/SDL_fbvideo.h: In function `FB_IsSurfaceBusy':
./src/video/fbcon/SDL_fbvideo.h:161: error: structure has no member
named `hwdata'
./src/video/fbcon/SDL_fbvideo.h: In function `FB_WaitBusySurfaces':
./src/video/fbcon/SDL_fbvideo.h:170: error: structure has no member
named `hidden'
./src/video/fbcon/SDL_fbvideo.h:173: error: structure has no member
named `hidden'
./src/video/fbcon/SDL_fbvideo.h: In function `FB_dst_to_xy':
...
And I enter the code, find that there is no these parameters indeed.
Why has this problem?
regards,
/CL
More information about the SDL
mailing list