When I'm trying to build my driver, I have lnk4210 warning (driverentry.obj
: warning LNK4210: .CRT section exists; there may be unhandled static
initializers or terminators). Description of this error tells my nothing.
What can I do to corect my source code ? What casuss this worning ?

After described worning I have error: LINK : error LNK1218: warning treated
as error; no output file generated

Re: lnk4210 warning when building device driver by Gary

Gary
Wed Jun 23 08:38:29 CDT 2004

Did you open a checked or free build environment and start build from the
command line?

--
Gary G. Little
Seagate Technologies, LLC

"Rados3aw Michalski" <radoslaw.michalski@tpi.remove.pl> wrote in message
news:uw6LGcQWEHA.4032@TK2MSFTNGP11.phx.gbl...
> When I'm trying to build my driver, I have lnk4210 warning
(driverentry.obj
> : warning LNK4210: .CRT section exists; there may be unhandled static
> initializers or terminators). Description of this error tells my nothing.
> What can I do to corect my source code ? What casuss this worning ?
>
> After described worning I have error: LINK : error LNK1218: warning
treated
> as error; no output file generated
>
>



Re: lnk4210 warning when building device driver by Rados3aw

Rados3aw
Wed Jun 23 09:06:51 CDT 2004

checked W2k build from W2003 DDK

"Gary G. Little" <gary.g.little.nospam@seagate.com> wrote in message
news:pJfCc.2520$em3.1570@newssvr23.news.prodigy.com...
> Did you open a checked or free build environment and start build from the
> command line?
>
> --
> Gary G. Little
> Seagate Technologies, LLC
>
> "Rados3aw Michalski" <radoslaw.michalski@tpi.remove.pl> wrote in message
> news:uw6LGcQWEHA.4032@TK2MSFTNGP11.phx.gbl...
> > When I'm trying to build my driver, I have lnk4210 warning
> (driverentry.obj
> > : warning LNK4210: .CRT section exists; there may be unhandled static
> > initializers or terminators). Description of this error tells my
nothing.
> > What can I do to corect my source code ? What casuss this worning ?
> >
> > After described worning I have error: LINK : error LNK1218: warning
> treated
> > as error; no output file generated
> >
> >
>
>



Re: lnk4210 warning when building device driver by Doron

Doron
Wed Jun 23 10:51:57 CDT 2004

are you using c++ and declaring global variables?

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Rados3aw Michalski" <radoslaw.michalski@tpi.remove.pl> wrote in message
news:ul66WtSWEHA.2840@TK2MSFTNGP11.phx.gbl...
> checked W2k build from W2003 DDK
>
> "Gary G. Little" <gary.g.little.nospam@seagate.com> wrote in message
> news:pJfCc.2520$em3.1570@newssvr23.news.prodigy.com...
> > Did you open a checked or free build environment and start build from
the
> > command line?
> >
> > --
> > Gary G. Little
> > Seagate Technologies, LLC
> >
> > "Rados3aw Michalski" <radoslaw.michalski@tpi.remove.pl> wrote in message
> > news:uw6LGcQWEHA.4032@TK2MSFTNGP11.phx.gbl...
> > > When I'm trying to build my driver, I have lnk4210 warning
> > (driverentry.obj
> > > : warning LNK4210: .CRT section exists; there may be unhandled static
> > > initializers or terminators). Description of this error tells my
> nothing.
> > > What can I do to corect my source code ? What casuss this worning ?
> > >
> > > After described worning I have error: LINK : error LNK1218: warning
> > treated
> > > as error; no output file generated
> > >
> > >
> >
> >
>
>



Re: lnk4210 warning when building device driver by Rados3aw

Rados3aw
Wed Jun 23 11:13:39 CDT 2004

This is stream driver and I use like in Sample static global variables
(default foramt and etc.)



Re: lnk4210 warning when building device driver by nospam

nospam
Thu Jun 24 08:32:19 CDT 2004

Create the .MAP file and check what's inside the CRT sections. You may need
to switch off the linker option that treats warnings as errors.

"Rados3aw Michalski" <radoslaw.michalski@tpi.remove.pl> wrote in message
news:uw6LGcQWEHA.4032@TK2MSFTNGP11.phx.gbl...
> When I'm trying to build my driver, I have lnk4210 warning
(driverentry.obj
> : warning LNK4210: .CRT section exists; there may be unhandled static
> initializers or terminators). Description of this error tells my nothing.
> What can I do to corect my source code ? What casuss this worning ?
>
> After described worning I have error: LINK : error LNK1218: warning
treated
> as error; no output file generated
>
>



Re: lnk4210 warning when building device driver by Rados3aw

Rados3aw
Thu Jun 24 04:18:58 CDT 2004


"Rados3aw Michalski" <radoslaw.michalski@tpi.remove.pl> wrote in message
news:uw6LGcQWEHA.4032@TK2MSFTNGP11.phx.gbl...
> When I'm trying to build my driver, I have lnk4210 warning
(driverentry.obj
> : warning LNK4210: .CRT section exists; there may be unhandled static
> initializers or terminators). Description of this error tells my nothing.
> What can I do to corect my source code ? What casuss this worning ?
>
> After described worning I have error: LINK : error LNK1218: warning
treated
> as error; no output file generated
>
>

I found error in my source code. I use bad construction to declare and
initialize values for static KSPIN_MEDIUM array.