WinCE
(1)
Bruce.Eitman
(1)
PrimaryLandId
(1)
PBWorkspace
(1)
SubLangId
(1)
Report
(1)
EMVP
(1)
Thed.imgII
(1)

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

thed.imgII=AD_MIPSII\oak_M=ADIPSII_Release\PreMakeImg.

GeraldH replied to JH
02-Feb-10 02:39 PM
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.

Hi,You say you do a "build current BSP"?

shai replied to JH
02-Feb-10 02:39 PM
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

John:I am confused.

Bruce Eitman [eMVP] replied to JH
02-Feb-10 12:42 PM
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
Hi Bruce,I did "Sysgen" after "Build Current BSP and Subprojects".
JH replied to Bruce Eitman [eMVP]
03-Feb-10 03:50 AM
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
Okay, be sure to review the blog post that Shai pointed you to.
Bruce Eitman [eMVP] replied to JH
03-Feb-10 08:29 AM
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
Post Question To EggHeadCafe