Greetz,
The platform:
openSUSE 11.3 “Teal” - Kernel \r (\l).
Linux linux-dopx 2.6.34-12-desktop #1 SMP PREEMPT 2010-06-29 02:39:08
+0200 x86_64 x86_64 x86_64 GNU/Linux
I uninstalled the old version of SDL, and downloaded the latest
version snapshot 1.3 of libsdl from its website.
Also, ran ‘autogen.sh’ and ‘configure’ successfully.
Then running make resulted in the following (and many more such like) errors:
linux-dopx:/home/anisha/tarBalls/SDL-1.3.0-6217 # make
/bin/sh build-scripts/updaterev.sh
/bin/sh ./libtool --mode=compile gcc -g -O2 -DGENERATED_CONFIG_H
-I./include -mmmx -m3dnow -msse -msse2 -fvisibility=hidden
-D_REENTRANT -DHAVE_LINUX_VERSION_H -Wall -MMD -MT build/SDL.lo -c
src/SDL.c -o build/SDL.lo
libtool: compile: gcc -g -O2 -DGENERATED_CONFIG_H -I./include -mmmx
-m3dnow -msse -msse2 -fvisibility=hidden -D_REENTRANT
-DHAVE_LINUX_VERSION_H -Wall -MMD -MT build/SDL.lo -c src/SDL.c -fPIC
-DPIC -o build/.libs/SDL.o
In file included from ./include/SDL_main.h:25:0,
from ./include/SDL.h:72,
from src/SDL.c:25:
./include/SDL_stdinc.h:124:16: error: expected ?=?, ?,?, ?;?, ?asm? or
?attribute? before ?Sint8?
./include/SDL_stdinc.h:128:17: error: expected ?=?, ?,?, ?;?, ?asm? or
?attribute? before ?Uint8?
./include/SDL_stdinc.h:132:17: error: expected ?=?, ?,?, ?;?, ?asm? or
?attribute? before ?Sint16?
./include/SDL_stdinc.h:136:18: error: expected ?=?, ?,?, ?;?, ?asm? or
?attribute? before ?Uint16?
./include/SDL_stdinc.h:140:17: error: expected ?=?, ?,?, ?;?, ?asm? or
?attribute? before ?Sint32?
./include/SDL_stdinc.h:144:18: error: expected ?=?, ?,?, ?;?, ?asm? or
?attribute? before ?Uint32?
./include/SDL_stdinc.h:149:17: error: expected ?=?, ?,?, ?;?, ?asm? or
?attribute? before ?Sint64?
./include/SDL_stdinc.h:153:18: error: expected ?=?, ?,?, ?;?, ?asm? or
?attribute? before ?Uint64?
./include/SDL_stdinc.h:162:1: error: ?Uint8? undeclared here (not in a function)
./include/SDL_stdinc.h:163:1: error: ?Sint8? undeclared here (not in a function)
./include/SDL_stdinc.h:164:1: error: ?Uint16? undeclared here (not in
a function)
./include/SDL_stdinc.h:165:1: error: ?Sint16? undeclared here (not in
a function)
./include/SDL_stdinc.h:166:1: error: ?Uint32? undeclared here (not in
a function)
./include/SDL_stdinc.h:167:1: error: ?Sint32? undeclared here (not in
a function)
./include/SDL_stdinc.h:168:1: error: ?Uint64? undeclared here (not in
a function)
./include/SDL_stdinc.h:169:1: error: ?Sint64? undeclared here (not in
a function)
In file included from ./include/SDL_main.h:25:0,
from ./include/SDL.h:72,
Please Guide.
-Anisha