> I am trying to compile the following, but i got some annoying error > which i can't resolve. I appreciate any help in this regard.
> f77 src/main2.o src/matrix2.o src/read2.o -L./lib -llapack_SUN4SOL2 > -lblas_SUN4SOL2 -o transient.ex > Undefined first referenced > symbol in file > __do_f_out_pv ./lib/ > liblapack_SUN4SOL2.a(xerbla.o) > __s_wsFe_pv ./lib/ > liblapack_SUN4SOL2.a(xerbla.o) > __e_wsfe_pv ./lib/ > liblapack_SUN4SOL2.a(xerbla.o) > ld: fatal: Symbol referencing errors. No output written to > transient.ex > *** Error code 1 > make: Fatal error: Command failed for target `transient.ex'
It looks as if your liblapack was compiled with a different compiler from the "f77" you are using. That is unlikely to work. If you can't find lapack built with your compiler, you could build from sources. As you haven't said what you mean by f77, what platform you have, and the like, it will be difficult to help.