- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi. I recently uninstalled my Intel 8.1 compiler and the Microsoft Platform SDK and reinstalled both. Now I get the following mess when I try to compile and link.
I found the following reference on the Intel site:
I'm having trouble using this information to solve the problem.
Any help/ideas?
Mark
F:RDMSsrc_mark_development
ipstats>ifort ripstats.for /O3 /G2 /link /MD /o
ut:ripstats.exe
Intel Fortran Itanium Compiler for Itanium-based applications
Version 8.1 Build 20040802 Package ID: w_fc_p_8.1.020
Copyright (C) 1985-2004 Intel Corporation. All rights reserved.
ut:ripstats.exe
Intel Fortran Itanium Compiler for Itanium-based applications
Version 8.1 Build 20040802 Package ID: w_fc_p_8.1.020
Copyright (C) 1985-2004 Intel Corporation. All rights reserved.
Microsoft Incremental Linker Version 8.00.40310.39
Copyright (C) Microsoft Corporation. All rights reserved.
Copyright (C) Microsoft Corporation. All rights reserved.
-out:ripstats.exe
-subsystem:console
-entry:mainCRTStartup
/MD
/out:ripstats.exe
ripstats.obj
LINK : warning LNK4044: unrecognized option '/MD'; ignored
LIBC.lib(filter.obj) : error LNK2001: unresolved external symbol __security_cook
ie
LIBC.lib(mantold.obj) : error LNK2001: unresolved external symbol __security_coo
kie
LIBC.lib(strgtold.obj) : error LNK2019: unresolved external symbol __security_co
okie referenced in function .__strgtold12
LIBC.lib(x10fout.obj) : error LNK2001: unresolved external symbol __security_coo
kie
LIBC.lib(tenpow.obj) : error LNK2001: unresolved external symbol __security_cook
ie
LIBC.lib(write.obj) : error LNK2001: unresolved external symbol __security_cooki
e
LIBC.lib(convrtcp.obj) : error LNK2001: unresolved external symbol __security_co
okie
LIBC.lib(resetstk.obj) : error LNK2001: unresolved external symbol __security_co
okie
LIBC.lib(a_cmp.obj) : error LNK2001: unresolved external symbol __security_cooki
e
LIBC.lib(input.obj) : error LNK2001: unresolved external symbol __security_cooki
e
LIBC.lib(mbctype.obj) : error LNK2001: unresolved external symbol __security_coo
kie
LIBC.lib(intrncvt.obj) : error LNK2001: unresolved external symbol __security_co
okie
LIBC.lib(cfout.obj) : error LNK2001: unresolved external symbol __security_cooki
e
LIBC.lib(strcspn.obj) : error LNK2001: unresolved external symbol __security_coo
kie
LIBC.lib(output.obj) : error LNK2001: unresolved external symbol __security_cook
ie
LIBC.lib(a_map.obj) : error LNK2001: unresolved external symbol __security_cooki
e
LIBC.lib(a_str.obj) : error LNK2001: unresolved external symbol __security_cooki
e
LIBC.lib(filter.obj) : error LNK2019: unresolved external symbol .__security_che
ck_cookie referenced in function .FPIeeeToFP128
LIBC.lib(mantold.obj) : error LNK2001: unresolved external symbol .__security_ch
eck_cookie
LIBC.lib(strgtold.obj) : error LNK2001: unresolved external symbol .__security_c
heck_cookie
LIBC.lib(x10fout.obj) : error LNK2001: unresolved external symbol .__security_ch
eck_cookie
LIBC.lib(tenpow.obj) : error LNK2001: unresolved external symbol .__security_che
ck_cookie
LIBC.lib(write.obj) : error LNK2001: unresolved external symbol .__security_chec
k_cookie
LIBC.lib(convrtcp.obj) : error L NK2001: unresolved external symbol .__security_c
heck_cookie
LIBC.lib(resetstk.obj) : error LNK2001: unresolved external symbol .__security_c
heck_cookie
LIBC.lib(a_cmp.obj) : error LNK2001: unresolved external symbol .__security_chec
k_cookie
LIBC.lib(input.obj) : error LNK2001: unresolved external symbol .__security_chec
k_cookie
LIBC.lib(mbctype.obj) : error LNK2001: unresolved external symbol .__security_ch
eck_cookie
LIBC.lib(intrncvt.obj) : error LNK2001: unresolved external symbol .__security_c
heck_cookie
LIBC.lib(cfout.obj) : error LNK2001: unresolved external symbol .__security_chec
k_cookie
-subsystem:console
-entry:mainCRTStartup
/MD
/out:ripstats.exe
ripstats.obj
LINK : warning LNK4044: unrecognized option '/MD'; ignored
LIBC.lib(filter.obj) : error LNK2001: unresolved external symbol __security_cook
ie
LIBC.lib(mantold.obj) : error LNK2001: unresolved external symbol __security_coo
kie
LIBC.lib(strgtold.obj) : error LNK2019: unresolved external symbol __security_co
okie referenced in function .__strgtold12
LIBC.lib(x10fout.obj) : error LNK2001: unresolved external symbol __security_coo
kie
LIBC.lib(tenpow.obj) : error LNK2001: unresolved external symbol __security_cook
ie
LIBC.lib(write.obj) : error LNK2001: unresolved external symbol __security_cooki
e
LIBC.lib(convrtcp.obj) : error LNK2001: unresolved external symbol __security_co
okie
LIBC.lib(resetstk.obj) : error LNK2001: unresolved external symbol __security_co
okie
LIBC.lib(a_cmp.obj) : error LNK2001: unresolved external symbol __security_cooki
e
LIBC.lib(input.obj) : error LNK2001: unresolved external symbol __security_cooki
e
LIBC.lib(mbctype.obj) : error LNK2001: unresolved external symbol __security_coo
kie
LIBC.lib(intrncvt.obj) : error LNK2001: unresolved external symbol __security_co
okie
LIBC.lib(cfout.obj) : error LNK2001: unresolved external symbol __security_cooki
e
LIBC.lib(strcspn.obj) : error LNK2001: unresolved external symbol __security_coo
kie
LIBC.lib(output.obj) : error LNK2001: unresolved external symbol __security_cook
ie
LIBC.lib(a_map.obj) : error LNK2001: unresolved external symbol __security_cooki
e
LIBC.lib(a_str.obj) : error LNK2001: unresolved external symbol __security_cooki
e
LIBC.lib(filter.obj) : error LNK2019: unresolved external symbol .__security_che
ck_cookie referenced in function .FPIeeeToFP128
LIBC.lib(mantold.obj) : error LNK2001: unresolved external symbol .__security_ch
eck_cookie
LIBC.lib(strgtold.obj) : error LNK2001: unresolved external symbol .__security_c
heck_cookie
LIBC.lib(x10fout.obj) : error LNK2001: unresolved external symbol .__security_ch
eck_cookie
LIBC.lib(tenpow.obj) : error LNK2001: unresolved external symbol .__security_che
ck_cookie
LIBC.lib(write.obj) : error LNK2001: unresolved external symbol .__security_chec
k_cookie
LIBC.lib(convrtcp.obj) : error L NK2001: unresolved external symbol .__security_c
heck_cookie
LIBC.lib(resetstk.obj) : error LNK2001: unresolved external symbol .__security_c
heck_cookie
LIBC.lib(a_cmp.obj) : error LNK2001: unresolved external symbol .__security_chec
k_cookie
LIBC.lib(input.obj) : error LNK2001: unresolved external symbol .__security_chec
k_cookie
LIBC.lib(mbctype.obj) : error LNK2001: unresolved external symbol .__security_ch
eck_cookie
LIBC.lib(intrncvt.obj) : error LNK2001: unresolved external symbol .__security_c
heck_cookie
LIBC.lib(cfout.obj) : error LNK2001: unresolved external symbol .__security_chec
k_cookie
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Put the /MD before the /link.
Link Error for Itanium-based Systems
When building for Itanium-based systems only, applications may fail to link with errors such as the following:
LIBC.lib(a_str.obj) : error LNK2001: unresolved external symbol __security_cookie
[...]
LIBC.lib(a_str.obj) : error LNK2001: unresolved external symbol __security_check_cookie
[...]
This problem is due to an inconsistency within some versions of the Microsoft Platform SDK. Intel is working with Microsoft to resolve this issue. To work around the problem, link your application in one of the following ways:
* ifort hello.f90 /MD
* ifort hello.f90 -link bufferoverflowu.lib
* ifort hello.f90 /MT bufferoverflowu.lib
Link Error for Itanium-based Systems
When building for Itanium-based systems only, applications may fail to link with errors such as the following:
LIBC.lib(a_str.obj) : error LNK2001: unresolved external symbol __security_cookie
[...]
LIBC.lib(a_str.obj) : error LNK2001: unresolved external symbol __security_check_cookie
[...]
This problem is due to an inconsistency within some versions of the Microsoft Platform SDK. Intel is working with Microsoft to resolve this issue. To work around the problem, link your application in one of the following ways:
* ifort hello.f90 /MD
* ifort hello.f90 -link bufferoverflowu.lib
* ifort hello.f90 /MT bufferoverflowu.lib
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hazah!!! It works!
Thankx,
Mark

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page