Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All


I have problem in my code the errors are

VB
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
Updated 22-Jun-20 21:09pm

1 solution

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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900