[SDL] Solaris 9 and SDL-1.2.11

Frank Middleton f.middleton at apogeect.com
Tue Jan 2 07:24:21 PST 2007


> uname -a
SunOS apogee5 5.9 Generic_118558-35 sun4u sparc SUNW,Ultra-80 Solaris
> gcc --version
gcc (GCC) 4.1.1

There was a thread about this before ([SDL] SDL 1.2.10 PRERELEASE #2)
http://www.libsdl.org/pipermail/sdl/2006-May/074309.html

but it didn't come to a resolution, and the
"./src/video/x11/SDL_x11sym.h:127: error: conflicting types for 'XSynchronize'"
problem is still there. By undef-ing X11_DEBUG, the build continues, but fails
later on:

In file included from ./src/video/dga/../x11/SDL_x11dyn.h:30,
                 from ./src/video/dga/SDL_dgaevents.c:36:
/usr/openwin/include/X11/Xlibint.h:137: error: expected declaration specifiers or '...' before 'xEvent'
In file included from ./src/video/dga/../x11/SDL_x11dyn.h:30,
                 from ./src/video/dga/SDL_dgaevents.c:36:
/usr/openwin/include/X11/Xlibint.h:761: error: expected declaration specifiers or '...' before 'xReply'
/usr/openwin/include/X11/Xlibint.h:836: error: expected specifier-qualifier-list before 'xReply'
/usr/openwin/include/X11/Xlibint.h:903: error: expected declaration specifiers or '...' before 'xGenericReply'
/usr/openwin/include/X11/Xlibint.h:921: error: expected declaration specifiers or '...' before 'xReply'
/usr/openwin/include/X11/Xlibint.h:931: error: expected declaration specifiers or '...' before 'xReply'
/usr/openwin/include/X11/Xlibint.h:978: error: expected declaration specifiers or '...' before 'xReply'
/usr/openwin/include/X11/Xlibint.h:986: error: expected declaration specifiers or '...' before 'xEvent'
/usr/openwin/include/X11/Xlibint.h:1187: error: expected declaration specifiers or '...' before 'xEvent'
/usr/openwin/include/X11/Xlibint.h:1193: error: expected declaration specifiers or '...' before 'xEvent'
/usr/openwin/include/X11/Xlibint.h:1205: error: expected declaration specifiers or '...' before 'xEvent'
/usr/openwin/include/X11/Xlibint.h:1211: error: expected declaration specifiers or '...' before 'xEvent'
In file included from ./src/video/dga/../x11/SDL_x11dyn.h:34,
                 from ./src/video/dga/SDL_dgaevents.c:36:
./src/video/dga/../x11/../Xext/extensions/extutil.h:114: error: expected declaration specifiers or '...' before 'xEvent'
./src/video/dga/../x11/../Xext/extensions/extutil.h:121: error: expected declaration specifiers or '...' before 'xEvent'
In file included from ./src/video/dga/SDL_dgaevents.c:36:
./src/video/dga/../x11/SDL_x11dyn.h:61: error: expected declaration specifiers or '...' before 'xEvent'
./src/video/dga/../x11/SDL_x11dyn.h:63: error: expected declaration specifiers or '...' before 'xEvent'

etc...

Before I spend the time to fix these issues, has anyone else already
done so? If not, would the developers be interested in the fixes?

Regards -- Frank




More information about the SDL mailing list