[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Compile error at play.c
From: |
Achim Mueller |
Subject: |
Re: [Bug-gnubg] Compile error at play.c |
Date: |
Sat, 26 May 2007 00:14:28 +0200 |
User-agent: |
Mutt/1.5.9i |
* Jim Segrave <address@hidden> [070526 00:05]:
> On Fri 25 May 2007 (22:43 +0200), Achim Mueller wrote:
> > I get the follwoing error while compiling the daily snapshot:
> >
> > s/play.Tpo" -c -o play.o play.c; \
> > then mv -f ".deps/play.Tpo" ".deps/play.Po"; else rm -f
> > ".deps/play.Tpo"; exit 1; fi
> > play.c: In function 'SetMatchDate':
> > play.c:3011: warning: initialization makes pointer from integer without
> > a cast
> > play.c:3013: error: dereferencing pointer to incomplete type
> > play.c:3014: error: dereferencing pointer to incomplete type
> > play.c:3015: error: dereferencing pointer to incomplete type
> > make[2]: *** [play.o] Error 1
> > make[2]: Leaving directory `/home/ace/local/src/gnubg-devel'
> >
>
> It looks like you may need to include time.h
You were right, Jim. Here comes the next:
then mv -f ".deps/html.Tpo" ".deps/html.Po"; else rm -f
".deps/html.Tpo"; exit 1; fi
html.c: In function 'HTMLEpilogueComment':
html.c:1932: warning: assignment makes pointer from integer without a
cast
html.c: In function 'HTMLMatchInfo':
html.c:3107: error: storage size of 'tmx' isn't known
html.c:3141: warning: incompatible implicit declaration of built-in
function 'strftime'
make[2]: *** [html.o] Error 1
I put an
#include <time.h>
into play.c
Ciao
Achim