Re: Problem about build Eboot in command line




If for some reason you find the documentation wrong or incomplete,
use "Send Feedback" link to provide your thoughts. It is there
on every page in documentation.

You may want to check the following topic about the
sources files:

http://msdn2.microsoft.com/en-us/library/ms924470.aspx


Kenneth wrote:
Thank you very much! It works now.

But I just follow the tutorial of Microsoft. It didn't metion the
things of INCLUDE. Is it a bug of their tutorial?

"voidcoder 写道:
"
It looks like you are missing some things in your SOURCES
file. Is the $(_WINCEROOT)\public\common\sdk\inc path added
to your $(INCLUDES) or $(_OEMINCPATH) var?


INCLUDES=$(INCLUDES);$(_WINCEROOT)\public\common\sdk\inc

or

WINCEOEM=1
_OEMINCPATH=$(_OEMINCPATH);$(_WINCEROOT)\public\common\sdk\inc



Kenneth wrote:
Hello,

I'm building a Eboot in WinCE 6.0, following the tutorial of "How to
Develop a Boot Loader". The first several steps are:

set _WINCEROOT=d:\wince500
cd %_WINCEROOT%\public\common\oak\misc
Wince.bat ARMV4I CEBASE ZhuangDe
sysgen

But when I come to the 6th step -- "Build your first boot loader
executable (.exe) file." It print:

D:\WINCE600\PLATFORM\ZhuangDe\Src\Bootloader\Eboot>build -c
Build for Windows CE (Release 601) (Built on Aug 17 2006 15:18:52)
File names: Build.log Build.wrn Build.err Build.dat
BUILD: [Thrd:Sequence:Type ] Message
BUILD: [00:0000000000:PROGC ] Build started with parameters: -c
BUILD: [00:0000000001:PROGC ] Build started in directory:
D:\WINCE600\PLATFORM\ZhuangDe\Src\Bootloader\Eboot
BUILD: [00:0000000002:PROGC ] Checking for
d:\wince600\sdk\bin\i386\srccheck.exe.
BUILD: [00:0000000003:PROGC ] Running passes WCEFILES0, MIDL, MC, ASN,
THUNK, PRECOMPHEADER, COMPILE, LIB, LINK, MANAGED
RESX, MANAGEDMOD, MANAGEDDLL, MANAGEDEXE, MANAGEDWIN for ARM.
BUILD: [00:0000000004:PROGC ] Ignoring build database (-c specified).
BUILD: [00:0000000005:PROGC ] Computing include file dependencies:
BUILD: [00:0000000006:PROGC ] Checking for SDK include directory:
d:\wince600\sdk\CE\inc.
BUILD: [00:0000000007:PROGC ] Scan
D:\WINCE600\PLATFORM\ZhuangDe\Src\Bootloader\Eboot\
BUILD: [00:0000000008:PROGC ] Saving
D:\WINCE600\PLATFORM\ZhuangDe\Build.dat.
BUILD: [00:0000000011:PROGC ] Building COMPILE Pass in
D:\WINCE600\PLATFORM\ZhuangDe\Src\Bootloader\Eboot\ directory.
BUILD: [01:0000000022:PROGC ] Assembling .\startup.s
BUILD: [01:0000000027:ERRORE]
D:\WINCE600\PLATFORM\ZhuangDe\Src\Bootloader\Eboot\startup.s(3) : error
A0044: can't open
file: kxarm.h
BUILD: [01:0000000029:ERRORE]
D:\WINCE600\PLATFORM\ZhuangDe\Src\Bootloader\Eboot\startup.s(8) : error
A0051: unknown opc
ode: STARTUPTEXT
BUILD: [01:0000000031:ERRORE]
D:\WINCE600\PLATFORM\ZhuangDe\Src\Bootloader\Eboot\startup.s(9) : error
A0051: unknown opc
ode: LEAF_ENTRY
BUILD: [01:0000000033:ERRORE]
D:\WINCE600\PLATFORM\ZhuangDe\Src\Bootloader\Eboot\startup.s(10) :
error A0064: code insid
e data section
BUILD: [00:0000000035:PROGC ] Files Warnings
Errors
BUILD: [00:0000000036:PROGC ] Midl 0 0
0
BUILD: [00:0000000037:PROGC ] Message 0 0
0
BUILD: [00:0000000038:PROGC ] Precomp Header 0 0
0
BUILD: [00:0000000039:PROGC ] Resource 0 0
0
BUILD: [00:0000000040:PROGC ] MASM 0 0
0
BUILD: [00:0000000041:PROGC ] SHASM 0 0
0
BUILD: [00:0000000042:PROGC ] ARMASM 1 0
4
BUILD: [00:0000000043:PROGC ] MIPSASM 0 0
0
BUILD: [00:0000000044:PROGC ] C++ 0 0
0
BUILD: [00:0000000045:PROGC ] C 0 0
0
BUILD: [00:0000000046:PROGC ] Static Libraries 0 0
0
BUILD: [00:0000000047:PROGC ] Exe's 0 0
0
BUILD: [00:0000000048:PROGC ] Dll's 0 0
0
BUILD: [00:0000000049:PROGC ] Preprocess deffile 0 0
0
BUILD: [00:0000000050:PROGC ] Resx 0 0
0
BUILD: [00:0000000051:PROGC ] CSharp Compile 0 0
0
BUILD: [00:0000000052:PROGC ] Other 0 0
1
BUILD: [00:0000000053:PROGC ]
BUILD: [00:0000000054:PROGC ] Total 1 0
5
BUILD: [00:0000000055:PROGC ]
BUILD: [00:0000000056:PROGC ] 0 Warnings, 5 Errors
BUILD: [00:0000000057:PROGC ] GetSystemTimes (seconds): Idle: 0
Kernel: 0 User: 0
BUILD: [00:0000000058:PROGC ] Elapsed time (seconds): 0

The errors are strange. No bootloader can be generated. I don't know
why, could someone give me some help?
Thanks in advance!


.



Relevant Pages

  • Re: Problem about build Eboot in command line
    ... But when I come to the 6th step -- "Build your first boot loader ... RESX, MANAGEDMOD, MANAGEDDLL, MANAGEDEXE, MANAGEDWIN for ARM. ... A0051: unknown opc ... ode: STARTUPTEXT ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Problem about build Eboot in command line
    ... But when I come to the 6th step -- "Build your first boot loader ... RESX, MANAGEDMOD, MANAGEDDLL, MANAGEDEXE, MANAGEDWIN for ARM. ... A0051: unknown opc ... ode: STARTUPTEXT ...
    (microsoft.public.windowsce.platbuilder)
  • Problem about build Eboot in command line
    ... But when I come to the 6th step -- "Build your first boot loader ... RESX, MANAGEDMOD, MANAGEDDLL, MANAGEDEXE, MANAGEDWIN for ARM. ... A0051: unknown opc ... ode: STARTUPTEXT ...
    (microsoft.public.windowsce.platbuilder)