How to build NTDDK sample S3 driver?

Env: VC6.0 SP3, NT4.0 DDK

I tried to build NT4.0 DDK sample S3 driver, but met following
link error:

BANK.OBJ : error LNK2001: unresolved external symbol _inp@4
STRETCH.OBJ : error LNK2001: unresolved external symbol _outp@8
BANK.OBJ : error LNK2001: unresolved external symbol _memcpy

I think I must have missed some libraries. Now I only link to
win32k.lib. What lib else should I add? (I tried to add libcmt.lib
and msvcrt.lib but useless)

Thanks,

Drivers are not linked with win32k.lib. The lib’s you link with are found in
\DDk\lib\i386\checked (or free) and are usually ntoskrnl.lib, libcntpr, and
or kernel32.lib. Your developing a driver but thinking application.

-----Original Message-----
From: Min Wang [mailto:xxxxx@ati.com]
Sent: Friday, August 18, 2000 12:38 PM
To: NT Developers Interest List
Subject: [ntdev] How to build NTDDK sample S3 driver?

Env: VC6.0 SP3, NT4.0 DDK

I tried to build NT4.0 DDK sample S3 driver, but met following
link error:

BANK.OBJ : error LNK2001: unresolved external symbol _inp@4
STRETCH.OBJ : error LNK2001: unresolved external symbol _outp@8
BANK.OBJ : error LNK2001: unresolved external symbol _memcpy

I think I must have missed some libraries. Now I only link to
win32k.lib. What lib else should I add? (I tried to add libcmt.lib
and msvcrt.lib but useless)

Thanks,

The graphics drivers(and not a plain kernel mode driver) do use Win32k.lib.

regards
jeseem
mailto:xxxxx@hotmail.com
http://www.nesttech.com

----- Original Message -----
From: “Gary Little”
To: “NT Developers Interest List”
Sent: Friday, August 18, 2000 3:59 PM
Subject: [ntdev] RE: How to build NTDDK sample S3 driver?

> Drivers are not linked with win32k.lib. The lib’s you link with are found
in
> \DDk\lib\i386\checked (or free) and are usually ntoskrnl.lib, libcntpr,
and
> or kernel32.lib. Your developing a driver but thinking application.
>
> -----Original Message-----
> From: Min Wang [mailto:xxxxx@ati.com]
> Sent: Friday, August 18, 2000 12:38 PM
> To: NT Developers Interest List
> Subject: [ntdev] How to build NTDDK sample S3 driver?
>
>
>
> Env: VC6.0 SP3, NT4.0 DDK
>
> I tried to build NT4.0 DDK sample S3 driver, but met following
> link error:
>
> BANK.OBJ : error LNK2001: unresolved external symbol _inp@4
> STRETCH.OBJ : error LNK2001: unresolved external symbol _outp@8
> BANK.OBJ : error LNK2001: unresolved external symbol _memcpy
> …
>
> I think I must have missed some libraries. Now I only link to
> win32k.lib. What lib else should I add? (I tried to add libcmt.lib
> and msvcrt.lib but useless)
>
> Thanks,
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@hotmail.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
>

Then I stand corrected.

-----Original Message-----
From: Jeseem [mailto:xxxxx@hotmail.com]
Sent: Friday, August 18, 2000 5:18 PM
To: NT Developers Interest List
Subject: [ntdev] RE: How to build NTDDK sample S3
driver?

The graphics drivers(and not a plain kernel mode driver) do
use Win32k.lib.

regards
jeseem
mailto:xxxxx@hotmail.com
http://www.nesttech.com

----- Original Message -----
From: “Gary Little”
To: “NT Developers Interest List”
Sent: Friday, August 18, 2000 3:59 PM
Subject: [ntdev] RE: How to build NTDDK sample S3 driver?

> Drivers are not linked with win32k.lib. The lib’s you link
with are found
in
> \DDk\lib\i386\checked (or free) and are usually
ntoskrnl.lib, libcntpr,
and
> or kernel32.lib. Your developing a driver but thinking
application.
>
> -----Original Message-----
> From: Min Wang [mailto:xxxxx@ati.com]
> Sent: Friday, August 18, 2000 12:38 PM
> To: NT Developers Interest List
> Subject: [ntdev] How to build NTDDK sample S3 driver?
>
>
>
> Env: VC6.0 SP3, NT4.0 DDK
>
> I tried to build NT4.0 DDK sample S3 driver, but met
following
> link error:
>
> BANK.OBJ : error LNK2001: unresolved external symbol
_inp@4
> STRETCH.OBJ : error LNK2001: unresolved external symbol
_outp@8
> BANK.OBJ : error LNK2001: unresolved external symbol
_memcpy
> …
>
> I think I must have missed some libraries. Now I only link
to
> win32k.lib. What lib else should I add? (I tried to add
libcmt.lib
> and msvcrt.lib but useless)
>
> Thanks,
>
>
> —
> You are currently subscribed to ntdev as:
xxxxx@hotmail.com
> To unsubscribe send a blank email to
$subst(‘Email.Unsub’)
>
>


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