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 - Problem compiling SDL 1.2.11
Summary: Problem compiling SDL 1.2.11
Status: RESOLVED WORKSFORME
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: 1.2.11
Hardware: x86 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-30 10:37 UTC by Pierre
Modified: 2007-05-28 22:21 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.