The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
Install error
Petr Pisar
Guest

On Sat, Aug 13, 2016 at 03:07:45AM +0000, jeiler wrote:
Quote:
I'm trying to install SDL 1.2.15 and get the following error:

Code:
libtool: compile: gcc -g -O2 -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -Wall -c ./src/video/x11/SDL_x11dyn.c -fPIC -DPIC -o build/.libs/SDL_x11dyn.o
./src/video/x11/SDL_x11sym.h:168:17: error: conflicting types for ‘_XData32’
SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),(dpy,d
^
https://bugzilla.libsdl.org/show_bug.cgi?id=1769

-- Petr

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Install error
j_post
Guest

Make the following changes in src/video/x11/SDL_x11sym.h at around line 168

/*
* Not required...these only exist in code in headers on some 64-bit
platforms,
* and are removed via macros elsewhere, so it's safe for them to be missing.
*/
#ifdef LONG64
SDL_X11_MODULE(IO_32BIT)
#if SDL_VIDEO_DRIVER_X11_CONST_PARAM_XDATA32
SDL_X11_SYM(int,_XData32,(Display *dpy,register _Xconst long *data,unsigned
len),(dpy,data,len),return)
#else
SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),
(dpy,data,len),return)
#endif
SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),
(dpy,data,len),)
#endif

Jeff

On Monday 12 September 2016 00:39:50 Petr Pisar wrote:
Quote:
On Sat, Aug 13, 2016 at 03:07:45AM +0000, jeiler wrote:
Quote:
I'm trying to install SDL 1.2.15 and get the following error:

Code:
libtool: compile: gcc -g -O2 -I./include -D_GNU_SOURCE=1
-fvisibility=hidden -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -Wall
-c ./src/video/x11/SDL_x11dyn.c -fPIC -DPIC -o build/.libs/SDL_x11dyn.o
./src/video/x11/SDL_x11sym.h:168:17: error: conflicting types for
‘_XData32’ SDL_X11_SYM(int,_XData32,(Display *dpy,register long
*data,unsigned len),(dpy,d ^

https://bugzilla.libsdl.org/show_bug.cgi?id=1769

-- Petr

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org