Vanilla List Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with latest cvs build



Before the GB game on Thursday I did an update of my code from the
Vanilla cvs tree, and tried to compile it on Solaris 2.6 with
egcs-2.91.66.  I ran into a few problems.

With LTD_STATS enabled, xsg fails to compile, with the following errors:

inform.c: In function `inform':
inform.c:117: structure has no member named `st_armsbomb'
inform.c:117: structure has no member named `st_tarmsbomb'
inform.c:122: structure has no member named `st_planets'
inform.c:122: structure has no member named `st_tplanets'
inform.c:127: structure has no member named `st_kills'
inform.c:127: structure has no member named `st_tkills'
inform.c:132: structure has no member named `st_losses'
inform.c:132: structure has no member named `st_tlosses'
inform.c:136: structure has no member named `st_sbmaxkills'
inform.c:138: structure has no member named `st_maxkills'
inform.c:143: structure has no member named `st_tticks'

Possibly a name conflict.  It works fine with LTD_STATS off.

With LTD_STATS *not* enabled (the default), pledit fails:

make[1]: Entering directory `/export/home/tom/bin/Vanilla/pledit'
gcc -g  -I../ntserv       -c main.c -o main.o
main.c:53: macro `va_start' used with just one arg


And below there's a patch for end_tourney.pl which fixes the 
truncated-moved-stats problem.

--- begin patch --
15a16,17
> $|=1;
> 
25,30d26
< $gzip = "/usr/local/bin/gzip";
< if ( ! -x $gzip ) {
<     # maybe it's in their path
<     $gzip = "gzip";
< }
< 
82,83c78,79
<           system("$gzip -9f $dropdir/$id/INL_log");
<           system("$gzip -9f $dropdir/$id/ltd_dump.txt");
---
>           system("gzip -9f $dropdir/$id/INL_log");
>           system("gzip -9f $dropdir/$id/ltd_dump.txt");
155,156d150
<     close LOG;
< 
315,316d308
< close STDOUT;
< 
632,633d623
< close OUTPUT;
<