SDL-1.2.8 doesn't compile properly

I’ve been experiencing some problems compiling SDL-1.2.8.

make[3]: Entering directory /usr/SDL-1.2.8/src/video' source='SDL_yuv_mmx.c' object='SDL_yuv_mmx.lo' libtool=yes \ depfile='.deps/SDL_yuv_mmx.Plo' tmpdepfile='.deps/SDL_yuv_mmx.TPlo' \ depmode=gcc /bin/sh ../../depcomp \ /bin/sh ../../libtool --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL\" -DVERSION=\"1.2.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -g -O2 -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DUSE_ASMBLIT -I./hermes -I../../src/hermes -DOSS_SUPPORT -DARTSC_SUPPORT -DARTSC_DYNAMIC=libartsc.so.0 -I/opt/kde/include/artsc -DESD_SUPPORT -DESD_DYNAMIC=libesd.so.0 -I/usr/X11R6/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV -DHAVE_XINERAMA -Isrc/video -DENABLE_DGA -DENABLE_FBCON -DHAVE_OPENGL -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DHAVE_SIGACTION -I../../include -I../../include/SDL -I../../src -I../../src/main/linux -I../../src/audio -I../../src/video -I../../src/video/XFree86/extensions -I../../src/events -I../../src/joystick -I../../src/cdrom -I../../src/thread -I../../src/timer -I../../src/endian -I../../src/file -I../../src/thread -c -o SDL_yuv_mmx.lo SDL_yuv_mmx.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL\" -DVERSION=\"1.2.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -g -O2 -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DUSE_ASMBLIT -I./hermes -I../../src/hermes -DOSS_SUPPORT -DARTSC_SUPPORT -DARTSC_DYNAMIC=libartsc.so.0 -I/opt/kde/include/artsc -DESD_SUPPORT -DESD_DYNAMIC=libesd.so.0 -I/usr/X11R6/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV -DHAVE_XINERAMA -Isrc/video -DENABLE_DGA -DENABLE_FBCON -DHAVE_OPENGL -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DHAVE_SIGACTION -I../../include -I../../include/SDL -I../../src -I../../src/main/linux -I../../src/audio -I../../src/video -I../../src/video/XFree86/extensions -I../../src/events -I../../src/joystick -I../../src/cdrom -I../../src/thread -I../../src/timer -I../../src/endian -I../../src/file -I../../src/thread -c SDL_yuv_mmx.c -Wp,-MD,.deps/SDL_yuv_mmx.TPlo -fPIC -DPIC -o .libs/SDL_yuv_mmx.o SDL_yuv_mmx.c: In functionColorRGBDitherYV12MMX1X’:

SDL_yuv_mmx.c:236: parse error before [' SDL_yuv_mmx.c: In functionColor565DitherYV12MMX1X’:
SDL_yuv_mmx.c:417: parse error before [' SDL_yuv_mmx.c: At top level: SDL_yuv_mmx.c:33: warning:MMX_0080w’ defined but not used
SDL_yuv_mmx.c:34: warning: MMX_00FFw' defined but not used SDL_yuv_mmx.c:35: warning:MMX_FF00w’ defined but not used
SDL_yuv_mmx.c:37: warning: MMX_Ycoeff' defined but not used SDL_yuv_mmx.c:39: warning:MMX_UbluRGB’ defined but not used
SDL_yuv_mmx.c:40: warning: MMX_VredRGB' defined but not used SDL_yuv_mmx.c:41: warning:MMX_UgrnRGB’ defined but not used
SDL_yuv_mmx.c:42: warning: MMX_VgrnRGB' defined but not used SDL_yuv_mmx.c:44: warning:MMX_Ublu5x5’ defined but not used
SDL_yuv_mmx.c:45: warning: MMX_Vred5x5' defined but not used SDL_yuv_mmx.c:46: warning:MMX_Ugrn555’ defined but not used
SDL_yuv_mmx.c:47: warning: MMX_Vgrn555' defined but not used SDL_yuv_mmx.c:48: warning:MMX_Ugrn565’ defined but not used
SDL_yuv_mmx.c:49: warning: MMX_Vgrn565' defined but not used SDL_yuv_mmx.c:51: warning:MMX_red555’ defined but not used
SDL_yuv_mmx.c:52: warning: MMX_red565' defined but not used SDL_yuv_mmx.c:53: warning:MMX_grn555’ defined but not used
SDL_yuv_mmx.c:54: warning: MMX_grn565' defined but not used SDL_yuv_mmx.c:55: warning:MMX_blu5x5’ defined but not used
make[3]: *** [SDL_yuv_mmx.lo] Error 1
make[3]: Leaving directory /usr/SDL-1.2.8/src/video' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory/usr/SDL-1.2.8/src/video’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/SDL-1.2.8/src’
make: *** [all-recursive] Error 1

I think it’s a low-level problem … not sure though.

Does anyone has a hint on what’s the problem here?

Thanks in advance. 8)–


Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.

Powered by Outblaze