-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
When I compile SDL from SVN I get the following errors with a
default configuration:
$make
/bin/sh ./libtool --mode=compile gcc -g -O2 -I./include -
D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -
fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -
faltivec -force_cpusubtype_ALL -fpascal-strings -c ./src/events/
SDL_events.c -o build/SDL_events.lo
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -
DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -
DXTHREADS -D_THREAD_SAFE -faltivec -force_cpusubtype_ALL -fpascal-
strings -c ./src/events/SDL_events.c -fno-common -DPIC -o
build/.libs/SDL_events.o
In file included from ./src/events/SDL_events.c:27:
./include/SDL_syswm.h:55:22: error: X11/Xlib.h: No such file or
directory
./include/SDL_syswm.h:56:23: error: X11/Xatom.h: No such file or
directory
In file included from ./src/events/SDL_events.c:27:
./include/SDL_syswm.h:73: error: parse error before ‘XEvent’
./include/SDL_syswm.h:73: warning: no semicolon at end of struct or
union
./include/SDL_syswm.h:73: warning: no semicolon at end of struct or
union
./include/SDL_syswm.h:74: warning: data definition has no type or
storage class
./include/SDL_syswm.h:75: error: parse error before ‘}’ token
./include/SDL_syswm.h:86: error: parse error before ‘Display’
./include/SDL_syswm.h:86: warning: no semicolon at end of struct or
union
./include/SDL_syswm.h:86: warning: no semicolon at end of struct or
union
./include/SDL_syswm.h:86: warning: no semicolon at end of struct or
union
./include/SDL_syswm.h:87: warning: data definition has no type or
storage class
./include/SDL_syswm.h:97: error: parse error before ‘fswindow’
./include/SDL_syswm.h:97: warning: data definition has no type or
storage class
./include/SDL_syswm.h:98: error: parse error before ‘wmwindow’
./include/SDL_syswm.h:98: warning: data definition has no type or
storage class
./include/SDL_syswm.h:99: warning: data definition has no type or
storage class
./include/SDL_syswm.h:100: error: parse error before ‘}’ token
./include/SDL_syswm.h:100: warning: data definition has no type or
storage class
./include/SDL_syswm.h:101: error: parse error before ‘}’ token
./include/SDL_syswm.h:101: warning: data definition has no type or
storage class
./include/SDL_syswm.h:201: error: parse error before ‘*’ token
In file included from ./src/events/SDL_sysevents.h:24,
from ./src/events/SDL_events.c:28:
./src/events/…/video/SDL_sysvideo.h:218: error: parse error before
’SDL_SysWMinfo’
./src/events/SDL_events.c:49: error: array type has incomplete
element type
./src/events/SDL_events.c: In function ‘SDL_AddEvent’:
./src/events/SDL_events.c:276: error: dereferencing pointer to
incomplete type
make: *** [build/SDL_events.lo] Error 1
I have X11 libraries installed in the proper places, as ./configure
found. Is there a workaround for these issues?
Sincerely,
Watson Ladd
“Those who would give up Essential Liberty to purchase a little
Temporary Safety deserve neither Liberty nor Safety.”
- – Benjamin Franklin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
iD8DBQFEoVC9GV+aWVfIlEMRAhO9AJ9cDUhGKUWPovR/JnstWGy4PZ99XwCfSQZN
K3RmGjNzqR0PLmG48m8/eCw=
=ME/Q
-----END PGP SIGNATURE-----