Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LNK2005

38 views
Skip to first unread message

GDaniel

unread,
Nov 29, 2004, 11:27:05 AM11/29/04
to
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]

unread,
Nov 29, 2004, 12:02:50 PM11/29/04
to
"GDaniel" <GDa...@discussions.microsoft.com> wrote in message
news:67BAF0BC-C977-44C8...@microsoft.com...
> 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

unread,
Nov 30, 2004, 3:35:01 AM11/30/04
to
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........

nomen

unread,
Feb 7, 2013, 3:55:03 AM2/7/13
to
GDaniel wrote on 11/30/2004 03:35 ET :
> 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
>
> "Steve Friedl [MVP/Security]" wrote:
>
>> "GDaniel" wrote in message
>> news:
>> > 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
>>
>>
>>
>>
>>
>
Hi GDaniel:

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

Thanks in advance!
0 new messages