Error Compiling SDL 1.3

Hello Everyone,

I decided to take the plunge into the 1.3 branch and I am currently unable to
get it to compile. Here is the information:
Build system:
Pentium3 933mhz
256 meg
Windows 2003
Mingw 5.1.4
Msys 1.0.10

Build commands:
./configure --disable-stdio-redirect --prefix=/mingw CFLAGS="-O2 -mtune=penti
um3"
make

It dies during the force feed back with these errors:

/bin/sh ./libtool --mode=compile gcc -O2 -mtune=athlon64 -m32 -I./include
-D_GNU_SOURCE=1 -mmmx -msse -msse2 -DNO_STDIO_REDIRECT -c
./src/haptic/win32/SDL_syshaptic.c -o build/SDL_syshaptic.lo
gcc -O2 -mtune=athlon64 -m32 -I./include -D_GNU_SOURCE=1 -mmmx -msse -msse2
-DNO_STDIO_REDIRECT -c ./src/haptic/win32/SDL_syshaptic.c -DDLL_EXPORT -DPIC -o
build/.libs/SDL_syshaptic.o
./src/haptic/win32/SDL_syshaptic.c: In function SDL_SYS_ToDIEFFECT': ./src/haptic/win32/SDL_syshaptic.c:778: warning: comparison is always false due to limited range of data type ./src/haptic/win32/SDL_syshaptic.c:786: error: structure has no member nameddwStartDelay’
./src/haptic/win32/SDL_syshaptic.c:822: warning: comparison is always false due
to limited range of data type
./src/haptic/win32/SDL_syshaptic.c:823: warning: comparison is always false due
to limited range of data type
./src/haptic/win32/SDL_syshaptic.c:833: error: structure has no member named
dwStartDelay' ./src/haptic/win32/SDL_syshaptic.c:869: warning: comparison is always false due to limited range of data type ./src/haptic/win32/SDL_syshaptic.c:871: warning: comparison is always false due to limited range of data type ./src/haptic/win32/SDL_syshaptic.c:873: warning: comparison is always false due to limited range of data type ./src/haptic/win32/SDL_syshaptic.c:887: error: structure has no member nameddwStartDelay’
./src/haptic/win32/SDL_syshaptic.c:911: warning: comparison is always false due
to limited range of data type
./src/haptic/win32/SDL_syshaptic.c:912: warning: comparison is always false due
to limited range of data type
./src/haptic/win32/SDL_syshaptic.c:920: error: structure has no member named
dwStartDelay' ./src/haptic/win32/SDL_syshaptic.c:965: error: structure has no member nameddwStartDelay’
./src/haptic/win32/SDL_syshaptic.c: In function SDL_SYS_HapticUpdateEffect': ./src/haptic/win32/SDL_syshaptic.c:1152: error:DIEP_STARTDELAY’ undeclared
(first use in this function)
./src/haptic/win32/SDL_syshaptic.c:1152: error: (Each undeclared identifier is
reported only once
./src/haptic/win32/SDL_syshaptic.c:1152: error: for each function it appears in.)
make: *** [build/SDL_syshaptic.lo] Error 1

Anything I should be doing different to get it to compile? Such as something as
radical as read the README? I did a quick google search but didn’t come up with
anything.

That’s all I have.

Thanks for any replies.

Micah

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I believe that’s a known issue with mingw32, since the haptic subsystem
depends on directx 8.0 or later and mingw32 is missing those headers.
You can disable the haptic subsystem with --disable-haptic, but you’ll
then be missing force feedback.

Edgar

Micah Brening wrote:

Hello Everyone,

I decided to take the plunge into the 1.3 branch and I am currently unable to
get it to compile. Here is the information:
Build system:
Pentium3 933mhz
256 meg
Windows 2003
Mingw 5.1.4
Msys 1.0.10

Build commands:
./configure --disable-stdio-redirect --prefix=/mingw CFLAGS="-O2 -mtune=penti
um3"
make

It dies during the force feed back with these errors:

/bin/sh ./libtool --mode=compile gcc -O2 -mtune=athlon64 -m32 -I./include
-D_GNU_SOURCE=1 -mmmx -msse -msse2 -DNO_STDIO_REDIRECT -c
./src/haptic/win32/SDL_syshaptic.c -o build/SDL_syshaptic.lo
gcc -O2 -mtune=athlon64 -m32 -I./include -D_GNU_SOURCE=1 -mmmx -msse -msse2
-DNO_STDIO_REDIRECT -c ./src/haptic/win32/SDL_syshaptic.c -DDLL_EXPORT -DPIC -o
build/.libs/SDL_syshaptic.o
./src/haptic/win32/SDL_syshaptic.c: In function SDL_SYS_ToDIEFFECT': ./src/haptic/win32/SDL_syshaptic.c:778: warning: comparison is always false due to limited range of data type ./src/haptic/win32/SDL_syshaptic.c:786: error: structure has no member nameddwStartDelay’
./src/haptic/win32/SDL_syshaptic.c:822: warning: comparison is always false due
to limited range of data type
./src/haptic/win32/SDL_syshaptic.c:823: warning: comparison is always false due
to limited range of data type
./src/haptic/win32/SDL_syshaptic.c:833: error: structure has no member named
dwStartDelay' ./src/haptic/win32/SDL_syshaptic.c:869: warning: comparison is always false due to limited range of data type ./src/haptic/win32/SDL_syshaptic.c:871: warning: comparison is always false due to limited range of data type ./src/haptic/win32/SDL_syshaptic.c:873: warning: comparison is always false due to limited range of data type ./src/haptic/win32/SDL_syshaptic.c:887: error: structure has no member nameddwStartDelay’
./src/haptic/win32/SDL_syshaptic.c:911: warning: comparison is always false due
to limited range of data type
./src/haptic/win32/SDL_syshaptic.c:912: warning: comparison is always false due
to limited range of data type
./src/haptic/win32/SDL_syshaptic.c:920: error: structure has no member named
dwStartDelay' ./src/haptic/win32/SDL_syshaptic.c:965: error: structure has no member nameddwStartDelay’
./src/haptic/win32/SDL_syshaptic.c: In function SDL_SYS_HapticUpdateEffect': ./src/haptic/win32/SDL_syshaptic.c:1152: error:DIEP_STARTDELAY’ undeclared
(first use in this function)
./src/haptic/win32/SDL_syshaptic.c:1152: error: (Each undeclared identifier is
reported only once
./src/haptic/win32/SDL_syshaptic.c:1152: error: for each function it appears in.)
make: *** [build/SDL_syshaptic.lo] Error 1

Anything I should be doing different to get it to compile? Such as something as
radical as read the README? I did a quick google search but didn’t come up with
anything.

That’s all I have.

Thanks for any replies.

Micah


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkj0KoIACgkQolm4VNX3QTxufwCgq5KyU3g3FNEX5ogTnHHp+5QN
l+QAoOF6ceViCQ06dDdvrCNF0U9Pa1Ri
=bZKV
-----END PGP SIGNATURE-----