bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Mingw32 cross-compilation


From: Christian Anthon
Subject: Re: [Bug-gnubg] Mingw32 cross-compilation
Date: Tue, 12 Jan 2010 09:13:04 +0100

Sometimes the creation of the _y.[ch] and _l.[ch] files goes wrong.
You should be able to work around the problem by copying the files
from non-src to the toplevel dir.

Christian.

On Tue, Jan 12, 2010 at 9:04 AM, Vyacheslav V. Yurkov
<address@hidden> wrote:
> Michael Petch wrote:
>>
>> Can you post your exact errors?
>>
>
> Sure.
> Here they are:
> i386-mingw32-gcc -mms-bitfields -DHAVE_CONFIG_H -I. -I./lib -I./board3d
> -DLOCALEDIR=\"/usr/local/share/locale\"
> -I/home/uvv/mingw32/include/freetype2 -I/home/uvv/mingw32/include
> -mms-bitfields -I/home/uvv/mingw32/include/glib-2.0
> -I/home/uvv/mingw32/lib/glib-2.0/include
> -I/home/uvv/mingw32/include/libpng12   -mms-bitfields
> -I/home/uvv/mingw32/include/gtk-2.0 -I/home/uvv/mingw32/lib/gtk-2.0/include
> -I/home/uvv/mingw32/include/atk-1.0 -I/home/uvv/mingw32/include/cairo
> -I/home/uvv/mingw32/include/pango-1.0 -I/home/uvv/mingw32/include/glib-2.0
> -I/home/uvv/mingw32/lib/glib-2.0/include
> -I/home/uvv/mingw32/include/freetype2 -I/home/uvv/mingw32/include
> -I/home/uvv/mingw32/include/libpng12   -I/home/uvv/mingw32/include/cairo
> -I/home/uvv/mingw32/include/freetype2 -I/home/uvv/mingw32/include
> -I/home/uvv/mingw32/include/libpng12 -mms-bitfields
> -I/home/uvv/mingw32/include/pango-1.0 -I/home/uvv/mingw32/include/cairo
> -I/home/uvv/mingw32/include/glib-2.0
> -I/home/uvv/mingw32/lib/glib-2.0/include
> -I/home/uvv/mingw32/include/freetype2 -I/home/uvv/mingw32/include
> -I/home/uvv/mingw32/include/libpng12   -mms-bitfields
> -I/home/uvv/mingw32/include/glib-2.0
> -I/home/uvv/mingw32/lib/glib-2.0/include   -mms-bitfields
> -I/home/uvv/mingw32/include/gtkglext-1.0
> -I/home/uvv/mingw32/lib/gtkglext-1.0/include
> -I/home/uvv/mingw32/include/gtk-2.0 -I/home/uvv/mingw32/lib/gtk-2.0/include
> -I/home/uvv/mingw32/include/pango-1.0 -I/home/uvv/mingw32/include/glib-2.0
> -I/home/uvv/mingw32/lib/glib-2.0/include -I/home/uvv/mingw32/include/cairo
> -I/home/uvv/mingw32/include/freetype2 -I/home/uvv/mingw32/include
> -I/home/uvv/mingw32/include/libpng12 -I/home/uvv/mingw32/include/atk-1.0
> -I/home/uvv/mingw32/include    -DDOCDIR='"/usr/local/share/doc/gnubg/"'
> -DDATADIR='"/usr/local/share"' -DPKGDATADIR='"/usr/local/share/gnubg"'
> -UDATADIR -mms-bitfields -MT external_y.o -MD -MP -MF .deps/external_y.Tpo
> -c -o external_y.o external_y.c
>
> external_y.y:35: error: syntax error before "ec"
>
>
> external_y.y:35: warning: data definition has no type or storage class
>
>
> external_y.y: In function `extparse':
>
>
> external_y.y:77: error: request for member `ct' in something not a structure
> or union
> external_y.y:77: error: `COMMAND_FIBSBOARD' undeclared (first use in this
> function)
> external_y.y:77: error: (Each undeclared identifier is reported only once
> external_y.y:77: error: for each function it appears in.)
> external_y.y:78: error: request for member `szFIBSBoard' in something not a
> structure or union
> external_y.y:79: error: request for member `szFIBSBoard' in something not a
> structure or union
> external_y.y:84: error: request for member `szFIBSBoard' in something not a
> structure or union
> external_y.y:85: error: request for member `szFIBSBoard' in something not a
> structure or union
> external_y.y:89: error: request for member `nPlies' in something not a
> structure or union
> external_y.y:93: error: request for member `fCubeful' in something not a
> structure or union
> external_y.y:94: error: request for member `fCubeful' in something not a
> structure or union
> external_y.y:98: error: request for member `fCubeful' in something not a
> structure or union
> external_y.y:102: error: request for member `fUsePrune' in something not a
> structure or union
> external_y.y:106: error: request for member `fCubeful' in something not a
> structure or union
> external_y.y:110: error: request for member `rNoise' in something not a
> structure or union
> external_y.y:114: error: request for member `nReduced' in something not a
> structure or union
> external_y.y:122: error: request for member `ct' in something not a
> structure or union
> external_y.y:122: error: `COMMAND_EVALUATION' undeclared (first use in this
> function)
> external_y.y: In function `reset_command':
> external_y.y:148: error: request for member `ct' in something not a
> structure or union
> external_y.y:148: error: `COMMAND_NONE' undeclared (first use in this
> function)
> external_y.y:149: error: request for member `nPlies' in something not a
> structure or union
> external_y.y:150: error: request for member `rNoise' in something not a
> structure or union
> external_y.y:151: error: request for member `fDeterministic' in something
> not a structure or union
> external_y.y:152: error: request for member `fCubeful' in something not a
> structure or union
> external_y.y:153: error: request for member `nReduced' in something not a
> structure or union
> external_y.y:154: error: request for member `fUsePrune' in something not a
> structure or union
> external_y.y:155: error: request for member `szFIBSBoard' in something not a
> structure or union
> external_y.y:156: error: request for member `szFIBSBoard' in something not a
> structure or union
> make[2]: *** [external_y.o] Error 1
> make[2]: Leaving directory `/home/uvv/C/GTK+/gnubg'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/uvv/C/GTK+/gnubg'
> make: *** [all] Error 2
>
> --
> Vyacheslav V. Yurkov <address@hidden>       Senior Software Engineer
> Norilsk                                         Tel: +79069001870
>
> Software Development Department
> Joint Stock Company "Channel-7", ISP
>
>
>
> _______________________________________________
> Bug-gnubg mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-gnubg
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]