wince6.0编译错误,
今天修改了一写地方需要sysgen,编译出现了一些错误
Deleting unused D:\WINCE600\OSDesigns\NMBSP\NMBSP\Wince600\SMDK6410_ARMV4I\cesysgen\oak\target\ARMV4I\retail\corelib1.dll
COREDLL_RESOURCES=D:\WINCE600\public\common\oak\lib\ARMV4I\retail\0409\coreres.res D:\WINCE600\public\common\oak\lib\ARMV4I\retail\0409\shcore.res D:\WINCE600\public\common\oak\lib\ARMV4I\retail\0409\shortcut.res D:\WINCE600\public\common\oak\lib\ARMV4I\retail\0409\shexec.res D:\WINCE600\public\common\oak\lib\ARMV4I\retail\0409\shmisc.res D:\WINCE600\public\common\oak\lib\ARMV4I\retail\0409\timezones.res D:\WINCE600\public\common\oak\lib\ARMV4I\retail\0409\coreloc.res
Building combined coredll res file for 0409
SysgenMake -RES2RES %COREDLL_RESOURCES% -fo D:\WINCE600\OSDesigns\NMBSP\NMBSP\Wince600\SMDK6410_ARMV4I\cesysgen\oak\target\ARMV4I\retail\0409\coredll.res
Set SizeOfResources: 0001f200
Set VirtualSize: 0001f0b8
SizeOfResources: 0001f200
SizeOfResources: 0001f200
SizeOfResources: 0001f200
Res2Res for Windows CE (Release) (Built on Jun 30 2006 16:52:50)
Copyright (C) Microsoft Corp. 1991-2004. All rights reserved.
Res2Res: Using D:\WINCE600\public\common\oak\Bin\i386\R2RDUMMY.DLL for temp exe
Res2Res: Using resources from D:\WINCE600\public\common\oak\lib\ARMV4I\retail\0409\coreres.res.
Res2Res: Adding resources from D:\WINCE600\public\common\oak\lib\ARMV4I\retail\0409\coreres.res to c:\temp\R2RED.tmp.
Res2Res: Using resources from D:\WINCE600\public\common\oak\lib\ARMV4I\retail\0409\shcore.res.
Res2Res: Adding resources from D:\WINCE600\public\common\oak\lib\ARMV4I\retail\0409\shcore.res to c:\temp\R2RED.tmp.
Res2Res: Using resources from D:\WINCE600\public\common\oak\lib\ARMV4I\retail\0409\shortcut.res.
Res2Res: Adding resources from D:\WINCE600\public\common\oak\lib\ARMV4I\retail\0409\shortcut.res to c:\temp\R2RED.tmp.
Res2Res: Using resources from D:\WINCE600\public\common\oak\lib\ARMV4I\retail\0409\shexec.res.
Res2Res: Adding resources from D:\WINCE600\public\common\oak\lib\ARMV4I\retail\0409\shexec.res to c:\temp\R2RED.tmp.
Res2Res: Using resources from D:\WINCE600\public\common\oak\lib\ARMV4I\retail\0409\shmisc.res.
Res2Res: Adding resources from D:\WINCE600\public\common\oak\lib\ARMV4I\retail\0409\shmisc.res to c:\temp\R2RED.tmp.
Res2Res: Using resources from D:\WINCE600\public\common\oak\lib\ARMV4I\retail\0409\timezones.res.
Res2Res: Adding resources from D:\WINCE600\public\common\oak\lib\ARMV4I\retail\0409\timezones.res to c:\temp\R2RED.tmp.
Res2Res: Using resources from D:\WINCE600\public\common\oak\lib\ARMV4I\retail\0409\coreloc.res.
Res2Res: Adding resources from D:\WINCE600\public\common\oak\lib\ARMV4I\retail\0409\coreloc.res to c:\temp\R2RED.tmp.
Res2Res: Building D:\WINCE600\OSDesigns\NMBSP\NMBSP\Wince600\SMDK6410_ARMV4I\cesysgen\oak\target\ARMV4I\retail\0409\coredll.res from temp file c:\temp\R2RED.tmp.
复制了 0 个文件
SysgenMake /NOLOGO NOCRTDLL=1 coredllhs.dll
未处理的异常: System.InvalidOperationException: 用于启动进程的环境块不能多于 65535 个字节。您的环境块为 65672 字节长。移除一些环境变量,然后再试一次。
在 System.Diagnostics.EnvironmentBlock.ToByteArray(StringDictionary sd, Boolean unicode)
在 System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
在 System.Diagnostics.Process.Start()
在 Microsoft.PlatformBuilder.MainClass.Main(String[] args)
NMAKE : fatal error U1077: 'SysgenMake' : return code '0xe0434f4d'
Stop.
makefile.def: Invoked with predefined settings:
TARGETNAME: coredllhs
TARGETTYPE: dummy
RELEASETYPE: SDK
TARGETLIBS: D:\WINCE600\public\common\oak\lib\ARMV4I\retail\corestub.lib D:\WINCE600\OSDesigns\NMBSP\NMBSP\Wince600\SMDK6410_ARMV4I\cesysgen\oak\target\ARMV4I\retail\0409\coredll.res
SOURCELIBS: D:\WINCE600\public\common\oak\lib\ARMV4I\retail\lmemhs.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\lmem.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\showerr.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\corecrt.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\tnotify.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\tapilib.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\cryptapi.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\mincrypt_coredll.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\coresip.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\rectapi.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\wmgr_c.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\mgdi_c.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\accel_c.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\messagedialogboxthunk.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\shcore.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\shortcut.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\shexec.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\shmisc.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\fileopen.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\fileinfo.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\dsa.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\mmacm.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\mmacmui.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\mmwave.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\mmsnd.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\mmmix.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\battery.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\devenum.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\devload.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\coreimm.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\fmtmsg.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\serdev.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\multiui.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\coreloc.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\rsa32.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\lmem.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\showerr.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\corecrt.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\tnotify.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\tapilib.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\cryptapi.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\mincrypt_coredll.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\coresip.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\rectapi.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\wmgr_c.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\mgdi_c.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\accel_c.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\messagedialogboxthunk.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\shcore.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\shortcut.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\shexec.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\shmisc.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\fileopen.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\fileinfo.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\dsa.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\mmacm.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\mmacmui.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\mmwave.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\mmsnd.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\mmmix.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\battery.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\devenum.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\devload.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\coreimm.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\fmtmsg.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\serdev.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\multiui.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\coreloc.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\rsa32.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\coremain.lib D:\WINCE600\public\common\oak\lib\ARMV4I\retail\thunks.lib
DLLENTRY: CoreDllInit
makefile.def: Including D:\WINCE600\public\common\oak\misc\Sources.default
makefile.def: BUILDROOT is D:\WINCE600\public\common\cesysgen
makefile.def: Including D:\WINCE600\PUBLIC\COMMON\CESYSGEN\sources
makefile.def: Including D:\WINCE600\public\common\oak\misc\Sources.CE
Directory: D:\WINCE600\PUBLIC\COMMON\CESYSGEN
TARGETNAME: coredllhs
makefile.def: Including D:\WINCE600\public\common\oak\misc\sources.ReleaseType_SDK
SysgenMake /NOLOGO TARGETNAME=coredllhs_ALL RELEASETYPE=OAK D:\WINCE600\OSDesigns\NMBSP\NMBSP\Wince600\SMDK6410_ARMV4I\cesysgen\oak\lib\ARMV4I\retail\coredllhs_ALL.lib
NMAKE : fatal error U1077: 'SysgenMake' : return code '0x2'
Stop.
还是第一次遇到这种问题,哪位大哥遇到过该问题?
现在不管是sysgen,还是clean sysgen都编译不通过了,晕了
[最优解释]
实际上ERROR: function @ Ordinal 715 missing,
715对应的是GetSystemPowerStatusEx()。
[其他解释]
还真的是第一次遇到这样的问题,应该问题点在这里“未处理的异常: System.InvalidOperationException: 用于启动进程的环境块不能多于 65535 个字节。您的环境块为 65672 字节长。移除一些环境变量,然后再试一次。
”
[其他解释]
未处理的异常: System.InvalidOperationException: 用于启动进程的环境块不能多于 65535 个字节。您的环境块为 65672 字节长。移除一些环境变量,然后再试一次
[其他解释]
这可能属于莫名其妙的错误,其实regedit.exe能否正常运行应该和battery driver没有关系才对的。
[其他解释]
莫名的bug很头疼,一步步的debug真是个痛苦的事
[其他解释]