my problem
petrik@pm-dell ~/trems/Tremulous (svn)-[trunk:895] % sh cross-make-mingw.sh
echo QVM tools not built when cross-compiling
QVM tools not built when cross-compiling
make targets B=build/release-mingw32-x86 CFLAGS=" -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -DUSE_OPENAL=1 -DUSE_OPENAL_DLOPEN=1 -DUSE_CURL=1 -DCURL_STATICLIB -m32 -DUSE_LOCAL_HEADERS=1 -DSVN_VERSION=\\\"1.1.0_SVN895M\\\" -DNDEBUG -O3 -march=i586 -fomit-frame-pointer -ffast-math -falign-loops=2 -funroll-loops -falign-jumps=2 -falign-functions=2 -fstrength-reduce -MMD"
make[1]: Entering directory `/home/mann.sk/petrik/trems/Tremulous'
gcc -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -DUSE_OPENAL=1 -DUSE_OPENAL_DLOPEN=1 -DUSE_CURL=1 -DCURL_STATICLIB -m32 -DUSE_LOCAL_HEADERS=1 -DSVN_VERSION=\"1.1.0_SVN895M\" -DNDEBUG -O3 -march=i586 -fomit-frame-pointer -ffast-math -falign-loops=2 -funroll-loops -falign-jumps=2 -falign-functions=2 -fstrength-reduce -MMD -o build/release-mingw32-x86/client/win_gamma.o -c src/win32/win_gamma.c
In file included from src/win32/win_gamma.c:29:
src/win32/glw_win.h:24:4: error: #error You should not be including this file on this platform
In file included from src/win32/win_gamma.c:29:
src/win32/glw_win.h:32: error: expected specifier-qualifier-list before ‘WNDPROC’
In file included from src/win32/win_gamma.c:30:
src/win32/win_local.h:29:21: warning: windows.h: No such file or directory
src/win32/win_local.h:37:20: warning: dinput.h: No such file or directory
src/win32/win_local.h:38:20: warning: dsound.h: No such file or directory
src/win32/win_local.h:39:21: warning: winsock.h: No such file or directory
src/win32/win_local.h:40:19: warning: wsipx.h: No such file or directory
src/win32/win_local.h:41:20: warning: shlobj.h: No such file or directory
In file included from src/win32/win_gamma.c:30:
src/win32/win_local.h:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MainWndProc’
src/win32/win_local.h:83: error: expected specifier-qualifier-list before ‘HINSTANCE’
src/win32/win_gamma.c: In function ‘WG_CheckHardwareGamma’:
src/win32/win_gamma.c:41: error: ‘HDC’ undeclared (first use in this function)
src/win32/win_gamma.c:41: error: (Each undeclared identifier is reported only once
src/win32/win_gamma.c:41: error: for each function it appears in.)
src/win32/win_gamma.c:41: error: expected ‘;’ before ‘hDC’
src/win32/win_gamma.c:45: error: ‘qwglSetDeviceGammaRamp3DFX’ undeclared (first use in this function)
src/win32/win_gamma.c:49: error: ‘hDC’ undeclared (first use in this function)
src/win32/win_gamma.c:49: warning: implicit declaration of function ‘GetDC’
src/win32/win_gamma.c:49: warning: implicit declaration of function ‘GetDesktopWindow’
src/win32/win_gamma.c:50: warning: implicit declaration of function ‘qwglGetDeviceGammaRamp3DFX’
src/win32/win_gamma.c:51: warning: implicit declaration of function ‘ReleaseDC’
src/win32/win_gamma.c:65: warning: implicit declaration of function ‘GetDeviceGammaRamp’
src/win32/win_gamma.c:73: warning: implicit declaration of function ‘HIBYTE’
src/win32/win_gamma.c: In function ‘GLimp_SetGamma’:
src/win32/win_gamma.c:138: error: ‘OSVERSIONINFO’ undeclared (first use in this function)
src/win32/win_gamma.c:138: error: expected ‘;’ before ‘vinfo’
src/win32/win_gamma.c:140: error: ‘glwstate_t’ has no member named ‘hDC’
src/win32/win_gamma.c:153: error: ‘vinfo’ undeclared (first use in this function)
src/win32/win_gamma.c:154: warning: implicit declaration of function ‘GetVersionEx’
src/win32/win_gamma.c:155: error: ‘VER_PLATFORM_WIN32_NT’ undeclared (first use in this function)
src/win32/win_gamma.c:181: error: ‘qwglSetDeviceGammaRamp3DFX’ undeclared (first use in this function)
src/win32/win_gamma.c:183: warning: implicit declaration of function ‘qwglSetDeviceGammaRamp3DFX’
src/win32/win_gamma.c:183: error: ‘glwstate_t’ has no member named ‘hDC’
src/win32/win_gamma.c:187: warning: implicit declaration of function ‘SetDeviceGammaRamp’
src/win32/win_gamma.c:187: error: ‘glwstate_t’ has no member named ‘hDC’
src/win32/win_gamma.c: In function ‘WG_RestoreGamma’:
src/win32/win_gamma.c:201: error: ‘qwglSetDeviceGammaRamp3DFX’ undeclared (first use in this function)
src/win32/win_gamma.c:203: error: ‘glwstate_t’ has no member named ‘hDC’
src/win32/win_gamma.c:207: error: ‘HDC’ undeclared (first use in this function)
src/win32/win_gamma.c:207: error: expected ‘;’ before ‘hDC’
src/win32/win_gamma.c:209: error: ‘hDC’ undeclared (first use in this function)
make[1]: *** [build/release-mingw32-x86/client/win_gamma.o] Error 1
make[1]: Leaving directory `/home/mann.sk/petrik/trems/Tremulous'
make: *** [build_release] Error 2