Problem with compilation of AMBER on IBM Power3 SP

From: Eric Aubanel <aubanel_at_unb.ca>
Date: Thu 13 Sep 2001 17:05:50 -0300

I've run into a problem compiling AMBER 6.0 on our IBM Power3 SP, running
AIX 4.3.3, XL Fortran 7.1, VisualAge C 5.0. I obtained the machine file for our
machine from the Mail Reflector Archive (March 24, 2001). I get the error
below during compilation. Can anyone help?

Eric Aubanel

        ../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.
Dr. Eric Aubanel, Research Associate
Advanced Computational Research Laboratory
Faculty of Computer Science, University of New Brunswick
Phone: (506) 458-7268 ; Fax: (506) 453-3566
http://www.cs.unb.ca/staff/aubanel
Received on Thu Sep 13 2001 - 13:05:50 PDT
Custom Search