On Thu, Jul 8, 2010 at 9:05 AM, Bidski <bid...@bigpond.net.au> wrote:
> Hi all,
>
> Just running through this but have run into a problem while building the
> crt. Everything else has appeared to configure and make without error thus
> far.
>
> The error I am getting is while running make and looks like this
>
> make[1]: Entering directory `/mingw64/mingw64/mingw-w64-crt/build'
> x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I..  -m64  -pipe -std=gnu99
> -Wall -Wextra -Wformat -Wstrict-aliasing -Wshadow -Wpacked -Winline
> -Wimplicit-function-declaration -Wmissing-noreturn -Wmissing-prototypes -g
> -O2 -MT libsrc/lib64_libdinput_a-dinput_kbd.o -MD -MP -MF
> libsrc/.deps/lib64_libdinput_a-dinput_kbd.Tpo -c -o
> libsrc/lib64_libdinput_a-dinput_kbd.o `test -f 'libsrc/dinput_kbd.c' || echo
> '../'`libsrc/dinput_kbd.c
> In file included from C:\MinGW\include/windef.h:253:0,
>                  from C:\MinGW\include/windows.h:48,
>                  from ../libsrc/dinput_private.h:16,
>                  from ../libsrc/dinput_kbd.c:13:
> C:\MinGW\include/winnt.h:2394:2: error: #error "undefined processor type"


You are using headers from mingw.org and not from mingw-w64.
Please use headers from mingw-w64.


> C:\MinGW\include/winnt.h:2396:17: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> C:\MinGW\include/winnt.h:2407:2: error: expected specifier-qualifier-list
> before 'PCONTEXT'
> In file included from C:\MinGW\include/windows.h:50:0,
>                  from ../libsrc/dinput_private.h:16,
>                  from ../libsrc/dinput_kbd.c:13:
> C:\MinGW\include/winbase.h:1595:48: error: expected declaration specifiers
> or '...' before 'LPCONTEXT'
> C:\MinGW\include/winbase.h:1974:61: error: expected ';', ',' or ')' before
> '*' token
> make[1]: *** [libsrc/lib64_libdinput_a-dinput_kbd.o] Error 1
> make[1]: Leaving directory `/mingw64/mingw64/mingw-w64-crt/build'
> make: *** [all] Error 2
> I have googled this a bit and looked in this mailing lists archives but cant
> really find much. Can anyone tell me whats wrong here?
>
> Regards
> Bidski

--
Ozkan

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to