AMBER Archive (2008)

Subject: AMBER: Amber10:Compiling with gcc 2.4.1

From: yongleli (yongleli_at_itcc.nju.edu.cn)
Date: Thu May 15 2008 - 10:36:29 CDT


Dear All:

I have compiled Amber10 on Linux OpenSuSE 10.3 system with gcc 2.4.1, and failed to finish the compilation of amber-tools.

In the gcc 2.4.1 suite, the fortran compiler 'g77' is changed to 'gfortran', and some options
and names of libs are different from gcc 3.x versions too.

I changed g77 to gfortran in configure_at, After typed
'make -f Makefile_at', the report of compiling of amber-tools
like this:

wrttxt.f:(.text+0x3c1): undefined reference to `e_wsfe'
collect2: ld returned 1 exit status
make[1]: *** [mopac] Error 1
make[1]: Leaving directory `/home/yongle/amber10/src/mopac6/src'
 
The compilation terminated when compiling tool 'mopac6'.
And it seems that all the compilations of the tools after that such as 'tleap' are terminated too.
It may result from the modification of names of libs of gfortran.
For there are some Makefiles in each sub-folder of folder 'src',
and when compiling the Makefile they are linked together, I cannot specify every place
needing to be changed in that files. So is there anyone can point out the necessary modifications in the
makefiles for me, or at least point out which options in 'configure' files need to be changed?

yongleli
2008-05-15

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" (in the *body* of the email)
      to majordomo_at_scripps.edu