There was a problem in dice.c
dice.c: In function ‘RNGSystemSeed’:
dice.c:789: error: storage size of ‘tz’ isn’t known
if( !f ) {
#if HAVE_GETTIMEOFDAY
struct timeval tv;
struct timezone tz;
if( !gettimeofday( &tv, &tz ) )
n = tv.tv_sec ^ tv.tv_usec;
else
#endif
..... I solved this the easy way, by modifying to:
if( !f ) {
#if 0
struct timeval tv;
struct timezone tz;
if( !gettimeofday( &tv, &tz ) )
n = tv.tv_sec ^ tv.tv_usec;
else
#endif
Then there was a link problem:
external.o: In function `ExtParse':
/home/oystein/gnubg/external.c:367: undefined reference to `ExtStartParse'
external_y.o: In function `exterror':
/home/oystein/gnubg/external_y.y:137: undefined reference to `exttext'
/home/oystein/gnubg/external_y.y:139: undefined reference to `exttext'
external_y.o: In function `extparse':
/home/oystein/gnubg/external_y.c:1326: undefined reference to `extlex'
I'm using bison (GNU Bison) 2.3 and lex 2.5.33
-Øystein
_______________________________________________
Bug-gnubg mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnubg