bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] more errors


From: Jim Segrave
Subject: Re: [Bug-gnubg] more errors
Date: Tue, 5 Jul 2005 18:53:53 +0200
User-agent: Mutt/1.4.2.1i

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           address@hidden




reply via email to

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