Hi,
I’m using Windows XP SP1 DDK when building the Windows 2000 device drivers. I’m using the cancel-safe queue in my driver that seems to cause some problems. I’m getting following error:
"
…
C:\WINDDK\2600SP1\lib\w2K\i386\csq.lib
C:\WINDDK\2600SP1\lib\w2K\i386\sehupd.lib
csq.lib(cancelapi.obj) : error LNK2005: @xxxxx@8 already defined in ntoskrnl.lib(ntoskrnl.exe)
objfre_w2K_x86\i386\MyDriver.sys : fatal error LNK1169: one or more multiply defined symbols found
Skip Binplace:
Stop.
"
What would be the best way to resolve this? I could use the force directive without doing further thinking but I’m wondering what would the proper way handling this and if anyone has seen this problem before.
Windows XP DDK and Windows .NET Beta 3663 works fine with this.
BR, Mikko
w2k kernel has no CSQ in it. Write your own.
Max
----- Original Message -----
From:
To: “NT Developers Interest List”
Sent: Tuesday, December 17, 2002 9:05 PM
Subject: [ntdev] Problems with Windows SP1 DDK & Windows 2k
compilation
Hi,
I’m using Windows XP SP1 DDK when building the Windows 2000 device
drivers. I’m using the cancel-safe queue in my driver that seems to
cause some problems. I’m getting following error:
“
…
C:\WINDDK\2600SP1\lib\w2K\i386\csq.lib
C:\WINDDK\2600SP1\lib\w2K\i386\sehupd.lib
csq.lib(cancelapi.obj) : error LNK2005: @xxxxx@8 already
defined in ntoskrnl.lib(ntoskrnl.exe)
objfre_w2K_x86\i386\MyDriver.sys : fatal error LNK1169: one or more
multiply defined symbols found
Skip Binplace:
Stop.
”
What would be the best way to resolve this? I could use the force
directive without doing further thinking but I’m wondering what would
the proper way handling this and if anyone has seen this problem
before.
Windows XP DDK and Windows .NET Beta 3663 works fine with this.
BR, Mikko
—
You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to %%email.unsub%%
You are absolutely right that w2k kernel doesn’t have CSQ but there is library provided by DDK for w2k. DDK says following:
“The cancel-safe IRP queue framework is included with Windows? XP and later operating systems. Drivers that must also work for Windows 2000 and Windows 98/Me can link to the csq.lib library that is shipped with the Windows XP DDK and later, which provides an implementation of this framework.”
- Mikko
-----Original Message-----
From: ext Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: 18. joulukuuta 2002 20:25
To: NT Developers Interest List
Subject: [ntdev] Re: Problems with Windows SP1 DDK & Windows 2k
compilation
w2k kernel has no CSQ in it. Write your own.
Max
----- Original Message -----
From:
To: “NT Developers Interest List”
Sent: Tuesday, December 17, 2002 9:05 PM
Subject: [ntdev] Problems with Windows SP1 DDK & Windows 2k
compilation
Hi,
I’m using Windows XP SP1 DDK when building the Windows 2000 device
drivers. I’m using the cancel-safe queue in my driver that seems to
cause some problems. I’m getting following error:
“
…
C:\WINDDK\2600SP1\lib\w2K\i386\csq.lib
C:\WINDDK\2600SP1\lib\w2K\i386\sehupd.lib
csq.lib(cancelapi.obj) : error LNK2005: @xxxxx@8 already
defined in ntoskrnl.lib(ntoskrnl.exe)
objfre_w2K_x86\i386\MyDriver.sys : fatal error LNK1169: one or more
multiply defined symbols found
Skip Binplace:
Stop.
”
What would be the best way to resolve this? I could use the force
directive without doing further thinking but I’m wondering what would
the proper way handling this and if anyone has seen this problem
before.
Windows XP DDK and Windows .NET Beta 3663 works fine with this.
BR, Mikko
—
You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to %%email.unsub%%
—
You are currently subscribed to ntdev as: xxxxx@nokia.com
To unsubscribe send a blank email to %%email.unsub%%