Dear All,

This was my first message to this group.
I am new to WinCE development .

I want to create a boot loader for WinCE 4.0 on X86 platform.
For that I followed the steps given in MSDN help.
When I tried to attempt ""Build your first boot loader executable
(.exe) file"" step given in MSDN i got the error as
""NMAKE : U1073: don't know how to make 'RomImage'""
and i didn't got Eboot.exe file.

What may be the wrong I am doing ??

Thanks in advance,
Regards,
Saradhi.

Re: NMAKE : U1073: don't know how to make 'RomImage' ????? by Bruce

Bruce
Fri Aug 27 07:56:40 CDT 2004

Show us the contents of your sources and makefile. Something is wrong with
one of them.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups



Re: NMAKE : U1073: don't know how to make 'RomImage' ????? by saradhidv

saradhidv
Mon Aug 30 00:08:42 CDT 2004

Thank you Bruce Eitman.
I am using the default source and make files supplied by microsoft.
Is there any wrong using these files ??
I am attaching the source and make files with this reply.

Thanks in Advance,

Regards,
Saradhi.
ESN Technologies,
Hyd,
India



/********SOURCE FILE*********************************/
!if 0
Copyright (c) Microsoft Corporation. All rights reserved.
!endif
!if 0
Use of this source code is subject to the terms of the Microsoft end-user
license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
If you did not accept the terms of the EULA, you are not authorized to use
this source code. For a copy of the EULA, please see the LICENSE.RTF on your
install media.
!endif
!IF 0


Module Name:

sources.

Abstract:

This file specifies the target component being built and the list of
sources files needed to build that component. Also specifies optional
compiler switches and libraries that are unique for the component being
built.

!ENDIF
SYNCHRONIZE_DRAIN=1
TARGETNAME=EBOOT
TARGETTYPE=PROGRAM
WINCECPU=1
RELEASETYPE=PLATFORM
EXEENTRY=StartUp
INCLUDES=$(_PUBLICROOT)\common\oak\csp\x86\loadcepc\inc; \
$(_PUBLICROOT)\common\oak\csp\i486\inc; \
..\inc; \$(_PUBLICROOT)\common\oak\inc;\
e:\wince400\public\common\oak\inc;\
$(_PUBLICROOT)\common\ddk\inc;

WINCETARGETFILES=RomImage

LDEFINES=-subsystem:native /DEBUG /DEBUGTYPE:CV /FIXED:NO
CDEFINES= $(CDEFINES) -DCOREDLL -DDRAW_PROGRESS_BAR=0

TARGETLIBS=$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\fulllibc.lib \
$(_COMMONOAKROOT)\lib\$(_CPUDEPPATH)\blcommon.lib \
$(_COMMONOAKROOT)\lib\$(_CPUDEPPATH)\ne2kdbg.lib \
$(_COMMONOAKROOT)\lib\$(_CPUDEPPATH)\rtl8139dbg.lib \
$(_COMMONOAKROOT)\lib\$(_CPUDEPPATH)\dp83815dbg.lib \
$(_COMMONOAKROOT)\lib\$(_CPUDEPPATH)\net2890lib.lib \
$(_COMMONOAKROOT)\lib\$(_CPUDEPPATH)\rne_mdd.lib \
$(_COMMONOAKROOT)\lib\$(_CPUDEPPATH)\eboot.lib

SOURCES=main.c \
debug.c \
pci.c \
pciconfig.c \
format.c \
oeminit.asm

/*********** END OF SOURCE FILE*******************************/

/************MAKE FILE****************************************/
!if 0
Copyright (c) Microsoft Corporation. All rights reserved.
!endif
!if 0
Use of this source code is subject to the terms of the Microsoft end-user
license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
If you did not accept the terms of the EULA, you are not authorized to use
this source code. For a copy of the EULA, please see the LICENSE.RTF on your
install media.
!endif

#
# DO NOT EDIT THIS FILE!!! Edit .\sources. if you want to add a new source
# file to this component. This file merely indirects to the real make file
# that is shared by all the components
#
!INCLUDE $(_MAKEENVROOT)\makefile.def
/*****************END OF MAKEFILE*****************************/


"Bruce Eitman \(eMVP\)" <beitmannospam@NOSPAM_applieddata.NOSPAM_net> wrote in message news:<OrBUNVDjEHA.384@TK2MSFTNGP10.phx.gbl>...
> Show us the contents of your sources and makefile. Something is wrong with
> one of them.
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> beitman AT applieddata DOT net
>
> Applied Data Systems
> www.applieddata.net
> An ISO 9001:2000 Registered Company
> Microsoft WEP Gold-level Member
>
> Do have an opinion on the effectiveness of Microsoft Windows Mobile and
> Embedded newsgroups? Let us know!
> https://www.windowsembeddedeval.com/community/newsgroups

Re: NMAKE : U1073: don't know how to make 'RomImage' ????? by Sujith

Sujith
Mon Aug 30 04:46:14 CDT 2004

hi saradhi,
r u sure u r using a file called, makefile.inc, with following contents,
RomImage:
romimage boot.bib
where the .bib file contains the informations like,if the SDRAM starting is
at 9MB.
MEMORY
DRV_GLB 00908000 00001000 RESERVED
EDBG 00910000 00020000 RESERVED
EBOOT 00930000 0000C000 RAMIMAGE
RAM 00938C00 00020000 RAM
FCACHE 00960000 01FA0000 RESERVED

CONFIG
COMPRESSION=OFF
PROFILE=OFF
KERNELFIXUPS=ON
ROMSTART=930000
ROMWIDTH=32
ROMSIZE=6800
MODULES
nk.exe $(_TARGETPLATROOT)\target\$(_TGTCPU)\$(WINCEDEBUG)\EBoot.exe
EBOOT
try now...
and let us know the status.........
regards
Sujith
"saradhi" <saradhidv@esntechnologies.co.in> wrote in message
news:659d003d.0408292108.34a4eb62@posting.google.com...
> Thank you Bruce Eitman.
> I am using the default source and make files supplied by microsoft.
> Is there any wrong using these files ??
> I am attaching the source and make files with this reply.
>
> Thanks in Advance,
>
> Regards,
> Saradhi.
> ESN Technologies,
> Hyd,
> India
>
>
>
> /********SOURCE FILE*********************************/
> !if 0
> Copyright (c) Microsoft Corporation. All rights reserved.
> !endif
> !if 0
> Use of this source code is subject to the terms of the Microsoft end-user
> license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
> If you did not accept the terms of the EULA, you are not authorized to use
> this source code. For a copy of the EULA, please see the LICENSE.RTF on
your
> install media.
> !endif
> !IF 0
>
>
> Module Name:
>
> sources.
>
> Abstract:
>
> This file specifies the target component being built and the list of
> sources files needed to build that component. Also specifies optional
> compiler switches and libraries that are unique for the component
being
> built.
>
> !ENDIF
> SYNCHRONIZE_DRAIN=1
> TARGETNAME=EBOOT
> TARGETTYPE=PROGRAM
> WINCECPU=1
> RELEASETYPE=PLATFORM
> EXEENTRY=StartUp
> INCLUDES=$(_PUBLICROOT)\common\oak\csp\x86\loadcepc\inc; \
> $(_PUBLICROOT)\common\oak\csp\i486\inc; \
> ..\inc; \$(_PUBLICROOT)\common\oak\inc;\
> e:\wince400\public\common\oak\inc;\
> $(_PUBLICROOT)\common\ddk\inc;
>
> WINCETARGETFILES=RomImage
>
> LDEFINES=-subsystem:native /DEBUG /DEBUGTYPE:CV /FIXED:NO
> CDEFINES= $(CDEFINES) -DCOREDLL -DDRAW_PROGRESS_BAR=0
>
> TARGETLIBS=$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\fulllibc.lib \
> $(_COMMONOAKROOT)\lib\$(_CPUDEPPATH)\blcommon.lib \
> $(_COMMONOAKROOT)\lib\$(_CPUDEPPATH)\ne2kdbg.lib \
> $(_COMMONOAKROOT)\lib\$(_CPUDEPPATH)\rtl8139dbg.lib \
> $(_COMMONOAKROOT)\lib\$(_CPUDEPPATH)\dp83815dbg.lib \
> $(_COMMONOAKROOT)\lib\$(_CPUDEPPATH)\net2890lib.lib \
> $(_COMMONOAKROOT)\lib\$(_CPUDEPPATH)\rne_mdd.lib \
> $(_COMMONOAKROOT)\lib\$(_CPUDEPPATH)\eboot.lib
>
> SOURCES=main.c \
> debug.c \
> pci.c \
> pciconfig.c \
> format.c \
> oeminit.asm
>
> /*********** END OF SOURCE FILE*******************************/
>
> /************MAKE FILE****************************************/
> !if 0
> Copyright (c) Microsoft Corporation. All rights reserved.
> !endif
> !if 0
> Use of this source code is subject to the terms of the Microsoft end-user
> license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
> If you did not accept the terms of the EULA, you are not authorized to use
> this source code. For a copy of the EULA, please see the LICENSE.RTF on
your
> install media.
> !endif
>
> #
> # DO NOT EDIT THIS FILE!!! Edit .\sources. if you want to add a new
source
> # file to this component. This file merely indirects to the real make
file
> # that is shared by all the components
> #
> !INCLUDE $(_MAKEENVROOT)\makefile.def
> /*****************END OF MAKEFILE*****************************/
>
>
> "Bruce Eitman \(eMVP\)" <beitmannospam@NOSPAM_applieddata.NOSPAM_net>
wrote in message news:<OrBUNVDjEHA.384@TK2MSFTNGP10.phx.gbl>...
> > Show us the contents of your sources and makefile. Something is wrong
with
> > one of them.
> >
> > --
> > Bruce Eitman (eMVP)
> > Senior Engineer
> > beitman AT applieddata DOT net
> >
> > Applied Data Systems
> > www.applieddata.net
> > An ISO 9001:2000 Registered Company
> > Microsoft WEP Gold-level Member
> >
> > Do have an opinion on the effectiveness of Microsoft Windows Mobile and
> > Embedded newsgroups? Let us know!
> > https://www.windowsembeddedeval.com/community/newsgroups



Re: NMAKE : U1073: don't know how to make 'RomImage' ????? by Bruce

Bruce
Mon Aug 30 06:45:29 CDT 2004

Right. It looks like either

1. You don't have a makefile.inc in that directory
or
2. You have a makefile.inc but it does not have
RomImage:
romimage boot.bib

Notice that "RomImage:" must be left justified (no spaces in front)

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups