AMBER Archive (2001)

Subject: Compilation of LEaP on SP3

From: Sanjeev B.S. (sanjeev_at_mbu.iisc.ernet.in)
Date: Wed Mar 28 2001 - 02:02:02 CST


Hello,
        I could not get through compilation of all modules (luckily sander
worked) on SP3. It stopped after sometime with the following error. Can
anyone suggest me as to how to circumvent the problem?

The error is cut-n-paste below:

        ../Compile CC utility.c
cc -c -Dsp3 -DISTAR2 -DMASS -DREGNML -DNMLEQ -DMPI -DPOE -DCLINK_PLAIN utility.c
"utility.c", line 411.52: 1506-280 (W) Function argument assignment between types "const unsigned char*" and "int" is not allowed.
"utility.c", line 412.22: 1506-280 (W) Function argument assignment between types "const unsigned char*" and "int" is not allowed.
"utility.c", line 413.52: 1506-280 (W) Function argument assignment between types "const unsigned char*" and "int" is not allowed.
"utility.c", line 414.21: 1506-280 (W) Function argument assignment between types "const unsigned char*" and "int" is not allowed.
"utility.c", line 445.52: 1506-280 (W) Function argument assignment between types "const unsigned char*" and "int" is not allowed.
"utility.c", line 446.22: 1506-280 (W) Function argument assignment between types "const unsigned char*" and "int" is not allowed.
"utility.c", line 447.52: 1506-280 (W) Function argument assignment between types "const unsigned char*" and "int" is not allowed.
"utility.c", line 448.21: 1506-280 (W) Function argument assignment between types "const unsigned char*" and "int" is not allowed.
        ../Compile CC io.c
cc -c -Dsp3 -DISTAR2 -DMASS -DREGNML -DNMLEQ -DMPI -DPOE -DCLINK_PLAIN io.c
        ../Compile CC trajectory.c
cc -c -Dsp3 -DISTAR2 -DMASS -DREGNML -DNMLEQ -DMPI -DPOE -DCLINK_PLAIN trajectory.c
"trajectory.c", line 271.21: 1506-275 (S) Unexpected text 'int' encountered.
"trajectory.c", line 1446.13: 1506-019 (S) Expecting an array or a pointer to object type.
"trajectory.c", line 1446.21: 1506-019 (S) Expecting an array or a pointer to object type.
"trajectory.c", line 1446.29: 1506-019 (S) Expecting an array or a pointer to object type.
"trajectory.c", line 1698.17: 1506-275 (S) Unexpected text 'double' encountered.
"trajectory.c", line 1698.28: 1506-275 (S) Unexpected text 'double' encountered.
"trajectory.c", line 1982.17: 1506-275 (S) Unexpected text 'double' encountered.
"trajectory.c", line 1982.28: 1506-275 (S) Unexpected text 'double' encountered.
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 2.

Stop.