Discussion:
LNK2005
(too old to reply)
GDaniel
2004-11-29 16:27:05 UTC
Permalink
Raw Message
IBCMT.lib(jmpuwind.obj) : error LNK2005: _local_unwind
already defined in kernel32.lib(KERNEL32.dll)

I checked all the points from MSDN 2005 regarding LNK2005
and everything seems to be fine.
Forcing linking with /FORCE:MULTIPLE is OK... the program
behaves as expected.
However I do not want to make a production release this way.
So my question is what should I try about this?

Any suggestion is welcome
, Regards
Daniel
Steve Friedl [MVP/Security]
2004-11-29 17:02:50 UTC
Permalink
Raw Message
LIBCMT.lib(jmpuwind.obj) : error LNK2005: _local_unwind
already defined in kernel32.lib(KERNEL32.dll)
Which compiler and Platform SDK are you using? I can't find "_local_unwind"
in any of the C Runtime libraries (though there is a _local_unwind2), and
kernel32.lib doesn't have anything that looks like this at all (this in VC6
and .NET2003).

Steve
--
Steve Friedl -- Tustin, California USA -- www.unixwiz.net
Unix Wizard -- Microsoft MVP/Security -- I speak for me only
GDaniel
2004-11-30 08:35:01 UTC
Permalink
Raw Message
Actually I am using VStudio 2005 and I am trying to compile a project for
AMD64. I posted also the question in beta forums but nobody replied :-( .
So I am using a couple of __try/__finally that seem to be different on AMD64.
However I guess I'm missing something........
Post by Steve Friedl [MVP/Security]
LIBCMT.lib(jmpuwind.obj) : error LNK2005: _local_unwind
already defined in kernel32.lib(KERNEL32.dll)
Which compiler and Platform SDK are you using? I can't find "_local_unwind"
in any of the C Runtime libraries (though there is a _local_unwind2), and
kernel32.lib doesn't have anything that looks like this at all (this in VC6
and .NET2003).
Steve
--
Steve Friedl -- Tustin, California USA -- www.unixwiz.net
Unix Wizard -- Microsoft MVP/Security -- I speak for me only
nomen
2013-02-07 08:55:03 UTC
Permalink
Raw Message
GDaniel wrote on 11/30/2004 03:35 ET
Post by GDaniel
Actually I am using VStudio 2005 and I am trying to compile a project fo
AMD64. I posted also the question in beta forums but nobody replied :-(
So I am using a couple of __try/__finally that seem to be different on AMD64
However I guess I'm missing somethin
"GDaniel" wrote in messag
news
LIBCMT.lib(jmpuwind.obj) : error LNK2005: _local_unwin
already defined in kernel32.lib(KERNEL32.dll
Which compiler and Platform SDK are you using? I can't fin
"_local_unwind
in any of the C Runtime libraries (though there is a _local_unwind2), an
kernel32.lib doesn't have anything that looks like this at all (this in VC
and .NET2003)
Stev
Steve Friedl -- Tustin, California USA -- www.unixwiz.ne
Unix Wizard -- Microsoft MVP/Security -- I speak for me onl
Hi GDaniel

I know this is an very old post but I have exactly the same problem
Did you solve this

Thanks in advance!

Loading...