linking error when using geev function
"CIHAN NADIR KAPLAN" <[email protected]> Sat, 14 Apr 2007 17:02:14 +0300
| Newsgroups | gmane.comp.lib.mtl.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, On cygwin (gcc 3.4.4), using MTL 2.1.2-23, I succesfully compiled all of the test programs. In my own program, however, I use geev function, and I realized that even if the program is compiled, there is a link error. The same error arises in the geev.cc example program as well. When configuring MTL, I used the --with-lapack="-llapack -lblas -lg2c", too, but this didn't solve my problem (lapack libraries are properly seen when running ./configure). How can I solve this problem? Any help will be greatly appreciated... Following lines are the error in question: CIKAPLAN@noooo /cygdrive/d/downloads/c++/mtl/mtl-2.1.2-23.tentative/mtl-2.1.2-23/contrib/examples $ g++ geev.cc /cygdrive/c/DOCUME~1/CIKAPLAN/LOCALS~1/Temp/cc5eR3QS.o:geev.cc:(.text$_ZN19mtl_lapack_dispatch4geevERKcS1_RKiPdS3_PSt7complexIdES4_S3_S4_S3_Ri[mtl_lapack_dispatch::geev(char const&, char const&, int const&, double*, int const&, std::complex<double>*, double*, int const&, double*, int const&, int&)]+0xad): undefined reference to `_dgeev_' collect2: ld returned 1 exit status Regards Nadir _______________________________________________ This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/