Click here to Skip to main content
14,271,310 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hi All


I have problem in my code the errors are

libf2c.lib(wref.obj) : error LNK2001: unresolved external symbol ___security_cookie
libf2c.lib(endfile.obj) : error LNK2001: unresolved external symbol ___security_cookie
lapack.lib(ilaenv.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
libf2c.lib(open.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
libf2c.lib(wref.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
libf2c.lib(endfile.obj) : error LNK2001: unresolved external symbol 
@__security_check_cookie@4


libf2c.lib(fmt.obj) : error LNK2001: unresolved external symbol __imp____iob_func

i am using "libf2c.lib" and "lapack.lib" in my code . i dont have the code of these lib files
by calling its different functions i got these security cookie errors . these errors do not come if i use these lib files in the Visual studio 2008 or visual studio 2010 C++.


and also


libf2c.lib(fmt.obj) : error LNK2001: unresolved external symbol __imp____iob_func

this error also come on any function of lib only come in VC6.0

not in visual studio C++

how to resolve the issue i have to use VC 6.0

not change the compiler

Plz Help
Posted

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

The libraries were probably build with VC 2008 (as noted here: http://icl.cs.utk.edu/lapack-for-windows/clapack/[^]). So they can't be used with an older VC version.

The solution is to rebuild the libraries with VC 6 (see the above link). But it may be necessary to edit the project file for VC6.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month



CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100