Discussion:
Compiler Error
(too old to reply)
Asaf Shelly
2010-08-29 07:13:03 UTC
Permalink
"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
Maxim S. Shatskih
2010-08-29 13:29:43 UTC
Permalink
1) Update the next WDK version
2) Downgrade to previous one :-)
3) Change your source a bit
--
Maxim S. Shatskih
Windows DDK MVP
***@storagecraft.com
http://www.storagecraft.com
Post by Asaf Shelly
"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'"
rtcomm.inf
vc90.pdb
_objects.mac
Asaf
Asaf Shelly
2010-08-29 21:23:03 UTC
Permalink
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\mspdb80.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&szModVer=9.0.30729.207&szModStamp=49640c03&fDebug=0&offset=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

Loading...