gcc -MM -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=i486 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -I/usr/include/freetype2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer loader/module.c | sed -e "s,[0-9a-z._-]*: \([a-z0-9/]*/\)[^/]* ,\1&," -e "s,\(.*\)\.o: ,\1.d &," > loader/module.d gcc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=i486 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -I/usr/include/freetype2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o loader/module.o loader/module.c In file included from loader/module.c:34: loader/wine/windef.h:115:1: warning: "_stdcall" redefined : warning: this is the location of the previous definition loader/wine/windef.h:116:1: warning: "_fastcall" redefined : warning: this is the location of the previous definition loader/wine/windef.h:117:1: warning: "__fastcall" redefined : warning: this is the location of the previous definition loader/wine/windef.h:124:1: warning: "_cdecl" redefined : warning: this is the location of the previous definition loader/wine/windef.h:130:1: warning: "__declspec" redefined : warning: this is the location of the previous definition In file included from loader/wine/heap.h:12, from loader/module.c:36: loader/wine/winbase.h:544: warning: 'packed' attribute ignored for field of type 'CHAR[8]' In file included from loader/wine/module.h:11, from loader/module.c:37: loader/wine/pe_image.h:60: warning: 'packed' attribute ignored for field of type 'BYTE' loader/wine/pe_image.h:62: warning: 'packed' attribute ignored for field of type 'BYTE' loader/wine/pe_image.h:64: warning: 'packed' attribute ignored for field of type 'BYTE' loader/wine/pe_image.h:66: warning: 'packed' attribute ignored for field of type 'BYTE' loader/wine/pe_image.h:67: warning: 'packed' attribute ignored for field of type 'BYTE' loader/wine/pe_image.h:69: warning: 'packed' attribute ignored for field of type 'BYTE' loader/module.c: In function 'LoadLibraryExA': loader/module.c:442: warning: comparison of distinct pointer types lacks a cast loader/module.c:452: warning: comparison of distinct pointer types lacks a cast loader/module.c:465: warning: comparison of distinct pointer types lacks a cast loader/module.c:470: warning: comparison of distinct pointer types lacks a cast loader/module.c:478: warning: comparison of distinct pointer types lacks a cast loader/module.c:494: warning: comparison of distinct pointer types lacks a cast In file included from f:/lang/gcc/usr/include/os2.h:35, from loader/module.c:750: f:/lang/gcc/usr/include/os2emx.h: At top level: f:/lang/gcc/usr/include/os2emx.h:299: error: conflicting types for 'HQUEUE' loader/wine/windef.h:280: note: previous declaration of 'HQUEUE' was here f:/lang/gcc/usr/include/os2emx.h:300: error: conflicting types for 'PHQUEUE' loader/wine/windef.h:280: note: previous declaration of 'PHQUEUE' was here f:/lang/gcc/usr/include/os2emx.h:302: error: conflicting types for 'HMODULE' loader/wine/windef.h:296: note: previous declaration of 'HMODULE' was here f:/lang/gcc/usr/include/os2emx.h:1461: error: conflicting types for 'HFILE' loader/wine/windef.h:264: note: previous declaration of 'HFILE' was here f:/lang/gcc/usr/include/os2emx.h:1462: error: conflicting types for 'PHFILE' loader/wine/windef.h:264: note: previous declaration of 'PHFILE' was here f:/lang/gcc/usr/include/os2emx.h:3452: error: 'printf' redeclared as different kind of symbol In file included from f:/lang/gcc/usr/include/os2.h:35, from loader/module.c:750: f:/lang/gcc/usr/include/os2emx.h:5356: error: conflicting types for 'HACCEL' loader/wine/windef.h:254: note: previous declaration of 'HACCEL' was here f:/lang/gcc/usr/include/os2emx.h:5358: error: conflicting types for 'HRGN' loader/wine/windef.h:281: note: previous declaration of 'HRGN' was here f:/lang/gcc/usr/include/os2emx.h:5359: error: conflicting types for 'PHRGN' loader/wine/windef.h:281: note: previous declaration of 'PHRGN' was here f:/lang/gcc/usr/include/os2emx.h:5381: error: conflicting types for 'HDC' loader/wine/windef.h:259: note: previous declaration of 'HDC' was here f:/lang/gcc/usr/include/os2emx.h:5382: error: conflicting types for 'PHDC' loader/wine/windef.h:259: note: previous declaration of 'PHDC' was here f:/lang/gcc/usr/include/os2emx.h:5384: error: conflicting types for 'HWND' loader/wine/windef.h:289: note: previous declaration of 'HWND' was here f:/lang/gcc/usr/include/os2emx.h:5385: error: conflicting types for 'PHWND' loader/wine/windef.h:289: note: previous declaration of 'PHWND' was here f:/lang/gcc/usr/include/os2emx.h:5392: error: conflicting types for 'HBITMAP' loader/wine/windef.h:255: note: previous declaration of 'HBITMAP' was here f:/lang/gcc/usr/include/os2emx.h:5393: error: conflicting types for 'PHBITMAP' loader/wine/windef.h:255: note: previous declaration of 'PHBITMAP' was here f:/lang/gcc/usr/include/os2emx.h:5413: error: conflicting types for 'POINTL' loader/wine/windef.h:587: note: previous declaration of 'POINTL' was here f:/lang/gcc/usr/include/os2emx.h:5420: error: conflicting types for 'POINTS' loader/wine/windef.h:602: note: previous declaration of 'POINTS' was here f:/lang/gcc/usr/include/os2emx.h:5421: error: conflicting types for 'PPOINTS' loader/wine/windef.h:602: note: previous declaration of 'PPOINTS' was here f:/lang/gcc/usr/include/os2emx.h:5429: error: conflicting types for 'RECTL' loader/wine/windef.h:625: note: previous declaration of 'RECTL' was here f:/lang/gcc/usr/include/os2emx.h:5430: error: conflicting types for 'PRECTL' loader/wine/windef.h:625: note: previous declaration of 'PRECTL' was here f:/lang/gcc/usr/include/os2emx.h:8870: error: conflicting types for 'SIZEL' loader/wine/windef.h:569: note: previous declaration of 'SIZEL' was here f:/lang/gcc/usr/include/os2emx.h:8871: error: conflicting types for 'PSIZEL' loader/wine/windef.h:569: note: previous declaration of 'PSIZEL' was here loader/module.c: In function 'is_invalid_ptr': loader/module.c:757: warning: passing argument 2 of 'DosQueryMem' from incompatible pointer type f:/lang/gcc/usr/include/os2emx.h:1281: note: expected 'long unsigned int *' but argument is of type 'uint32_t *' loader/module.c:757: warning: passing argument 3 of 'DosQueryMem' from incompatible pointer type f:/lang/gcc/usr/include/os2emx.h:1281: note: expected 'long unsigned int *' but argument is of type 'uint32_t *' loader/module.c: In function 'report_func': loader/module.c:896: error: expected expression before 'printf' loader/module.c: At top level: loader/module.c:1052: error: conflicting types for 'MODULE_GetProcAddress' loader/wine/module.h:142: note: previous declaration of 'MODULE_GetProcAddress' was here loader/module.c: In function 'MODULE_GetProcAddress': loader/module.c:1089: error: a label can only be part of a statement and a declaration is not a statement loader/module.c:1089: error: expected identifier or '(' before string constant make.exe: *** [loader/module.o] Error 1