irix build dies in fastjar

Billinghurst, David (CRTS) David.Billinghurst@riotinto.com
Tue Dec 12 17:05:00 GMT 2000


Irix 6.5 bootstrap of 20001211 snapshot dies in fastjar directory, perhaps
because it is being built with cc rather than gcc

make[2]: Entering directory `/exd4/billingd/obj/gcc-parallel/fastjar'
cc -DHAVE_CONFIG_H -I. -I/exd4/billingd/src/gcc/fastjar -I. -I.
-I/exd4/billingd
/src/gcc/fastjar -I/exd4/billingd/src/gcc/fastjar/../zlib    -g -c
/exd4/billing
d/src/gcc/fastjar/jartool.c
"/exd4/billingd/src/gcc/fastjar/jartool.c", line 632: warning(1164):
argument
          of type "char *" is incompatible with parameter of type
          "const Bytef *"
      crc = crc32(crc, mf, mf_len);
                       ^

"/exd4/billingd/src/gcc/fastjar/jartool.c", line 1262: warning(1164):
argument
          of type "ub1 *" is incompatible with parameter of type "const char
*"
          if(strcmp(files[j], filename) == 0){
                              ^

"/exd4/billingd/src/gcc/fastjar/jartool.c", line 1280: warning(1164):
argument
          of type "ub1 *" is incompatible with parameter of type "const char
*"
        tmp_buff = malloc(sizeof(char) * strlen(filename));
                                                ^

"/exd4/billingd/src/gcc/fastjar/jartool.c", line 1283: error(1140): a value
of
          type "int" cannot be used to initialize an entity of type "ub1 *"
          ub1 *idx = index(start, '/');
                     ^

"/exd4/billingd/src/gcc/fastjar/jartool.c", line 1293: warning(1164):
argument
          of type "ub1 *" is incompatible with parameter of type "const char
*"
          strncpy(tmp_buff, filename, (idx - filename));
                            ^

"/exd4/billingd/src/gcc/fastjar/jartool.c", line 1330: warning(1164):
argument
          of type "ub1 *" is incompatible with parameter of type "const char
*"
        if(strlen(start) == 0)
                  ^

"/exd4/billingd/src/gcc/fastjar/jartool.c", line 1338: warning(1164):
argument
          of type "ub1 *" is incompatible with parameter of type "const char
*"
        if(strlen(start) == 0)
                  ^

"/exd4/billingd/src/gcc/fastjar/jartool.c", line 1345: warning(1164):
argument
          of type "ub1 *" is incompatible with parameter of type "const char
*"
        f_fd = creat(filename, 00644);
                     ^

"/exd4/billingd/src/gcc/fastjar/jartool.c", line 1349: warning(1164):
argument
          of type "ub1 *" is incompatible with parameter of type "const char
*"
          perror(filename);
                 ^

"/exd4/billingd/src/gcc/fastjar/jartool.c", line 1571: warning(1164):
argument
          of type "ub1 *" is incompatible with parameter of type "const char
*"
            if(strcmp(files[j], filename) == 0){
                                ^

"/exd4/billingd/src/gcc/fastjar/jartool.c", line 1716: warning(1164):
argument
          of type "ub1 *" is incompatible with parameter of type "const char
*"
            if(strcmp(files[j], filename) == 0){
                                ^

1 error detected in the compilation of
"/exd4/billingd/src/gcc/fastjar/jartool.c
".
make[2]: *** [jartool.o] Error 2
make[2]: Leaving directory `/exd4/billingd/obj/gcc-parallel/fastjar'
make[1]: *** [all-fastjar] Error 2
make[1]: Leaving directory `/exd4/billingd/obj/gcc-parallel'
make: *** [bootstrap] Error 2


More information about the Gcc-bugs mailing list