A private hack that was never intended for inclusion, to create PNG image
files of the SVG pieces, had krept into the source. Two header files
failed to declare a common global as 'extern', and newer C compilers
did not like teh resulting double declaration.
 
 /* ICS vars used with backend.c and zippy.c */
 enum ICS_TYPE { ICS_GENERIC, ICS_ICC, ICS_FICS, ICS_CHESSNET /* not really supported */ };
-enum ICS_TYPE ics_type;
+extern enum ICS_TYPE ics_type;
 
 /* pgntags.c prototypes
  */
 
   cairo_paint (cr);
   cairo_destroy (cr);
 if(appData.inscriptions[0]) InscribeKanji(cs, piece+BlackPawn*color, 0, 0);
-sprintf(buf, "%c2%d.png", color ? 'b' : 'w', piece);
-if(piece < 22) cairo_surface_write_to_png(cs, buf);
+//sprintf(buf, "%c2%d.png", color ? 'b' : 'w', piece);
+//if(piece < 66) cairo_surface_write_to_png(cs, buf);
 
   if(!appData.trueColors || !*pieceDir) { // operate on bitmap to color it (king-size hack...)
     int stride = cairo_image_surface_get_stride(cs)/4;
 
 #define OPEN   0
 
 /* Module globals */
-ChessProgramStats_Move * currPvInfo;
+extern ChessProgramStats_Move * currPvInfo;
 extern int currFirst;
 extern int currLast;
 extern int currCurrent;