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 288

Summary: Problem compiling SDL 1.2.11
Product: SDL Reporter: Pierre <pierre42d>
Component: buildAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED WORKSFORME QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 1.2.11   
Hardware: x86   
OS: Linux   

Description Pierre 2006-07-30 10:37:27 UTC
# make
/bin/sh ./libtool --mode=compile gcc -s -O3 -march=i686  -I./include -D_GNU_SOURCE=1  -I/usr/local/kde/include/artsc -I/usr/local/include -I/usr/X11R6/include/  -I/usr/X11R6/include -DXTHREADS -DNANOX_SHARE_MEMORY -DENABLE_NANOX_DIRECT_FB -I/usr/local/include/directfb -D_REENTRANT -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/nanox/SDL_nxwm.c  -o build/SDL_nxwm.lo
 gcc -s -O3 -march=i686 -I./include -D_GNU_SOURCE=1 -I/usr/local/kde/include/artsc -I/usr/local/include -I/usr/X11R6/include/ -I/usr/X11R6/include -DXTHREADS -DNANOX_SHARE_MEMORY -DENABLE_NANOX_DIRECT_FB -I/usr/local/include/directfb -D_REENTRANT -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/nanox/SDL_nxwm.c  -fPIC -DPIC -o build/.libs/SDL_nxwm.o
./src/video/nanox/SDL_nxwm.c: In function `NX_GetWMInfo':
./src/video/nanox/SDL_nxwm.c:52: error: structure has no member named `window'
make: *** [build/SDL_nxwm.lo] Error 1
Comment 1 Sam Lantinga 2006-09-24 11:38:50 UTC
That's really odd, since SDL_syswm.h defines window here:
typedef struct SDL_SysWMinfo {
        SDL_version version ;
        GR_WINDOW_ID window ;   /* The display window */
} SDL_SysWMinfo;

Is SDL_VIDEO_DRIVER_NANOX defined in SDL_config.h?
Comment 2 Ryan C. Gordon 2007-05-28 22:21:34 UTC
Resolving bug as WORKSFORME, as I can't reproduce it. User error?

If this is still broken for you, please reopen the bug and we'll track it down.

--ryan.