Mobile Apps - BSP build error
Asked By JH
02-Feb-10 12:58 AM

Hi,
I am trying to build a BSP for WinCE 6.0 but failed. The following are the
steps performed.
(1) Rename the original BSP package
(2) Copy the BSP package with the same name as the above BSP under
C:\WINCE600\PLATFORM
(3) Create a project under C:\WINCE600\OSDesigns using the BSP in (2) and
PDA Device & Mobile Handheld.
(4) Select "Build Current BSP and Subprojects" under Build->Advanced Build
Commands
(5) Output window showed build error message
The BSP in (2) should work because it has been tested before modification.
I have only made minor changes to three files which merged parameter
information for different screen panels.
The following are the error messages.
makeimg for Windows CE (Release) (Built on Jul 10 2006 16:41:09)
makeimg: Change directory to C:\WINCE600.
makeimg: run command: cmd /C C:\WINCE600\public\common\oak\misc\pbpremakeimg
Generating PBWorkspace Custom makeimg build step batch Files to
C:\WINCE600\OSDesigns\test_john_100202\test_john_100202\Wince600\simuMIPSII_MIPSII\oak
Done Generating PBWorkspace Custom makeimg build step batch Files
makeimg: Check for
C:\WINCE600\OSDesigns\test_john_100202\test_john_100202\RelDir\simuMIPSII_MIPSII_Release\PreMakeImg.bat
to run.
makeimg: Found localization settings.
makeimg: LOCALE: 0409 LOCALE3: (null) TargetDir: 0409 CodePage=1252
LocaleId: 409 PrimaryLandId: 9 SubLangId: 1
makeimg: Locale is 0409, retrieve files from usasnap directory.
makeimg: Moving files from usasnap to release...
makeimg: Read string substitutions from
C:\WINCE600\OSDesigns\test_john_100202\test_john_100202\RelDir\simuMIPSII_MIPSII_Release\intltrns\0409\
makeimg: Read string substitutions from
C:\WINCE600\OSDesigns\test_john_100202\test_john_100202\RelDir\simuMIPSII_MIPSII_Release\intltrns\0409\cebase.str
makeimg: Copy files from
C:\WINCE600\OSDesigns\test_john_100202\test_john_100202\RelDir\simuMIPSII_MIPSII_Release\intlfile\0409\
to release directory.
makeimg: Creating
C:\WINCE600\OSDesigns\test_john_100202\test_john_100202\RelDir\simuMIPSII_MIPSII_Release\nlscfg.out
because
C:\WINCE600\OSDesigns\test_john_100202\test_john_100202\RelDir\simuMIPSII_MIPSII_Release\country.cfg
does not exist or contains a locale different from 0409.
makeimg: run command: fmerge -nls
C:\WINCE600\OSDesigns\test_john_100202\test_john_100202\RelDir\simuMIPSII_MIPSII_Release\nlscfg.out
C:\WINCE600\OSDesigns\test_john_100202\test_john_100202\RelDir\simuMIPSII_MIPSII_Release\postproc\nlscfg.inf
fmerge for Windows CE (Release) (Built on Apr 5 2006 11:32:16)
makeimg: run command: fmerge -txt
C:\WINCE600\OSDesigns\test_john_100202\test_john_100202\RelDir\simuMIPSII_MIPSII_Release\postproc\nlssrc.txt
C:\WINCE600\public\common\oak\files\locale.txt
C:\WINCE600\OSDesigns\test_john_100202\test_john_100202\RelDir\simuMIPSII_MIPSII_Release\nlssrc.txt
fmerge for Windows CE (Release) (Built on Apr 5 2006 11:32:16)
makeimg: FATAL ERROR: Command returned non-zero exit code 1 (dec).
makeimg: FATAL ERROR: Command returned non-zero exit code 1 (dec).
Any help will be appreciated.
Best Regards,
John
WinCE
(1)
Bruce.Eitman
(1)
PrimaryLandId
(1)
PBWorkspace
(1)
SubLangId
(1)
Report
(1)
EMVP
(1)
Thed.imgII
(1)
GeraldH replied to JH
the
d
.
img
II=AD_MIPSII\oak
_M=ADIPSII_Release\PreMakeImg.bat
=3D1252
_M=ADIPSII_Release\intltrns\0409\
_M=ADIPSII_Release\intltrns\0409\cebase.str
_M=ADIPSII_Release\intlfile\0409\
_M=ADIPSII_Release\nlscfg.out
_M=ADIPSII_Release\country.cfg
_M=ADIPSII_Release\nlscfg.out
_M=ADIPSII_Release\postproc\nlscfg.inf
_M=ADIPSII_Release\postproc\nlssrc.txt
_M=ADIPSII_Release\nlssrc.txt
Have you searched for all Build.err and Build.log files under the
PLATFORM directory and compared the contents of files of the same
directories for (a) build from the original BSP versus (b) build from
the cloned, failing BSP? Very often one of these log files will
provide you with the clue that you need.
shai replied to JH
Hi,
You say you do a "build current BSP"? You need to do a Sysgen once for
a new OSDesign.
Read:
http://guruce.com/blogpost/whattobuildwhen
Shai
the
d
.
img
II_MIPSII\oak
_MIPSII_Release\PreMakeImg.bat
=3D1252
_MIPSII_Release\intltrns\0409\
_MIPSII_Release\intltrns\0409\cebase.str
_MIPSII_Release\intlfile\0409\
_MIPSII_Release\nlscfg.out
_MIPSII_Release\country.cfg
_MIPSII_Release\nlscfg.out
_MIPSII_Release\postproc\nlscfg.inf
_MIPSII_Release\postproc\nlssrc.txt
_MIPSII_Release\nlssrc.txt
Bruce Eitman [eMVP] replied to JH
John:
I am confused. I agree with Shai, but I do not know how you could have
arrived at those errors, without some compiler and linker errors, by
following your steps. Maybe Build Current BSP and Subprojects detects that
you did not Sysgen and does it for you.
I also do not know what you did in step 2, your instructions would have ended
with two folders having the same name. Certainly, you would have had two
PBCXML files with exactly the same content, which can cause problems,
although I do not think that it would cause the problem that you report.
--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT Eurotech DOT com
My BLOG http://geekswithblogs.net/bruceeitman
Eurotech Inc.
www.Eurotech.com
JH replied to Bruce Eitman [eMVP]
Hi Bruce,
I did "Sysgen" after "Build Current BSP and Subprojects". The result of
Only "Build Current BSP and Subprojects" resulted in errors.
As for step 2, I copied the BSP package with the same name as the BSP in
step (1) before it was changed. Sorry, I did not made myself clear.
--
Best Regards,
John
Bruce Eitman [eMVP] replied to JH
Okay, be sure to review the blog post that Shai pointed you to.
--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT Eurotech DOT com
My BLOG http://geekswithblogs.net/bruceeitman
Eurotech Inc.
www.Eurotech.com
www.pocketpcjunkies.com WindowsCE App Development Discussions FATAL ERROR Command (1) Macros (1) Dec (1) Bruce Eitman (1) Install (1) Check (1) Local (1) Copy (1) Add USB Function support to your project, SYSGEN_USBFN. - - Bruce Eitman (eMVP) Senior Engineer Bruce.Eitman AT Eurotech DOT com My BLOG http: / / geekswithblogs.net / bruceeitman Eurotech Inc. www.Eurotech.com makeimg: Found localization settings. makeimg: LOCALE: 0409 LOCALE3: (null) TargetDir: 0409 CodePage = 1252 LocaleId: 409 PrimaryLandId: 9 SubLangId: 1 makeimg: Locale is 0409, retrieve files from usasnap directory. makeimg: Moving files you Vinoth. - - vinoth Message posted via PocketPCJunkies.com http: / / www.pocketpcjunkies.com / Uwe / Forums.aspx / wince-programming / 201005 / 1 makeimg.out will be created during the makeimg process. you can see
returned non-zero exit code -1073741819 (dec). Thanks Best regards John WindowsCE Platform Builder Discussions PrimaryLandId (1) PreMakeImage (1) PBWorkspace (1) SubLangId (1) EMVP (1) TargetDir (1) LocaleId (1) CodePage (1) Confused wince developer a écrit : Do you watch into the Build.err and the Build.log files located in the C: \ WINCE* directory to find more explicit error message? - - syl@evilkittens.org Of course seeing the lines that proceed that would be usefull for providing you assistance. - - Bruce Eitman (eMVP) Senior Engineer beitman AT applieddata DOT net Applied Data Systems www.applieddata.net An is reported? Thanks Best regards John So, post the lines that proceed that error message. - - Bruce Eitman (eMVP) Senior Engineer beitman AT applieddata DOT net Applied Data Systems www.applieddata.net An makeimg: Found localization settings. makeimg: LOCALE: 0409 LOCALE3: (null) TargetDir: 0409 CodePage = 1252 LocaleId: 409 PrimaryLandId: 9 SubLangId: 1 makeimg: Locale is 0409, retrieve files from usasnap directory. makeimg: Moving files
1) Visual Studio (1) Vista (1) PNPUnloadDelay (1) SubProject1.pbpxml (1) ContMoreVKey (1) ContLessVKey (1) Bruce.Eitman (1) Show us your project (pbxml) file, are you sure the .reg and .bib files makeimg: Found localization settings. makeimg: LOCALE: 0409 LOCALE3: (null) TargetDir: 0409 CodePage = 1252 LocaleId: 409 PrimaryLandId: 9 SubLangId: 1 makeimg: Locale is 0409, retrieve files from usasnap directory. makeimg: Moving files txt C: \ WINCE600 \ OSDesigns \ TestEmulator \ RelDir \ DeviceEmulator_ARMV4I_Debug \ nlscfg.out C: \ WINCE600 \ OSDesigns \ TestEmulator \ RelDir \ DeviceEmulator_ARMV4I_Debug \ wince.nls NLS data compression utility for Windows CE (Release) (Built on Apr 5 2006 11 to load C: \ WINCE600 \ OSDesigns \ TestEmulator \ TestEmulator.pbxml: Tools Install Dir in registry is missing. - - Bruce Eitman (eMVP) Senior Engineer Bruce.Eitman AT EuroTech DOT com My BLOG http: / / geekswithblogs.net / bruceeitman EuroTech Inc. www.EuroTech.com
Option dialog: Download: Device Emulator(DMA) Transport:Device Emulator(DMA) thanks WindowsCE Platform Builder Discussions Wince (1) ArmEmulator (1) PROGC (1) Cenlscmp (1) LOCALE (1) Platform (1) SRC (1) DeviceEmulator_ARMV (1 makeimg: Found localization settings. makeimg: LOCALE: 0409 LOCALE3: (null) TargetDir: 0409 CodePage = 1252 LocaleId: 409 PrimaryLandId: 9 SubLangId: 1 makeimg: Locale is 0409, retrieve files from usasnap directory. makeimg: Moving files txt D: \ wince600 \ armEmulator2 \ armEmulator2 \ RelDir \ DeviceEmulator_ARMV4I_Debug \ nlscfg.out D: \ wince600 \ armEmulator2 \ armEmulator2 \ RelDir \ DeviceEmulator_ARMV4I_Debug \ wince.nls NLS data compression utility for Windows CE (Release) (Built on Apr 5 2006 11 cause problems, which we have discussed before (not that I expect you to know that.) - - Bruce Eitman (eMVP) Senior Engineer Bruce.Eitman AT Eurotech DOT com My BLOG http: / / geekswithblogs.net / bruceeitman Eurotech Inc. www.Eurotech.com