Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Compiler Error

Reply
Thread Tools Display Modes

Compiler Error

 
 
Asaf Shelly
Guest
Posts: n/a

 
      08-29-2010
"BLD"

"_NT_TARGET_VERSION SET TO WINXP
Compiling - driver.c
1>errors in directory c:\projects\ddk\[SomeProjDir]\sys
1>c:\projects\ddk\[SomeProjDir]\sys\driver.c : error C1001: An internal
error has occurred in the compiler.
Linking Executable - objchk_wxp_x86\i386\rtcomm.sys
1>link : error LNK1181: cannot open input file
'c:\projects\ddk\[SomeProjDir]\sys\objchk_wxp_x86\i386\driver.obj'"

Got:
rtcomm.inf
vc90.pdb
_objects.mac

Asaf
 
Reply With Quote
 
 
 
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      08-29-2010
1) Update the next WDK version
2) Downgrade to previous one :-)
3) Change your source a bit

--
Maxim S. Shatskih
Windows DDK MVP

http://www.storagecraft.com

"Asaf Shelly" <> wrote in message news:3DCE8DB0-AFAC-44C9-902E-...
> "BLD"
>
> "_NT_TARGET_VERSION SET TO WINXP
> Compiling - driver.c
> 1>errors in directory c:\projects\ddk\[SomeProjDir]\sys
> 1>c:\projects\ddk\[SomeProjDir]\sys\driver.c : error C1001: An internal
> error has occurred in the compiler.
> Linking Executable - objchk_wxp_x86\i386\rtcomm.sys
> 1>link : error LNK1181: cannot open input file
> 'c:\projects\ddk\[SomeProjDir]\sys\objchk_wxp_x86\i386\driver.obj'"
>
> Got:
> rtcomm.inf
> vc90.pdb
> _objects.mac
>
> Asaf

 
Reply With Quote
 
Asaf Shelly
Guest
Posts: n/a

 
      08-29-2010
Restarting didn't help.
Did some Ctrl-Z before, didn't help either.
Commented out the entire file, still have the problem.
Just got a popup for Microsoft Error Reporting: "Microsoft (R) C/C++
Optimizing Compiler". Multiple reports for cl.exe

The only thing I could learn from these error reports yet is that Kilobytes
= KB and Megabytes = MB.... and bytes = bytes...

Here is the data:

QueueVer=1
UI LCID=1033
Date=8/29/2010
Time=11:46:22 PM
ReportSize=13183
Bytes=bytes
Kilobytes=KB
Megabytes=MB
MoreInfo=What data does this error report contain
ErrorSubPath=cl.exe\15.0.30729.207\49640c07\mspdb8 0.dll\9.0.30729.207\49640c03\0\0000d8a3
Heap=memory.dm
Stage1URL=/StageOne/cl.exe/15.0.30729.207/49640c07/mspdb80.dll/9.0.30729.207/49640c03/0/0000d8a3.htm
Stage2URL=/dw/stagetwo.asp?szAppName=cl.exe&szAppVer=15.0.30729. 207&szAppStamp=49640c07&szModName=mspdb80.dll&szMo dVer=9.0.30729.207&szModStamp=49640c03&fDebug=0&of fset=0000d8a3&Sig=NA
General_Reportee=Microsoft
BP0=cl.exe
BP1=15.0.30729.207
BP2=49640c07
BP3=mspdb80.dll
BP4=9.0.30729.207
BP5=49640c03
BP6=0
BP7=0000d8a3
BP8=NIL
BP9=NIL
BP10=NIL
CBP=8
DWVer0=12
DWVer1=0
DWVer2=6211
DWVer3=1000
Details_Sig_Body=AppName: cl.exe AppVer: 15.0.30729.207
AppStamp:49640c07
ModName: mspdb80.dll ModVer: 9.0.30729.207 ModStamp:49640c03
fDebug: 0 Offset: 0000d8a3
QueueMode=268435458
EventID=1000
ReportingFlags=8
UIFlags=1
LoggingFlags=0
MiscFlags=0
DigPidRegPath=HKLM\Software\Microsoft\Internet
Explorer\Registration\DigitalProductID
General_AppName=Microsoft (R) C/C++ Optimizing Compiler
Final_Link=Prevent this problem in the future

 
Reply With Quote
 
Junior Member
Join Date: Sep 2010
Posts: 8

 
      09-02-2010
Are you assigning compilation flags on your own?
the wdk compiler has all the flags set properly by setenv.bat.

(I mean that you cannot use VS compiler to compile driver code, without setting all the needed compilation flags. Otherwise, you will have such error messages. Use the one provided by WDK instead)
 

Last edited by panikus; 09-02-2010 at 05:22 PM..
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble installing Windows XP SP3 and other MS updates DanP Windows Update 27 08-18-2010 09:34 PM
0x8BAD0008 Greg Just Windows Live Mail 0 03-24-2010 02:05 AM
Re: Server2003 2008 error !! Paul Bergson [MVP-DS] Active Directory 0 11-27-2009 12:19 PM
Re: Server2003 2008 error !! Meinolf Weber [MVP-DS] Active Directory 0 11-26-2009 01:37 PM
Unresolved items: incredible! Massimo ActiveSync 9 04-18-2006 03:11 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59