From: Chris Dor� on

Hey all,

I just installed DDK build 3790.1830 (from DDC) and I am getting the
following linker error when I use the Server 2003 build environments to
build my driver's property-page DLL.

BufferOverflowU.lib(gs_support.obj) : warning LNK4210: .CRT section exists;
there may be unhandled static initializers or terminators

The 2000 and XP build environments do not result in this error, and neither
do _any_ of the 3790 build environments.

Any ideas?

Thanks, Chris



From: Marco Peretti on
Chris,

I have had the same problem a while ago: try to add the following to your
sources file:

LINKER_FLAGS=$(LINKER_FLAGS) /IGNORE:4210

HTH
--
marco [alla] neovalens [punto] com

[ www.neovalens.com ]
----


"Chris Dorý" <cdore.connecttech.com> wrote in message
news:O18vQStaFHA.3384(a)TK2MSFTNGP09.phx.gbl...
>
> Hey all,
>
> I just installed DDK build 3790.1830 (from DDC) and I am getting the
> following linker error when I use the Server 2003 build environments to
> build my driver's property-page DLL.
>
> BufferOverflowU.lib(gs_support.obj) : warning LNK4210: .CRT section
> exists;
> there may be unhandled static initializers or terminators
>
> The 2000 and XP build environments do not result in this error, and
> neither
> do _any_ of the 3790 build environments.
>
> Any ideas?
>
> Thanks, Chris
>
>
>


From: Chris Dor� on
Hi Marco,

Thanks for your suggestion. Adding the /ignore does remove the warning and
allow the DLL to be built. However I can't in good conscience just do that.

Regards, Chris


"Marco Peretti" <marcoper(a)newsgroup.nospam> wrote in message
news:eK%23Zmr3aFHA.2900(a)TK2MSFTNGP15.phx.gbl...
> Chris,
>
> I have had the same problem a while ago: try to add the following to your
> sources file:
>
> LINKER_FLAGS=$(LINKER_FLAGS) /IGNORE:4210
>
> HTH
> --
> marco [alla] neovalens [punto] com
>
> [ www.neovalens.com ]
> ----
>
>
> "Chris Dorý" <cdore.connecttech.com> wrote in message
> news:O18vQStaFHA.3384(a)TK2MSFTNGP09.phx.gbl...
>>
>> Hey all,
>>
>> I just installed DDK build 3790.1830 (from DDC) and I am getting the
>> following linker error when I use the Server 2003 build environments to
>> build my driver's property-page DLL.
>>
>> BufferOverflowU.lib(gs_support.obj) : warning LNK4210: .CRT section
>> exists;
>> there may be unhandled static initializers or terminators
>>
>> The 2000 and XP build environments do not result in this error, and
>> neither
>> do _any_ of the 3790 build environments.
>>
>> Any ideas?
>>
>> Thanks, Chris
>>
>>
>>
>
>


From: Chris Dor� on

DLLENTRY=DllMain is the culprit! Removing it from the sources file fixes
the problem.

....Chris


"Chris Dorý" <cdore.connecttech.com> wrote in message
news:O18vQStaFHA.3384(a)TK2MSFTNGP09.phx.gbl...
>
> Hey all,
>
> I just installed DDK build 3790.1830 (from DDC) and I am getting the
> following linker error when I use the Server 2003 build environments to
> build my driver's property-page DLL.
>
> BufferOverflowU.lib(gs_support.obj) : warning LNK4210: .CRT section
> exists;
> there may be unhandled static initializers or terminators
>
> The 2000 and XP build environments do not result in this error, and
> neither
> do _any_ of the 3790 build environments.
>
> Any ideas?
>
> Thanks, Chris
>
>
>


From: "marco" <marco alla neovalens dot on
thanks for sharing the info!

ps:I had a whole different issue to fix and that is why I could just ignore
the warning.

Marco

"Chris Dorý" <cdore.connecttech.com> wrote in message
news:u8BH5vDbFHA.3932(a)TK2MSFTNGP12.phx.gbl...
>
> DLLENTRY=DllMain is the culprit! Removing it from the sources file fixes
> the problem.
>
> ...Chris
>
>
> "Chris Dorý" <cdore.connecttech.com> wrote in message
> news:O18vQStaFHA.3384(a)TK2MSFTNGP09.phx.gbl...
>>
>> Hey all,
>>
>> I just installed DDK build 3790.1830 (from DDC) and I am getting the
>> following linker error when I use the Server 2003 build environments to
>> build my driver's property-page DLL.
>>
>> BufferOverflowU.lib(gs_support.obj) : warning LNK4210: .CRT section
>> exists;
>> there may be unhandled static initializers or terminators
>>
>> The 2000 and XP build environments do not result in this error, and
>> neither
>> do _any_ of the 3790 build environments.
>>
>> Any ideas?
>>
>> Thanks, Chris
>>
>>
>>
>
>


 | 
Pages: 1
Prev: Direct show Filter
Next: Adding printer ports