I used this patch to build it locally
Index: spooles-2.2/ETree/src/transform.c =================================================================== --- spooles-2.2.orig/ETree/src/transform.c +++ spooles-2.2/ETree/src/transform.c @@ -291,7 +291,7 @@ etree2 = ETree_compress(etree, mapIV) ; remap the nzeros[] vector ------------------------- */ -temp = IVinit(nfront, NULL) ; +temp = IVinit(nfront, 0) ; IVcopy(nfront, temp, nzeros) ; IV_setSize(nzerosIV, nnew) ; nzeros = IV_entries(nzerosIV) ; @@ -453,7 +453,7 @@ etree2 = ETree_compress(etree, mapIV) ; remap the nzeros[] vector ------------------------- */ -temp = IVinit(nfront, NULL) ; +temp = IVinit(nfront, 0) ; IVcopy(nfront, temp, nzeros) ; IV_setSize(nzerosIV, nnew) ; nzeros = IV_entries(nzerosIV) ; @@ -614,7 +614,7 @@ etree2 = ETree_compress(etree, mapIV) ; remap the nzeros[] vector ------------------------- */ -temp = IVinit(nfront, NULL) ; +temp = IVinit(nfront, 0) ; IVcopy(nfront, temp, nzeros) ; IV_setSize(nzerosIV, nnew) ; nzeros = IV_entries(nzerosIV) ; Index: spooles-2.2/Utilities/MM.h =================================================================== --- spooles-2.2.orig/Utilities/MM.h +++ spooles-2.2/Utilities/MM.h @@ -33,18 +33,18 @@ if ( (count) > 0 ) { \ if ( (ptr = (type *)malloc((unsigned long)((count)*sizeof(type)))) \ == NULL ) {\ fprintf(stderr, \ - "\n ALLOCATE failure : bytes %d, line %d, file %s", \ + "\n ALLOCATE failure : bytes %ld, line %d, file %s", \ (count)*sizeof(type), __LINE__, __FILE__) ; \ exit(-1) ; } \ else if ( MEMORY_DEBUG > 0 ) { \ fprintf(stderr, \ - "\n ALLOCATE : address %p, bytes %d, line %d, file %s", \ + "\n ALLOCATE : address %p, bytes %ld, line %d, file %s", \ ptr, (count)*sizeof(type), __LINE__, __FILE__) ; } } \ else if ( (count) == 0 ) { \ ptr = NULL ; } \ else { \ fprintf(stderr, \ - "\n ALLOCATE error : bytes %d, line %d, file %s", \ + "\n ALLOCATE error : bytes %ld, line %d, file %s", \ (count)*sizeof(type), __LINE__, __FILE__) ; \ exit(-1) ; } /*