[molpro-user] gecos.c compilation error on IRIX 6.5

Martin Chorley m.j.chorley at cs.cardiff.ac.uk
Mon Jan 30 13:54:51 GMT 2006

I am trying to compile Molpro 2002.10 on an SGI machine running IRIX 
6.5, but am getting this error during compilation:

make[3]: Entering directory molpro2002.10/src/util'
gecos.c: compiling ... failed:
cc -G0 -64 -mips4 -i8 -DI64 -DIRIX64 -c -DSEEK=.001 -DSPEED=3000000 
-I. -O3 gecos.c
cc-1515 cc: ERROR File = gecos.c, Line = 29
  A value of type "int" cannot be assigned to an entity of type "char *".


cc-1552 cc: WARNING File = gecos.c, Line = 27
  The variable "logname" is set but never used.

    char *logname, *l;

1 error detected in the compilation of "gecos.c".
make[3]: *** [gecos.o] Error 1
make[3]: Leaving directory `molpro2002.10/src/util'
make[2]: *** [objects] Error 2
make[2]: Leaving directory `molpro2002.10/src/util'
make[1]: *** [util] Error 2
make[1]: Leaving directory `molpro2002.10/src'
make: *** [src] Error 2

I think it may be something to do with the MIPSpro compiler (using 
version, but I have no idea how to fix it. Can anyone help?



More information about the Molpro-user mailing list