[SDL] Problem compiling SDL 1.2.8

Pierre pierre42d at 9online.fr
Mon Jun 6 14:59:47 PDT 2005


# make
Making all in src
make[1]: Entering directory `/tmp/SDL-1.2.8/src'
Making all in main
make[2]: Entering directory `/tmp/SDL-1.2.8/src/main'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/SDL-1.2.8/src/main'
Making all in audio
make[2]: Entering directory `/tmp/SDL-1.2.8/src/audio'
Making all in disk
make[3]: Entering directory `/tmp/SDL-1.2.8/src/audio/disk'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/SDL-1.2.8/src/audio/disk'
Making all in dsp
make[3]: Entering directory `/tmp/SDL-1.2.8/src/audio/dsp'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/SDL-1.2.8/src/audio/dsp'
Making all in dma
make[3]: Entering directory `/tmp/SDL-1.2.8/src/audio/dma'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/SDL-1.2.8/src/audio/dma'
Making all in alsa
make[3]: Entering directory `/tmp/SDL-1.2.8/src/audio/alsa'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/SDL-1.2.8/src/audio/alsa'
Making all in arts
make[3]: Entering directory `/tmp/SDL-1.2.8/src/audio/arts'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/SDL-1.2.8/src/audio/arts'
Making all in esd
make[3]: Entering directory `/tmp/SDL-1.2.8/src/audio/esd'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/SDL-1.2.8/src/audio/esd'
Making all in nas
make[3]: Entering directory `/tmp/SDL-1.2.8/src/audio/nas'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/SDL-1.2.8/src/audio/nas'
make[3]: Entering directory `/tmp/SDL-1.2.8/src/audio'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/tmp/SDL-1.2.8/src/audio'
make[2]: Leaving directory `/tmp/SDL-1.2.8/src/audio'
Making all in video
make[2]: Entering directory `/tmp/SDL-1.2.8/src/video'
Making all in dummy
make[3]: Entering directory `/tmp/SDL-1.2.8/src/video/dummy'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/SDL-1.2.8/src/video/dummy'
Making all in x11
make[3]: Entering directory `/tmp/SDL-1.2.8/src/video/x11'
if /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 -DHAVE_LIBASOUND=1  -I. -I.     -s -O3 
-march=i686 -fexpensive-optimizations -march=pentium -mcpu=pentiumpro 
-Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DUSE_ASMBLIT 
-I./hermes -I../../../src/hermes -DOSS_SUPPORT -DALSA_SUPPORT 
-DALSA_DYNAMIC=libasound.so.1  -DUSE_DLVSYM -DARTSC_SUPPORT 
-DARTSC_DYNAMIC=libartsc.so.0 -I/usr/local/kde/include/artsc 
-DESD_SUPPORT -DESD_DYNAMIC=libesd.so.0 -I/usr/local/include 
-DNAS_SUPPORT -I/usr/X11R6/include/  -I/usr/X11R6/include -DENABLE_X11 
-DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA 
-DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV -DHAVE_XINERAMA 
-DNANOX_SHARE_MEMORY -DENABLE_NANOX_DIRECT_FB  -I/usr/X11R6/include 
-DENABLE_NANOX -Isrc/video -DENABLE_DGA -DENABLE_FBCON -DENABLE_DIRECTFB 
  -I/usr/X11R6/include -DENABLE_GGI -DENABLE_SVGALIB -DENABLE_AALIB 
-DENABLE_QTOPIA -DQT_QWS_EBX -DQT_QWS_CUSTOM -DQWS 
-I/usr/local/qtopia/include -I/usr/local/qt/include/ -DNO_DEBUG 
-fno-rtti -fno-exceptions -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 -MT SDL_x11events.lo -MD -MP -MF 
".deps/SDL_x11events.Tpo" -c -o SDL_x11events.lo SDL_x11events.c; \
then mv -f ".deps/SDL_x11events.Tpo" ".deps/SDL_x11events.Plo"; else rm 
-f ".deps/SDL_x11events.Tpo"; exit 1; fi
  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 -DHAVE_LIBASOUND=1 -I. -I. -s -O3 -march=i686 
-fexpensive-optimizations -march=pentium -mcpu=pentiumpro -Wall 
-DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DUSE_ASMBLIT 
-I./hermes -I../../../src/hermes -DOSS_SUPPORT -DALSA_SUPPORT 
-DALSA_DYNAMIC=libasound.so.1 -DUSE_DLVSYM -DARTSC_SUPPORT 
-DARTSC_DYNAMIC=libartsc.so.0 -I/usr/local/kde/include/artsc 
-DESD_SUPPORT -DESD_DYNAMIC=libesd.so.0 -I/usr/local/include 
-DNAS_SUPPORT -I/usr/X11R6/include/ -I/usr/X11R6/include -DENABLE_X11 
-DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA 
-DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV -DHAVE_XINERAMA 
-DNANOX_SHARE_MEMORY -DENABLE_NANOX_DIRECT_FB -I/usr/X11R6/include 
-DENABLE_NANOX -Isrc/video -DENABLE_DGA -DENABLE_FBCON -DENABLE_DIRECTFB 
-I/usr/X11R6/include -DENABLE_GGI -DENABLE_SVGALIB -DENABLE_AALIB 
-DENABLE_QTOPIA -DQT_QWS_EBX -DQT_QWS_CUSTOM -DQWS 
-I/usr/local/qtopia/include -I/usr/local/qt/include/ -DNO_DEBUG 
-fno-rtti -fno-exceptions -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 -MT SDL_x11events.lo -MD -MP -MF 
.deps/SDL_x11events.Tpo -c SDL_x11events.c  -fPIC -DPIC -o 
.libs/SDL_x11events.o
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ 
but not for C
SDL_x11events.c: In function `X11_DispatchEvent':
SDL_x11events.c:398: error: structure has no member named `subsystem'
SDL_x11events.c:398: error: `SDL_SYSWM_X11' undeclared (first use in 
this function)
SDL_x11events.c:398: error: (Each undeclared identifier is reported only 
once
SDL_x11events.c:398: error: for each function it appears in.)
SDL_x11events.c:399: error: structure has no member named `event'
SDL_x11events.c:425: error: structure has no member named `subsystem'
SDL_x11events.c:426: error: structure has no member named `event'
make[3]: *** [SDL_x11events.lo] Error 1
make[3]: Leaving directory `/tmp/SDL-1.2.8/src/video/x11'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SDL-1.2.8/src/video'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SDL-1.2.8/src'
make: *** [all-recursive] Error 1




More information about the SDL mailing list