编译出错
本人菜鸟,在编译一个f90代码时出现以下错误,请各位高手帮忙解决一下:$ make
Loading bmdl ... IPO Error: unresolved : htimer_
Referenced in /tmp/ipo_ifortYrahxH.o
IPO Error: unresolved : fty_
Referenced in /tmp/ipo_ifortYrahxH.o
IPO Error: unresolved : cross_
Referenced in /tmp/ipo_ifortYrahxH.o
IPO: performing multi-file optimizations
IPO: generating object file /tmp/ipo_ifortYrahxH.o
0bmdl.f(47) : (col. 11) remark: LOOP WAS VECTORIZED.
0bmdl.f(76) : (col. 10) remark: LOOP WAS VECTORIZED.
primv.f(302) : (col. 13) remark: LOOP WAS VECTORIZED.
set3d.f(21) : (col. 10) remark: LOOP WAS VECTORIZED.
setup.f(52) : (col. 7) remark: LOOP WAS VECTORIZED.
latt3m.f(65) : (col. 10) remark: LOOP WAS VECTORIZED.
ylmrk.f(84) : (col. 10) remark: LOOP WAS VECTORIZED.
primkr.f(50) : (col. 10) remark: LOOP WAS VECTORIZED.
/opt/intel/fce/9.0/lib/libifcore.a(for_open_proc.o)(.text+0xc0b): In function `for__compute_filename':
: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/opt/intel/fce/9.0/lib/libifcore.a(for_open_proc.o)(.text+0xd3c): In function `for__compute_filename':
: warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/ipo_ifortYrahxH.o(.text+0x1b6): In function `MAIN__':
: undefined reference to `cross_'
/tmp/ipo_ifortYrahxH.o(.text+0x1f7): In function `MAIN__':
: undefined reference to `cross_'
/tmp/ipo_ifortYrahxH.o(.text+0x23: In function `MAIN__':
: undefined reference to `cross_'
/tmp/ipo_ifortYrahxH.o(.text+0x17b5): In function `fhndlr_':
: undefined reference to `htimer_'
/tmp/ipo_ifortYrahxH.o(.text+0xd9a3): In function `madl3m_':
: undefined reference to `fty_'
/tmp/ipo_ifortYrahxH.o(.text+0xd9bf): In function `madl3m_':
: undefined reference to `fty_'
/tmp/ipo_ifortYrahxH.o(.text+0xdd49): In function `primkr_':
: undefined reference to `cross_'
/tmp/ipo_ifortYrahxH.o(.text+0xdd8a): In function `primkr_':
: undefined reference to `cross_'
/tmp/ipo_ifortYrahxH.o(.text+0xddcb): In function `primkr_':
: undefined reference to `cross_'
make: *** Error 1
万分感谢! 是不是什么库连接的时候没加上?
页:
[1]