From: Marc V. <vai...@fa...> - 2008-08-08 02:30:45
|
On Thu, Aug 07, 2008 at 05:13:52PM -0400, Marc Vaillant wrote: > Has anyone successfully used intel's math kernel library from mingw? > If you're unfamiliar with mkl, it's a fortran library so their shouldn't > be any ABI issues, right? > > I'm linking against the stub libs from mkl (-lmkl_c_dll -llibguide40) > which resolves the symbols I'm using. Left are undefined references to > __chkstk: > > ../../../m/dev/Resources/mkl/lib/mkl_c_dll.lib(_serv/iface/load_dll.obj):load_dll_iface.c:(.text[_mkl_cfg_file]+0xe): undefined reference to `__chkstk' > ../../../m/dev/Resources/mkl/lib/mkl_c_dll.lib(_serv/iface/load_dll.obj):load_dll_iface.c:(.text[_remove_space]+0xd): undefined reference to `__chkstk' > > I've seen undefined reference issues for __chkstk with no real solution > other than to grab chkstk.obj from MSVC6 and link to it. Any help is > greatly appreciated. Well, turned out that grabbing chkstk.obj from VS 2003 and linking to it worked for me. Works beautifully so far. New to mingw and loving it! Marc |