I was trying to compile a set of program using ifort and received the following error at the final linking stage:
lapack_single/my/test_psvd.o(.text+0xa52): In function `MAIN__': : undefined reference to `s_wsle' lapack_single/my/test_psvd.o(.text+0xa82): In function `MAIN__': : undefined reference to `do_lio'
Here are just some of the lines in the error message, there are more than 20 such lines stating the similar problem. test_psvd.f is the main program. My calling sequence is ifort -o test.out when I replaced ifort with g77, I can link just fine and executable test.out is produced, so I am sure that I incluced all the object files. Apparently, this is a problem with ifort. Does any one have any suggestion how to get around this?