We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 243

Summary: Build of 1.2.10 is broken when xinerama is disabled
Product: SDL Reporter: Daniel Thaler <daniel>
Component: videoAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED DUPLICATE QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 1.2   
Hardware: x86   
OS: Linux   

Description Daniel Thaler 2006-05-28 18:20:07 UTC
./configure --enable-video-x11 --disable-video-x11-xinerama && make

results in

/bin/sh ./libtool --mode=compile gcc -g -O2  -I./include -D_GNU_SOURCE=1  -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/x11/SDL_x11modes.c  -o build/SDL_x11modes.lo
 gcc -g -O2 -I./include -D_GNU_SOURCE=1 -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/x11/SDL_x11modes.c  -fPIC -DPIC -o build/.libs/SDL_x11modes.o
./src/video/x11/SDL_x11modes.c: In function `X11_GetVideoModes':
./src/video/x11/SDL_x11modes.c:632: error: structure has no member named `xinerama_info'
./src/video/x11/SDL_x11modes.c: In function `X11_ResizeFullScreen':
./src/video/x11/SDL_x11modes.c:905: error: structure has no member named `xinerama_info'
./src/video/x11/SDL_x11modes.c:906: error: structure has no member named `xinerama_info'
./src/video/x11/SDL_x11modes.c:907: error: structure has no member named `xinerama_info'
./src/video/x11/SDL_x11modes.c:908: error: structure has no member named `xinerama_info'
./src/video/x11/SDL_x11modes.c: In function `X11_EnterFullScreen':
./src/video/x11/SDL_x11modes.c:967: error: structure has no member named `xinerama_info'
./src/video/x11/SDL_x11modes.c:968: error: structure has no member named `xinerama_info'
./src/video/x11/SDL_x11modes.c:969: error: structure has no member named `xinerama_info'
./src/video/x11/SDL_x11modes.c:970: error: structure has no member named `xinerama_info'
make: *** [build/SDL_x11modes.lo] Error 1

(compiler was gcc-4.1.1 on a failry curren gentoo system)
Comment 1 Daniel Thaler 2006-05-28 18:21:51 UTC

*** This bug has been marked as a duplicate of 241 ***