security_cookie未解决的符号 [英] security_cookie unresolved symbol

查看:75
本文介绍了security_cookie未解决的符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual C ++ .NET(V7)以及SDK的beta版本,因此我可以使用x64(AMD64)编译器。我启动了Win Svr 2003 x64 Build Env(零售版,
。我还修改了项目,因此它将目标文件放在

其适当的目标文件夹中。问题是,当我构建我的项目时,我得到了

security_cookie的未定义符号的链接错误。如果我使用x86环境构建相同的

项目一切都很好。


什么库是security_cookie或如何解决这个未解决的外部
symbo errorl?


谢谢,


Rick

I''m using Visual C++ .NET (V7) along with the beta version of the SDK so I
can use x64 (AMD64) compiler. I launch a Win Svr 2003 x64 Build Env (Retail,
PreRelease) window then issue a devenv/useenv at the command prompt to start
the .NET IDE. I also modifed the project so it places the target files in
their approprate target folder. The problem is when I build my project I get
a link error of undefined symbol for security_cookie. If I build the same
project using the x86 environments all is fine.

What library is security_cookie in or how do I fix this unresolved external
symbo errorl?

Thanks,

Rick

推荐答案

嗨瑞克,
Hi Rick,
我正在使用Visual C ++ .NET(V7)以及SDK的测试版,所以我可以使用x64 (AMD64)编译器。我启动Win Svr 2003 x64 Build Env
(零售,预发布)窗口,然后在命令提示符处发出devenv / useenv以进行.NET IDE。我还修改了项目,因此它将目标文件放在
启动它们适当的目标文件夹。
I''m using Visual C++ .NET (V7) along with the beta version of the SDK so I
can use x64 (AMD64) compiler. I launch a Win Svr 2003 x64 Build Env (Retail,PreRelease) window then issue a devenv/useenv at the command prompt to
the .NET IDE. I also modifed the project so it places the target files in
start their approprate target folder.




窗口中为命令行构建设置

构建环境,但不适用于VS.NET IDE。它不会自动配置VS.NET IDE的

设置来构建64位应用程序,而且我不是完全清楚什么是合适的你修改过的目标文件夹了吗?


此外,Visual C ++ 2003的编译器并不完全支持编译针对AMD64处理器的应用程序。 Visual C ++ 2005(Whidbey)

将包括完全支持的编译器,用于定位AMD64和

Itanium。因此,我建议您在命令行中构建64位应用程序

,然后它将使用您的

64位SDK包中的相应编译器和库。


顺便说一句,security_cookie在VC运行时库中定义,

,如MSVCRTD.LIB和MSVCRT.LIB。

谢谢!


此致,


Gary Chang

微软社区支持

-------------- ------

安全! ?§C www.microsoft.com/security

注册访问MSDN托管新闻组!
http://support.microsoft.com/default...sdn/nospam.asp

& SD = msdn


该帖子是按原样提供的。没有保证,也没有授予任何权利。



AFAIK, the Windows Server 2003 64-Bit Build Environment is used to set the
build environment for the command-line building in its opening console
window, but not for the VS.NET IDE. It will not configure the VS.NET IDE''s
setting for building 64-bit application automatically, and I am not
entirely clear about what''s the appropriate target folder you modified?

And besides, the Visual C++ 2003''s compiler is not fully support compiling
the application targeting AMD64 processor; the Visual C++ 2005 ("Whidbey")
will include fully supported compilers for targeting both AMD64 and
Itanium. So I suggest you build your 64-Bit application in the command-line
and then it will use the corresponding compiler and libraries from your
64-Bit SDK package.

By the way, the "security_cookie" is defined in the VC run-time library,
such as MSVCRTD.LIB and MSVCRT.LIB.
Thanks!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ?§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default...sdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.


Gary,


我按照
http://www.devx.com/amd/Article/ 21313/2046 设置VS以允许在IDE中构建

x64应用程序。我修改目标文件夹的意思是我为
定义了我自己的AMD64版本的构建配置并设置了目标所以

我不会得到任何x86重叠目标文件夹。作为AMD64

配置的一部分,我将链接器设置为/ machine:amd64。它使用amd64编译器

和链接器,因此除了未解析的符号外似乎有效。当我

添加MSVCRTD.LIB或MSVCRT.LIB时,我仍然无法获得错误。


我假设我必须创建一个make文件做你的建议(建立在

命令行),但不幸的是.NET 2003不再导出make文件。


Gary Chang [MSFT] " <,V - ****** @ online.microsoft.com>在消息中写道

news:jd ************** @ TK2MSFTNGXA01.phx.gbl ...
Gary,

I followed the article posted at
http://www.devx.com/amd/Article/21313/2046 to set up VS to allow building an
x64 app within the IDE. What I mean by modifying the target folder is that I
defined my own build configuration for the AMD64 build and set the target so
I would not get any x86 overlap in the target folder. As part of the AMD64
configuration I set the linker to /machine:amd64. It uses the amd64 compiler
and linker so that seems to work except for the unresolved symbol. When I
add MSVCRTD.LIB or MSVCRT.LIB it does not help I still get the error.

I assume I have to create a make file to do what you suggest (build on
the command line), but unfortunately .NET 2003 no longer exports make files.

"Gary Chang[MSFT]" <v-******@online.microsoft.com> wrote in message
news:jd**************@TK2MSFTNGXA01.phx.gbl...
Hi Rick,
Hi Rick,
我正在使用Visual C ++ .NET(V7)以及SDK的beta版本,因此我可以使用x64(AMD64)编译器。我启动了Win Svr 2003 x64 Build Env
I''m using Visual C++ .NET (V7) along with the beta version of the SDK so I
can use x64 (AMD64) compiler. I launch a Win Svr 2003 x64 Build Env


(零售,


(Retail,

PreRelease)窗口,然后在命令提示符处发出devenv / useenv以进行.NET IDE 。我还修改了项目,因此它将目标文件放在
启动它们适当的目标文件夹。
PreRelease) window then issue a devenv/useenv at the command prompt to
the .NET IDE. I also modifed the project so it places the target files in
start their approprate target folder.



AFAIK,Windows Server 2003 64位构建环境用于设置
在其打开的控制台窗口中构建命令行构建环境,但不适用于VS.NET IDE。它不会自动配置VS.NET IDE的设置以构建64位应用程序,而且我不完全清楚你修改的适当目标文件夹是什么?

此外,Visual C ++ 2003的编译器并不完全支持编译面向AMD64处理器的应用程序; Visual C ++ 2005(Whidbey)将包括完全支持的编译器,用于同时针对AMD64和Itanium。所以我建议你在
命令行中构建你的64位应用程序然后它将使用你的64位SDK包中相应的编译器和库。
<顺便说一下,security_cookie是指在VC运行时库中定义,如MSVCRTD.LIB和MSVCRT.LIB。

谢谢!

祝你好运,
< Gary Chang
微软社区支持
--------------------
获得安全! ?§C www.microsoft.com/security
注册访问MSDN托管新闻组!
http: //support.microsoft.com/default...sdn/nospam.asp
& SD = msdn

此帖子按原样提供。没有保证,也没有授予
权利。



AFAIK, the Windows Server 2003 64-Bit Build Environment is used to set the
build environment for the command-line building in its opening console
window, but not for the VS.NET IDE. It will not configure the VS.NET IDE''s
setting for building 64-bit application automatically, and I am not
entirely clear about what''s the appropriate target folder you modified?

And besides, the Visual C++ 2003''s compiler is not fully support compiling
the application targeting AMD64 processor; the Visual C++ 2005 ("Whidbey")
will include fully supported compilers for targeting both AMD64 and
Itanium. So I suggest you build your 64-Bit application in the
command-line
and then it will use the corresponding compiler and libraries from your
64-Bit SDK package.

By the way, the "security_cookie" is defined in the VC run-time library,
such as MSVCRTD.LIB and MSVCRT.LIB.
Thanks!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ?§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default...sdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no
rights.



嗨瑞克
我跟着文章发布于
http://www.devx.com/ amd / Article / 21313/2046 设置
VS以允许在IDE中构建x64应用程序。
...
I followed the article posted at
http://www.devx.com/amd/Article/21313/2046 to set up
VS to allow building an x64 app within the IDE.
...




在这种情况下,我建议你可以将以下的lib添加到你的程序的

链接中,看看它对你有用吗?


%MsSDK%\ Lib \ AMD64 \ bufferoverfl-owu.lib


谢谢!


祝你好运,
< br $>
Gary Chang

微软社区支持

--------------------

安全! ?§C www.microsoft.com/security

注册访问MSDN托管新闻组!
http://support.microsoft.com/default...sdn/nospam.asp

& SD = msdn


该帖子是按原样提供的。没有保证,也没有授予任何权利。



In this scenario, I suggest you can add the following lib to your program''s
link, to see does it work for you?

%MsSDK%\Lib\AMD64\bufferoverfl-owu.lib

Thanks!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ?§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default...sdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.


这篇关于security_cookie未解决的符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆