Problem of __chkstk !!

Hi friends,

Thanx for your valuable suggestion for my earlier query.
I am facing another problem related with Export driver and NDIS miniport
driver.
I hav written one export driver to be used by NDIS miniport driver. I have
included the .lib of the export drive in the miniport driver and called some
of the exported functions…
When I built the NDIS miniport driver with lib included, compilation is
going through fine but while linking its saying
Undefined symbol __chkstk !! Any idea why its cribbing for that ??

Thanx in advance
Gopikrishna

----- Original Message -----
From: Gopikrishna
To: NT Developers Interest List < >
Sent: Monday, October 09, 2000 11:18 AM
Subject: how to execute a program at boot time before login

> Hi,
>
> Can I execute any program at the boot time (after all the
> network drivers load) before user logins ??
> (meaning, it should not be under any user context…) in Windows NT 4.0
> /2000 …
> The program basically reads some operational parameters from the config
file
> and issues IOCTLs to driver.
> If so where can I put it ?? and how do I achieve this ??
>
> Thanx and regards
> Gopikrishna
>
>
>

This means that a compiler option has been set to perform stack checking on
function calls. You should be able to disable this function of the compiler
by removing the /Ge switch.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: Gopikrishna Prabhakar Yadappanavar
[mailto:xxxxx@wipro.com]
Sent: Tuesday, October 10, 2000 7:33 AM
To: NT Developers Interest List
Subject: [ntdev] Problem of __chkstk !!

Hi friends,

Thanx for your valuable suggestion for my earlier query.
I am facing another problem related with Export driver and NDIS miniport
driver.
I hav written one export driver to be used by NDIS miniport driver. I have
included the .lib of the export drive in the miniport driver and called some
of the exported functions…
When I built the NDIS miniport driver with lib included, compilation is
going through fine but while linking its saying
Undefined symbol __chkstk !! Any idea why its cribbing for that ??

Paul,

I’ve run into this same problem, doing a checked build of a driver I
just ported to Win2K from unix.

Where do I go to fix this behavior of the compiler?

  • Jay


Jay Talbott
Staff Software Engineer
Motorola Computer Group
2900 S. Diablo Way
DW220
Tempe, AZ 85282
(602) 438-3481
xxxxx@mcg.mot.com

Paul Bunn wrote:

This means that a compiler option has been set to perform stack checking on
function calls. You should be able to disable this function of the compiler
by removing the /Ge switch.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: Gopikrishna Prabhakar Yadappanavar
[mailto:xxxxx@wipro.com]
Sent: Tuesday, October 10, 2000 7:33 AM
To: NT Developers Interest List
Subject: [ntdev] Problem of __chkstk !!

Hi friends,

Thanx for your valuable suggestion for my earlier query.
I am facing another problem related with Export driver and NDIS miniport
driver.
I hav written one export driver to be used by NDIS miniport driver. I have
included the .lib of the export drive in the miniport driver and called some
of the exported functions…
When I built the NDIS miniport driver with lib included, compilation is
going through fine but while linking its saying
Undefined symbol __chkstk !! Any idea why its cribbing for that ??


You are currently subscribed to ntdev as: xxxxx@mcg.mot.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

You need to disable the linking of the C/C++ runtime libraries. (CRT).

Taher

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Jay Talbott
Sent: Thursday, November 09, 2000 2:50 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Problem of __chkstk !!

Paul,

I’ve run into this same problem, doing a checked build of a driver I
just ported to Win2K from unix.

Where do I go to fix this behavior of the compiler?

  • Jay


Jay Talbott
Staff Software Engineer
Motorola Computer Group
2900 S. Diablo Way
DW220
Tempe, AZ 85282
(602) 438-3481
xxxxx@mcg.mot.com

Paul Bunn wrote:

This means that a compiler option has been set to perform stack checking
on
function calls. You should be able to disable this function of the
compiler
by removing the /Ge switch.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: Gopikrishna Prabhakar Yadappanavar
[mailto:xxxxx@wipro.com]
Sent: Tuesday, October 10, 2000 7:33 AM
To: NT Developers Interest List
Subject: [ntdev] Problem of __chkstk !!

Hi friends,

Thanx for your valuable suggestion for my earlier query.
I am facing another problem related with Export driver and NDIS miniport
driver.
I hav written one export driver to be used by NDIS miniport driver. I have
included the .lib of the export drive in the miniport driver and called
some
of the exported functions…
When I built the NDIS miniport driver with lib included, compilation is
going through fine but while linking its saying
Undefined symbol __chkstk !! Any idea why its cribbing for that ??


You are currently subscribed to ntdev as: xxxxx@mcg.mot.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)


You are currently subscribed to ntdev as: xxxxx@veritas.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)