Re: amber-developers: Re: More sun issues

From: Scott Brozell <sbrozell.scripps.edu>
Date: Mon, 27 Mar 2006 16:10:12 -0700

Hi,

6.
cc -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DSYSV -o ptraj.o
ptraj.c
"ptraj.c", line 4040: syntax error before or at: int

  if ( outInfo->les_action != LES_NONE && outInfo->les_status == LES_READY
) {
    outInfo->les_status = LES_DONE;
    int natomCL = lesSize( atoms );

    double* xrep = safe_malloc( sizeof( double ) * natomCL );
    double* yrep = safe_malloc( sizeof( double ) * natomCL );
    double* zrep = safe_malloc( sizeof( double ) * natomCL );

This is another old compiler issue; in ANSI C99 declarations do not
have to be at the top of the block.
cc: WorkShop Compilers 5.0 98/12/15 C 5.0


7.
"translate.c", line 48: warning: syntax error: empty declaration

int at1 = -99999;;


8.
f90 -c -O2 -free -o amoeba_parm.o amoeba_parm.f

       AM_PARM_write_pitorsion_params,AM_PARM_write_stretchbend_params, &
                                      ^
"amoeba_parm.f", Line = 150, Column = 39: ERROR: Identifier length exceeds
the maximum of 31 characters.

       AM_PARM_get_dyn,AM_PARM_check_atom_num_consistency, &
                       ^
"amoeba_parm.f", Line = 154, Column = 24: ERROR: Identifier length exceeds
the maximum of 31 characters.

I shortened these and the build continued, but
this sun machine is down for scheduled maintenance now.
Maybe theyll upgrade the compilers ;-)

Scott
Received on Wed Apr 05 2006 - 23:49:35 PDT
Custom Search