1)g77が見つからない。
g77はすでに古いので、代わりに gfortran を使うように設定を変更する。
configure するときに使う gnu ファイルを書き換える
> diff gnu gnu.modified 18,19c18,21 < FC= g77 < FFLAGS= -O2 -fno-automatic -fno-second-underscore --- > #FC= g77 > FC= gfortran > #FFLAGS= -O2 -fno-automatic -fno-second-underscore > FFLAGS= -O2 -fno-automatic -fno-second-underscore -ff2c
2)> amber_typer.cpp: In function ‘char* white_line(char*)’:
などのエラーが出る。
コンパイラーのバージョンアップに伴い、コンパイルが通らなくなっているので、
以下のヘッダをソースファイルのはじめに書き加える。
参考URL:
http://blur.compbio.ucsf.edu/pipermail/dock-fans/2009-May/002072.html
ファイル名 | 追加するヘッダ |
amber_typer.cpp |
#include <stdio.h> #include <limits.h> |
conf_gen.cpp |
#include <limits.h> |
dockmol.cpp |
#include <string.h> |
orient.cpp |
#include <string.h> |
score.cpp |
#include <string.h> |
simplex.cpp |
#include <string.h> |
sphere.cpp |
#include <stdio.h> #include <string.h> |
utils.cpp |
#include <string.h> |
3)score.c: undefined reference to `get_index_' や
score.o(.text+0x1262):score.c: undefined reference to `get_value_'
といったエラーが出る。
src/grid/gridpoint.f の中にある get_index_ や get_value_ を
それぞれ get_index と get_value に書き換える。
参考URL:
http://shoichetlab.compbio.ucsf.edu/pipermail/dock-fans/2005-December/000523.html
title Windows 95/98/NT/2000 root (hd0,0) makeactive chainloader +1を書き足して置けばいいのだが。
title Windows 95/98/NT/2000 root (hd0,1) makeactive chainloader +1としたら、windowsが正常に起動するようになった。