All of the includes are there.... I'm a little baffled as to where the problem is...?
Has anyone else succesfully compiled gnubg on msys?? Do I need gnuplot installed to compile gnubg??? Are there any tools that are essential to the build process?? Any help is greatly appreciated, i am rather new to building software on windows... Thanks, Martyn ________________________________ From: Jim Segrave [mailto:[EMAIL PROTECTED] Sent: Tue 05/07/2005 17:53 To: Wheeler, Dr M.D. Cc: [email protected] Subject: Re: [Bug-gnubg] more errors On Tue 05 Jul 2005 (16:46 +0100), Wheeler, Dr M.D. wrote: > I am trying to get through the compilation and I get some errors related to > external_y.c if anyone has any bight ideas i'd love to hear them. > > source='external_y.c' object='external_y.o' libtool=no \ > depfile='.deps/external_y.Po' tmpdepfile='.deps/external_y.TPo' \ > depmode=gcc3 /bin/sh ./depcomp \ > gcc -mms-bitfields -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I. -I./lib > -I/target/include/libxml2 -I/target/include -I./intl > -DLOCALEDIR=\"/usr/local/share/locale\" -I/C/GTK/include/freetype2 > -I/C/GTK/include -I/target/include/glib-2.0 -I/target/lib/glib-2.0/include > -I/target/include/gtk-2.0 -I/target/lib/gtk-2.0/include > -I/target/include/atk-1.0 -I/target/include/pango-1.0 > -I/target/include/glib-2.0 -I/target/lib/glib-2.0/include -g -O2 > -mms-bitfields -c `test -f 'external_y.c' || echo './'`external_y.c > external_y.c:137: error: syntax error before "ec" > external_y.c:137: warning: data definition has no type or storage class external_y.c should be #incuding external.h, which defines the things causing your errors. Does your external.y.c have at line 130: #if HAVE_CONFIG_H #include "config.h" #endif #include <stdlib.h> #include <stdio.h> #include <string.h> #include <glib.h> #include "external.h" extern int extlex(); extern int exterror(const char *s); extcmd ec; Do you have an external.h? -- Jim Segrave [EMAIL PROTECTED] _______________________________________________ Bug-gnubg mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnubg
