***  For details on how to be removed from this list visit the  ***
***          CCP4 home page http://www.ccp4.ac.uk         ***


Compiling sc after the patch (g77) fails on linux, but appears to work on os x with gfortran.

g77 -O -w -fno-second-underscore -fno-globals -c -o /usr/local/xtal/ ccp4-6.0.1/src/sc.o /usr/local/xtal/ccp4-6.0.1/src/sc_/sc.f
/usr/local/xtal/ccp4-6.0.1/src/sc_/sc.f: In subroutine `readpdb':
/usr/local/xtal/ccp4-6.0.1/src/sc_/sc.f:247:
            resseqno(n_atoms) = ' '
            ^
Invalid declaration of or reference to symbol `resseqno' at (^) [initially seen at (^)]
/usr/local/xtal/ccp4-6.0.1/src/sc_/sc.f:251:
                resseqno(n_atoms)(ichar:ichar) = resno(jchar:jchar)
                1                2
Invalid use at (2) of substring operator on (1)
/usr/local/xtal/ccp4-6.0.1/src/sc_/sc.f: In subroutine `commands':
/usr/local/xtal/ccp4-6.0.1/src/sc_/sc.f:491:
               if(match(resseqno(i),r1) .and. chain(i) .eq. ch1) then
                        ^
Invalid declaration of or reference to symbol `resseqno' at (^) [initially seen at (^)]
/usr/local/xtal/ccp4-6.0.1/src/sc_/sc.f: In subroutine `writepdb':
/usr/local/xtal/ccp4-6.0.1/src/sc_/sc.f:786:
        .                 chain(i),'  Resno ',resseqno(i)
                                              ^
Invalid declaration of or reference to symbol `resseqno' at (^) [initially seen at (^)]
make: *** [sc] Error 1


When I reverse the patch, it compiles.


Reply via email to