- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
I am getting the same kind oferror that someone posted earlier and didn't get a response to:
% make
/lib/cpp -fpp -P -Dmpi=0 -Dsgi=0 -Dlinux=1 -Dibm=0 -Dmac_osx=0 ../source/kinds.F > kinds.F
/opt/intel/bin/ifort -CB -O -FR kinds.F
/opt/intel/lib/for_main.o(.text+0x1c): In function `main':
: undefined reference to `MAIN__'
make: *** [kinds.o] Error 1
/lib/cpp -fpp -P -Dmpi=0 -Dsgi=0 -Dlinux=1 -Dibm=0 -Dmac_osx=0 ../source/kinds.F > kinds.F
/opt/intel/bin/ifort -CB -O -FR kinds.F
/opt/intel/lib/for_main.o(.text+0x1c): In function `main':
: undefined reference to `MAIN__'
make: *** [kinds.o] Error 1
Please let me know if you have an idea of how I can fix this!!!
Thanks!
コピーされたリンク
1 返信
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
The linker doesn't see a Fortran main program in your file. If you want compile-only, add -c. If you want pre-process-only, use only pre-processing flags. If there should be a main program, check your pre-processed source.
