Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Hi

While creating the .mod file 'm encountering this error:

--------------------------------------------------------------------------
C:\Users\~projects\myapp>nmake /f myapp.mak all
Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.
NMAKE : fatal error U1073: don't know how to make 'AEEMODGEN.o'
Stop.
----------------------------------------------------------------------------

As pointed out by Mitesh i cross checked the path to src file this seems right.

PFB the mak file 'm using:

[=RoyalBlue]#============================================================================
BREW_HOME =$(BREWDIR)
ARM_HOME =$(ARMHOME)
TARGET =LoanCalculator
OBJS =AEEModGen.o AEEAppGen.o LoanCalculator.o
APP_INCLUDES =-I $(BREWDIR)\inc -I C:\Program Files\BREW 3.1.5\inc

#-------------------------------------------------------------------------------
# Target file name and type definitions
#-------------------------------------------------------------------------------

EXETYPE = elf # Target image file format
MODULE = mod # Downloadable module extension

#-------------------------------------------------------------------------------
# Target compile time symbol definitions
#
# Tells the SDK source stuffs that we're building a dynamic app.
#-------------------------------------------------------------------------------

DYNAPP = -DDYNAMIC_APP

#-------------------------------------------------------------------------------
# Software tool and environment definitions
#-------------------------------------------------------------------------------

AEESRCPATH = $(BREW_HOME)\src
AEEINCPATH = $(BREW_HOME)\inc

ARMBIN = $(ARM_HOME)\RVCT\Programs\4.0\400\win_32-pentium # ARM ADS application directory
ARMINC = $(ARM_HOME)\RVCT\Data\4.0\400\include\windows # ARM ADS include file directory
ARMLIB = $(ARM_HOME)\RVCT\Data\4.0\400\lib # ARM ADS library directory

ARMCC = $(ARMBIN)\armcc # ARM ADS ARM 32-bit inst. set ANSI C compiler
LD = $(ARMBIN)\armlink # ARM ADS linker
HEXTOOL = $(ARMBIN)\fromelf # ARM ADS utility to create hex file from image

OBJ_CMD = -o # Command line option to specify output filename

#-------------------------------------------------------------------------------
# Processor architecture options
#-------------------------------------------------------------------------------

CPU = -cpu ARM7TDMI # ARM7TDMI target processor

#-------------------------------------------------------------------------------
# ARM Procedure Call Standard (APCS) options
#-------------------------------------------------------------------------------

ROPI = ropi # Read-Only(code) Position independence
INTERWRK = interwork # Allow ARM-Thumb interworking

APCS = -apcs /$(ROPI)/$(INTERWRK)/norwpi

#-------------------------------------------------------------------------------
# Additional compile time error checking options
#-------------------------------------------------------------------------------

#CHK = -fa # Check for data flow anomolies
CHK = -0o
#-------------------------------------------------------------------------------
# Compiler output options
#-------------------------------------------------------------------------------

OUT = -c # Object file output only

#-------------------------------------------------------------------------------
# Compiler/assembler debug options
#-------------------------------------------------------------------------------

DBG = -g # Enable debug

#-------------------------------------------------------------------------------
# Compiler optimization options
#-------------------------------------------------------------------------------

OPT = -Ospace -O2 # Full compiler optimization for space

#-------------------------------------------------------------------------------
# Compiler code generation options
#-------------------------------------------------------------------------------

END = -littleend # Compile for little endian memory architecture
ZA = -zo # LDR may only access 32-bit aligned addresses

CODE = $(END) $(ZA)

#-------------------------------------------------------------------------------
# Include file search path options
#-------------------------------------------------------------------------------

INC = -I. -I$(AEEINCPATH) $(APP_INCLUDES)

#-------------------------------------------------------------------------------
# Compiler pragma emulation options
#-------------------------------------------------------------------------------

#-------------------------------------------------------------------------------
# Linker options
#-------------------------------------------------------------------------------

LINK_CMD = -o #Command line option to specify output file
#on linking

ROPILINK = -ropi #Link image as Read-Only Position Independent

LINK_ORDER = -first AEEMod_Load

#-------------------------------------------------------------------------------
# HEXTOOL options
#-------------------------------------------------------------------------------

BINFORMAT = -bin

#-------------------------------------------------------------------------------
# Compiler flag definitions
#-------------------------------------------------------------------------------

CFLAGS0 = $(OUT) $(DYNAPP) $(CPU) $(APCS) $(CODE) $(CHK) $(DBG)
CFLAGS = $(CFLAGS0) $(OPT)

#-------------------------------------------------------------------------------
# Linker flag definitions
#-------------------------------------------------------------------------------

# the -entry flag is not really needed, but it keeps the linker from reporting
# warning L6305W (no entry point). The address
LFLAGS = $(ROPILINK) -rwpi -entry 0x8000#

#----------------------------------------------------------------------------
# Default target
#----------------------------------------------------------------------------

all : $(TARGET).$(MODULE)

#----------------------------------------------------------------------------
# Clean target
#----------------------------------------------------------------------------

# The object subdirectory, target image file, and target hex file are deleted.

clean :
@echo ---------------------------------------------------------------
@echo CLEAN
-del /f $(OBJS)
-del /f $(TARGET).$(EXETYPE)
-del /f $(TARGET).$(MODULE)
@echo ---------------------------------------------------------------

#=========================================================
# DEFAULT SUFFIX RULES
#=========================================================

# The following are the default suffix rules used to compile all objects that
# are not specifically included in one of the module specific rules defined
# in the next section.

# The following macros are used to specify the output object file, MSG_FILE
# symbol definition and input source file on the compile line in the rules
# defined below.

SRC_FILE = $(@F:.o=.c) # Input source file specification
OBJ_FILE = $(OBJ_CMD) $(@F) # Output object file specification

.SUFFIXES :
.SUFFIXES : .o .dep .c

#--------------------------------------------------------------------------
# C code inference rules
#----------------------------------------------------------------------------

.c.o:
@echo ---------------------------------------------------------------
@echo OBJECT $(@F)
$(ARMCC) $(CFLAGS) $(INC) $(OBJ_FILE) $(SRC_FILE)
@echo ---------------------------------------------------------------

.c.mix:
@echo ---------------------------------------------------------------
@echo OBJECT $(@F)
$(ARMCC) -S -fs $(CFLAGS) $(INC) $(OBJ_FILE) $<
@echo ---------------------------------------------------------------

{$(AEESRCPATH)}.c.o:
@echo ---------------------------------------------------------------
@echo OBJECT $(@F)
$(ARMCC) $(CFLAGS) $(INC) $(OBJ_FILE) $(AEESRCPATH)\$(SRC_FILE)
@echo ---------------------------------------------------------------

#=========================================================
# MODULE SPECIFIC RULES
#=========================================================

APP_OBJS = $(OBJS)

#----------------------------------------------------------------------------
# Lib file targets
#----------------------------------------------------------------------------

$(TARGET).$(MODULE) : $(TARGET).$(EXETYPE)
@echo ---------------------------------------------------------------
@echo TARGET $@
$(HEXTOOL) $(TARGET).$(EXETYPE) $(BINFORMAT) $(TARGET).$(MODULE)

$(TARGET).$(EXETYPE) : $(APP_OBJS)
@echo ---------------------------------------------------------------
@echo TARGET $@
$(LD) $(LINK_CMD) $(TARGET).$(EXETYPE) $(LFLAGS) $(APP_OBJS) $(LINK_ORDER)

#----------------------------------------------------------------------------
# Applet Specific Rules
#----------------------------------------------------------------------------

RULE1 = c:\Users\vivek_sharma06\Documents\Visual Studio 2005\Projects\LoanCalculator
{$(RULE1)}.c.o:
@echo ---------------------------------------------------------------
@echo OBJECT $(@F)
$(ARMCC) $(CFLAGS) $(INC) $(OBJ_FILE) $(RULE1)\$(SRC_FILE)
@echo ---------------------------------------------------------------
[]

this thread originated in BREW3.x thread. Find original thread @
http://brewforums.qualcomm.com/showthread.php?mode=hybrid&t=20902
PS- Thnx akshay for pointing out the current thread

this thread originated in BREW3.x thread. Find original thread @
http://brewforums.qualcomm.com/showthread.php?mode=hybrid&t=20902
PS- Thnx akshay for pointing out the current thread

Hi Vivek
I am not sure whether this is an error or not.
Your application name is in capital letters, as far as I know brew is case sensitive and all names should be in small case only.
Just check whether this might be the problem or re check the environment variables for the SDK.
Regards
Akshay

Hi Vivek
I am not sure whether this is an error or not.
Your application name is in capital letters, as far as I know brew is case sensitive and all names should be in small case only.
Just check whether this might be the problem or re check the environment variables for the SDK.
Regards
Akshay

Hi Vivek,
Can you try coping AEEModGen.c and AEEAppGen.c to your project folder. if still you will get same error then it is not related to path.
Or may be put LoanCalculator.c at the beginning in compilation sequence(like OBJS =LoanCalculator.o AEEModGen.o AEEAppGen.o).
let us know the result.
Regards,
Mitesh

Hi Vivek,
Can you try coping AEEModGen.c and AEEAppGen.c to your project folder. if still you will get same error then it is not related to path.
Or may be put LoanCalculator.c at the beginning in compilation sequence(like OBJS =LoanCalculator.o AEEModGen.o AEEAppGen.o).
let us know the result.
Regards,
Mitesh

Solved the previous issue (thnx Mithes for the suggestion to putting myapp.o at first place ) :)
But got a new error msg now. it goes as:
...........................................................................................................................
OBJECT LoanCalculator.o
C:\apps\arm\RVCT\Programs\4.0\400\win_32-pentium\armcc -c -DDYNAMIC_APP
-cpu ARM7TDMI -apcs /ropi/interwork/norwpi -littleend -zo -oo -g -Ospace -O2 -I.
-IC:\PROGRA~1\BREW 3.1.5\sdk\inc -I C:\PROGRA~1\BREW 3.1.5\sdk\inc -I C:\Progra
m Files\BREW 3.1.5\inc -o LoanCalculator.o LoanCalculator.c
Warning: C3910W: Old syntax, please use '--cpu'.
Warning: C3910W: Old syntax, please use '--apcs'.
Warning: C3910W: Old syntax, please use '--littleend'.
Warning: C3912W: Option 'zo' is deprecated.
Warning: C9931W: Your license for Compiler (feature compiler) will expire in 29
days
Error: C3065E: type of input file '3.1.5\sdk\inc' unknown
Error: C3065E: type of input file '3.1.5\sdk\inc' unknown
Error: C3065E: type of input file 'Files\BREW' unknown
Error: C3065E: type of input file '3.1.5\inc' unknown
"LoanCalculator.c", line 10: Error: #5: cannot open source input file "AEEModGe
n.h": No such file or directory
#include "AEEModGen.h" // Module interface definitions
^
LoanCalculator.c: 0 warnings, 1 error
NMAKE : fatal error U1077: 'C:\apps\arm\RVCT\Programs\4.0\400\win_32-pentium\arm
cc.EXE' : return code '0x1'
Stop.
...........................................................................................................................
any suggestions???

Solved the previous issue (thnx Mithes for the suggestion to putting myapp.o at first place ) :)
But got a new error msg now. it goes as:
...........................................................................................................................
OBJECT LoanCalculator.o
C:\apps\arm\RVCT\Programs\4.0\400\win_32-pentium\armcc -c -DDYNAMIC_APP
-cpu ARM7TDMI -apcs /ropi/interwork/norwpi -littleend -zo -oo -g -Ospace -O2 -I.
-IC:\PROGRA~1\BREW 3.1.5\sdk\inc -I C:\PROGRA~1\BREW 3.1.5\sdk\inc -I C:\Progra
m Files\BREW 3.1.5\inc -o LoanCalculator.o LoanCalculator.c
Warning: C3910W: Old syntax, please use '--cpu'.
Warning: C3910W: Old syntax, please use '--apcs'.
Warning: C3910W: Old syntax, please use '--littleend'.
Warning: C3912W: Option 'zo' is deprecated.
Warning: C9931W: Your license for Compiler (feature compiler) will expire in 29
days
Error: C3065E: type of input file '3.1.5\sdk\inc' unknown
Error: C3065E: type of input file '3.1.5\sdk\inc' unknown
Error: C3065E: type of input file 'Files\BREW' unknown
Error: C3065E: type of input file '3.1.5\inc' unknown
"LoanCalculator.c", line 10: Error: #5: cannot open source input file "AEEModGe
n.h": No such file or directory
#include "AEEModGen.h" // Module interface definitions
^
LoanCalculator.c: 0 warnings, 1 error
NMAKE : fatal error U1077: 'C:\apps\arm\RVCT\Programs\4.0\400\win_32-pentium\arm
cc.EXE' : return code '0x1'
Stop.
...........................................................................................................................
any suggestions???

Hi,
This is again error of your path only. It looks like it is not takeing path having spaces like C:\Programe files\BREW SDK.... you can try two things for every path
1. Use path under parenthesis like... "C:\Program Files\BREW 3.1.5\sdk" OR
2. Use path in C:\PROGRA~1\BREW31~1.5\sdk in this format.
This should solve your problem.
Regards,
Mitesh

Hi,
This is again error of your path only. It looks like it is not takeing path having spaces like C:\Programe files\BREW SDK.... you can try two things for every path
1. Use path under parenthesis like... "C:\Program Files\BREW 3.1.5\sdk" OR
2. Use path in C:\PROGRA~1\BREW31~1.5\sdk in this format.
This should solve your problem.
Regards,
Mitesh

thnx ton mitesh. your suggestion solved the problem but partially
as you see in the mak file we are referencing 3 obj files , AEEMOD~1.o and AEEAPP~1.o as below:
======================================================
LOCAL_OBJS =LoanCalculator.o AEEAPP~1.o AEEMOD~1.o
APP_INCLUDES =-I "C:\Program Files\BREW 3.1.5\sdk\inc" -I "C:\Program Files\BREW 3.1.5\inc"
AEESRCPATH = $(BREW_HOME)\src
AEEINCPATH = $(BREW_HOME)\inc
======================================================
Now we are getting this kind of error, for the whatever file be at the last position :
-------------------------------------------------------------------------------------
NMAKE : fatal error U1073: don't know how to make 'AEEAPP~1.o'
Stop.
or
NMAKE : fatal error U1073: don't know how to make 'AEEMOD~1.o'
Stop.
--------------------------------------------------------------------------------------
does this seems to be an issue with path??? yet again :confused:
thnx in advance
vivek

thnx ton mitesh. your suggestion solved the problem but partially
as you see in the mak file we are referencing 3 obj files , AEEMOD~1.o and AEEAPP~1.o as below:
======================================================
LOCAL_OBJS =LoanCalculator.o AEEAPP~1.o AEEMOD~1.o
APP_INCLUDES =-I "C:\Program Files\BREW 3.1.5\sdk\inc" -I "C:\Program Files\BREW 3.1.5\inc"
AEESRCPATH = $(BREW_HOME)\src
AEEINCPATH = $(BREW_HOME)\inc
======================================================
Now we are getting this kind of error, for the whatever file be at the last position :
-------------------------------------------------------------------------------------
NMAKE : fatal error U1073: don't know how to make 'AEEAPP~1.o'
Stop.
or
NMAKE : fatal error U1073: don't know how to make 'AEEMOD~1.o'
Stop.
--------------------------------------------------------------------------------------
does this seems to be an issue with path??? yet again :confused:
thnx in advance
vivek

viveksharma wrote:thnx ton mitesh. your suggestion solved the problem but partially
as you see in the mak file we are referencing 3 obj files , AEEMOD~1.o and AEEAPP~1.o as below:
======================================================
LOCAL_OBJS =LoanCalculator.o AEEAPP~1.o AEEMOD~1.o
APP_INCLUDES =-I "C:\Program Files\BREW 3.1.5\sdk\inc" -I "C:\Program Files\BREW 3.1.5\inc"
AEESRCPATH = $(BREW_HOME)\src
AEEINCPATH = $(BREW_HOME)\inc
======================================================
Now we are getting this kind of error, for the whatever file be at the last position :
-------------------------------------------------------------------------------------
NMAKE : fatal error U1073: don't know how to make 'AEEAPP~1.o'
Stop.
or
NMAKE : fatal error U1073: don't know how to make 'AEEMOD~1.o'
Stop.
--------------------------------------------------------------------------------------
does this seems to be an issue with path??? yet again :confused:
thnx in advance
vivek
try copying files to ur directory and compile should work, its not able to find those src files to build .o of it

viveksharma wrote:thnx ton mitesh. your suggestion solved the problem but partially
as you see in the mak file we are referencing 3 obj files , AEEMOD~1.o and AEEAPP~1.o as below:
======================================================
LOCAL_OBJS =LoanCalculator.o AEEAPP~1.o AEEMOD~1.o
APP_INCLUDES =-I "C:\Program Files\BREW 3.1.5\sdk\inc" -I "C:\Program Files\BREW 3.1.5\inc"
AEESRCPATH = $(BREW_HOME)\src
AEEINCPATH = $(BREW_HOME)\inc
======================================================
Now we are getting this kind of error, for the whatever file be at the last position :
-------------------------------------------------------------------------------------
NMAKE : fatal error U1073: don't know how to make 'AEEAPP~1.o'
Stop.
or
NMAKE : fatal error U1073: don't know how to make 'AEEMOD~1.o'
Stop.
--------------------------------------------------------------------------------------
does this seems to be an issue with path??? yet again :confused:
thnx in advance
vivek
try copying files to ur directory and compile should work, its not able to find those src files to build .o of it

have tried this also.
But the issue does not ends there. if i copy these 2 files and try to compile its again prompting similar errors for other files being referenced by these header files e.g. AEE.h etc
this way i would have to copy many a file to app folder. this doesnot seems to be the right way :eek: but dont know any other way :(

have tried this also.
But the issue does not ends there. if i copy these 2 files and try to compile its again prompting similar errors for other files being referenced by these header files e.g. AEE.h etc
this way i would have to copy many a file to app folder. this doesnot seems to be the right way :eek: but dont know any other way :(

try using the attached mak file for compiling..

try using the attached mak file for compiling..

hi Shiva
we have tried all this but its all the same results :(

hi Shiva
we have tried all this but its all the same results :(

clean all ur .o file/verify ur src folder is in place.
can you use the attached mak and copy the whole logging at dos prompt here.
it seems more of a BREW DIR or a path conflict.
thanks,
Shivendra

clean all ur .o file/verify ur src folder is in place.
can you use the attached mak and copy the whole logging at dos prompt here.
it seems more of a BREW DIR or a path conflict.
thanks,
Shivendra

Hi Shiva
we tried your version of the make file but with that we were not able to compile (no .o file created). The output goes as:
C:\Users\vivek_sharma06\Documents\Visual Studio 2005\Projects\LoanCalculator>nma
ke /f LoanCalculator.mak all
Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.
NMAKE : fatal error U1073: don't know how to make 'AEEAppGen.o'
Stop.
**************************************************************************************
We tried our mak file, we were able to compile the code (LoanCalculator.o file wqas created) but this linker error occcured:
---------------------------------------------------------------
OBJECT LoanCalculator.o
C:\apps\arm\RVCT\Programs\4.0\400\win_32-pentium\armcc -c -DDYNAMIC_APP
--cpu ARM7TDMI --apcs /ropi/interwork/norwpi --littleend -zo -oo -g -Ospace -O2
-I. -IC:\PROGRA~1\BREW 3.1.5\sdk\inc -I "C:\Program Files\BREW 3.1.5\sdk\inc" -I
"C:\Program Files\BREW 3.1.5\inc" -o LoanCalculator.o LoanCalculator.c
Warning: C3912W: Option 'zo' is deprecated.
Warning: C9931W: Your license for Compiler (feature compiler) will expire in 27
days
Error: C3065E: type of input file '3.1.5\sdk\inc' unknown
"LoanCalculator.c", line 1412: Warning: #767-D: conversion from pointer to smal
ler integer
SETAEERECT(&pMe->m_rScreenRect, 0, pImageInfo->cy, &pMe->DeviceInfo.cxSc
reen,(&pMe->DeviceInfo.cyScreen-&pImageInfo->cy));
^
LoanCalculator.c: 1 warning, 0 errors
---------------------------------------------------------------
NMAKE : fatal error U1073: don't know how to make 'AEEAPP~1.o'
Stop.
*******************************************************
PFA the .mak file 'm currently using

Hi Shiva
we tried your version of the make file but with that we were not able to compile (no .o file created). The output goes as:
C:\Users\vivek_sharma06\Documents\Visual Studio 2005\Projects\LoanCalculator>nma
ke /f LoanCalculator.mak all
Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.
NMAKE : fatal error U1073: don't know how to make 'AEEAppGen.o'
Stop.
**************************************************************************************
We tried our mak file, we were able to compile the code (LoanCalculator.o file wqas created) but this linker error occcured:
---------------------------------------------------------------
OBJECT LoanCalculator.o
C:\apps\arm\RVCT\Programs\4.0\400\win_32-pentium\armcc -c -DDYNAMIC_APP
--cpu ARM7TDMI --apcs /ropi/interwork/norwpi --littleend -zo -oo -g -Ospace -O2
-I. -IC:\PROGRA~1\BREW 3.1.5\sdk\inc -I "C:\Program Files\BREW 3.1.5\sdk\inc" -I
"C:\Program Files\BREW 3.1.5\inc" -o LoanCalculator.o LoanCalculator.c
Warning: C3912W: Option 'zo' is deprecated.
Warning: C9931W: Your license for Compiler (feature compiler) will expire in 27
days
Error: C3065E: type of input file '3.1.5\sdk\inc' unknown
"LoanCalculator.c", line 1412: Warning: #767-D: conversion from pointer to smal
ler integer
SETAEERECT(&pMe->m_rScreenRect, 0, pImageInfo->cy, &pMe->DeviceInfo.cxSc
reen,(&pMe->DeviceInfo.cyScreen-&pImageInfo->cy));
^
LoanCalculator.c: 1 warning, 0 errors
---------------------------------------------------------------
NMAKE : fatal error U1073: don't know how to make 'AEEAPP~1.o'
Stop.
*******************************************************
PFA the .mak file 'm currently using

i just had a quick look at ur makfile and i observed the below two lines.
if the 1st way of specifying the path works for u why dont u use the same in the 2nd as wel, also try on edit option on cmd and then use it to set the path if this dunt work.
//1
APP_INCLUDES =-I "C:\Program Files\BREW 3.1.5\sdk\inc" -I "C:\Program Files\BREW 3.1.5\inc"
//2
AEESRCPATH = $(BREW_HOME)\src
AEEINCPATH = $(BREW_HOME)\inc
HTH
manju

i just had a quick look at ur makfile and i observed the below two lines.
if the 1st way of specifying the path works for u why dont u use the same in the 2nd as wel, also try on edit option on cmd and then use it to set the path if this dunt work.
//1
APP_INCLUDES =-I "C:\Program Files\BREW 3.1.5\sdk\inc" -I "C:\Program Files\BREW 3.1.5\inc"
//2
AEESRCPATH = $(BREW_HOME)\src
AEEINCPATH = $(BREW_HOME)\inc
HTH
manju

Hi manju have tried this also
got the following output:
***********************************************************
C:\Users\vivek_sharma06\Documents\Visual Studio 2005\Projects\LoanCalculator>nmake /f LoanCalculator.mak all
Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.
---------------------------------------------------------------
OBJECT LoanCalculator.o
C:\apps\arm\RVCT\Programs\4.0\400\win_32-pentium\armcc -c -DDYNAMIC_APP
--cpu ARM7TDMI --apcs /ropi/interwork/norwpi --littleend -zo -oo -g -Ospace -O2
-I. -I"C:\Program Files\BREW 3.1.5\sdk\inc" -I "C:\Program Files\BREW 3.1.5\sdk\
inc" -I "C:\Program Files\BREW 3.1.5\inc" -o LoanCalculator.o LoanCalculator.c
Warning: C3912W: Option 'zo' is deprecated.
Warning: C9931W: Your license for Compiler (feature compiler) will expire in 27
days
"LoanCalculator.c", line 1412: Warning: #767-D: conversion from pointer to smal
ler integer
SETAEERECT(&pMe->m_rScreenRect, 0, pImageInfo->cy, &pMe->DeviceInfo.cxSc
reen,(&pMe->DeviceInfo.cyScreen-&pImageInfo->cy));
^
LoanCalculator.c: 1 warning, 0 errors
---------------------------------------------------------------
NMAKE : fatal error U1073: don't know how to make 'AEEAPP~1.o'
Stop.
***********************************************************
still got that fatal error... could it be the warning whic is causing the problem???
regards
vivek

Hi manju have tried this also
got the following output:
***********************************************************
C:\Users\vivek_sharma06\Documents\Visual Studio 2005\Projects\LoanCalculator>nmake /f LoanCalculator.mak all
Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.
---------------------------------------------------------------
OBJECT LoanCalculator.o
C:\apps\arm\RVCT\Programs\4.0\400\win_32-pentium\armcc -c -DDYNAMIC_APP
--cpu ARM7TDMI --apcs /ropi/interwork/norwpi --littleend -zo -oo -g -Ospace -O2
-I. -I"C:\Program Files\BREW 3.1.5\sdk\inc" -I "C:\Program Files\BREW 3.1.5\sdk\
inc" -I "C:\Program Files\BREW 3.1.5\inc" -o LoanCalculator.o LoanCalculator.c
Warning: C3912W: Option 'zo' is deprecated.
Warning: C9931W: Your license for Compiler (feature compiler) will expire in 27
days
"LoanCalculator.c", line 1412: Warning: #767-D: conversion from pointer to smal
ler integer
SETAEERECT(&pMe->m_rScreenRect, 0, pImageInfo->cy, &pMe->DeviceInfo.cxSc
reen,(&pMe->DeviceInfo.cyScreen-&pImageInfo->cy));
^
LoanCalculator.c: 1 warning, 0 errors
---------------------------------------------------------------
NMAKE : fatal error U1073: don't know how to make 'AEEAPP~1.o'
Stop.
***********************************************************
still got that fatal error... could it be the warning whic is causing the problem???
regards
vivek

viveksharma wrote:
could it be the warning whic is causing the problem???
vivek
i just had a again a deep look into ur mak and u have specified AEEAPP~1.o AEEMOD~1.o
and there is no such file.
i mean the file name u supposed to give is AEEAppGen.o AEEModGen.o

viveksharma wrote:
could it be the warning whic is causing the problem???
vivek
i just had a again a deep look into ur mak and u have specified AEEAPP~1.o AEEMOD~1.o
and there is no such file.
i mean the file name u supposed to give is AEEAppGen.o AEEModGen.o

This is a generic way of addressing the files.. any way we have tried the "AEEAppGen.o" also with the same results.
btw the warning is no issue as we tried by removing that piece of code. we got 0 warning but still the same fatal error
regards
vivek

This is a generic way of addressing the files.. any way we have tried the "AEEAppGen.o" also with the same results.
btw the warning is no issue as we tried by removing that piece of code. we got 0 warning but still the same fatal error
regards
vivek

1. verify this path:-
c:\progra~1\brew31~1.5\sdk\src : contains the AEEModGen.c & AEEAppGen.c
-unzip the sample1.zip
-from cmd prompt move to the sample1 folder & try running nmake.
If it gives the same error-
copy the AEEModGen.c & AEEAppGen.c to sample1 folder(don't use any subdir) & try again.
_____
2. try to clean & generate a mod for the helloworld example in BREW sdk using the original 'mak' file it contains.
_____
3. If nothing works/ copy direct commands to cmd prompt
go to ur App dir from cmd prompt:-
C:\apps\arm\RVCT\Programs\4.0\400\win_32-pentium\armcc -c -DDYNAMIC_APP
--cpu ARM7TDMI --apcs /ropi/interwork/norwpi --littleend -zo -oo -g -Ospace -O2
-I. -I"C:\Program Files\BREW 3.1.5\sdk\inc" -I "C:\Program Files\BREW 3.1.5\sdk\
inc" -I "C:\Program Files\BREW 3.1.5\inc" -o "C:\Program Files\BREW 3.1.5\src\AEEModGen.c" AEEModGen.o
- similarly for AEEAppGen.o
after you get the .o files for AEEModGen.o & AEEAppGen.o run your nmake /f all

1. verify this path:-
c:\progra~1\brew31~1.5\sdk\src : contains the AEEModGen.c & AEEAppGen.c
-unzip the sample1.zip
-from cmd prompt move to the sample1 folder & try running nmake.
If it gives the same error-
copy the AEEModGen.c & AEEAppGen.c to sample1 folder(don't use any subdir) & try again.
_____
2. try to clean & generate a mod for the helloworld example in BREW sdk using the original 'mak' file it contains.
_____
3. If nothing works/ copy direct commands to cmd prompt
go to ur App dir from cmd prompt:-
C:\apps\arm\RVCT\Programs\4.0\400\win_32-pentium\armcc -c -DDYNAMIC_APP
--cpu ARM7TDMI --apcs /ropi/interwork/norwpi --littleend -zo -oo -g -Ospace -O2
-I. -I"C:\Program Files\BREW 3.1.5\sdk\inc" -I "C:\Program Files\BREW 3.1.5\sdk\
inc" -I "C:\Program Files\BREW 3.1.5\inc" -o "C:\Program Files\BREW 3.1.5\src\AEEModGen.c" AEEModGen.o
- similarly for AEEAppGen.o
after you get the .o files for AEEModGen.o & AEEAppGen.o run your nmake /f all

hi Shiva
option 1 & 2 didnt worked so i tried with the 3rd one. this is the output we are getting:
=======================================================
C:\Users\vivek_sharma06\Documents\Visual Studio 2005\Projects\LoanCalculator>C:\apps\arm\RVCT\Programs\4.0\400\win_32-pentium\armcc -c -DDYNAMIC_APP --cpu ARM7T
DMI --apcs /ropi/interwork/norwpi --littleend -zo -oo -g -Ospace -O2 -I. -I"C:\P
rogram Files\BREW 3.1.5\sdk\inc" -I "C:\Program Files\BREW 3.1.5\sdk\ inc" -I "C
:\Program Files\BREW 3.1.5\inc" -o "C:\Program Files\BREW 3.1.5\src\AEEModGen.c"
AEEModGen.o
Warning: C3912W: Option 'zo' is deprecated.
Warning: C3486W: option '-c' causes input file 'AEEModGen.o' to be ignored
Error: C3079E: armcc command with no effect
=======================================================
when i removed the "-c" parameter i got the following outcome:
=======================================================
C:\Users\vivek_sharma06\Documents\Visual Studio 2005\Projects\LoanCalculator>C:\
apps\arm\RVCT\Programs\4.0\400\win_32-pentium\armcc -DDYNAMIC_APP --cpu ARM7TDMI
--apcs /ropi/interwork/norwpi --littleend -zo -oo -g -Ospace -O2 -I. -I"C:\Prog
ram Files\BREW 3.1.5\sdk\inc" -I "C:\Program Files\BREW 3.1.5\sdk\ inc" -I "C:\P
rogram Files\BREW 3.1.5\inc" -o "C:\Program Files\BREW 3.1.5\src\AEEModGen.c" AE
EModGen.o
Warning: C3912W: Option 'zo' is deprecated.
Warning: C9931W: Your license for Compiler (feature compiler) will expire in 24
days
Fatal error: L6002U: Could not open file AEEModGen.o: No such file or directory
Finished: 0 information, 0 warning, 0 error and 1 fatal error messages.
======================================================
regards
vivek

hi Shiva
option 1 & 2 didnt worked so i tried with the 3rd one. this is the output we are getting:
=======================================================
C:\Users\vivek_sharma06\Documents\Visual Studio 2005\Projects\LoanCalculator>C:\apps\arm\RVCT\Programs\4.0\400\win_32-pentium\armcc -c -DDYNAMIC_APP --cpu ARM7T
DMI --apcs /ropi/interwork/norwpi --littleend -zo -oo -g -Ospace -O2 -I. -I"C:\P
rogram Files\BREW 3.1.5\sdk\inc" -I "C:\Program Files\BREW 3.1.5\sdk\ inc" -I "C
:\Program Files\BREW 3.1.5\inc" -o "C:\Program Files\BREW 3.1.5\src\AEEModGen.c"
AEEModGen.o
Warning: C3912W: Option 'zo' is deprecated.
Warning: C3486W: option '-c' causes input file 'AEEModGen.o' to be ignored
Error: C3079E: armcc command with no effect
=======================================================
when i removed the "-c" parameter i got the following outcome:
=======================================================
C:\Users\vivek_sharma06\Documents\Visual Studio 2005\Projects\LoanCalculator>C:\
apps\arm\RVCT\Programs\4.0\400\win_32-pentium\armcc -DDYNAMIC_APP --cpu ARM7TDMI
--apcs /ropi/interwork/norwpi --littleend -zo -oo -g -Ospace -O2 -I. -I"C:\Prog
ram Files\BREW 3.1.5\sdk\inc" -I "C:\Program Files\BREW 3.1.5\sdk\ inc" -I "C:\P
rogram Files\BREW 3.1.5\inc" -o "C:\Program Files\BREW 3.1.5\src\AEEModGen.c" AE
EModGen.o
Warning: C3912W: Option 'zo' is deprecated.
Warning: C9931W: Your license for Compiler (feature compiler) will expire in 24
days
Fatal error: L6002U: Could not open file AEEModGen.o: No such file or directory
Finished: 0 information, 0 warning, 0 error and 1 fatal error messages.
======================================================
regards
vivek

BREW_HOME ="C:\Program Files\BREW 3.1.5\sdk"
#ARM_HOME =$(ARMHOME)
ARM_HOME = "C:\apps\arm"
TARGET =LoanCalculator
#TARGETDIR =$(TARGET)
TARGETDIR ="C:\Users\vivek_sharma06\Documents\Visual Studio 2005\Projects\LoanCalculator"
#LOCAL_OBJS =$(TARGETDIR)\$(TARGET).o
OBJS =LoanCalculator.o AEEMOD~1.o AEEAPP~1.o
#OBJS =AEEAppGen.o AEEModGen.o LoanCalculator.o
#APP_INCLUDES =-I $(BREWDIR)\inc -I $(BREWDIR)\..\inc
APP_INCLUDES =-I "C:\Program Files\BREW 3.1.5\sdk\inc" -I "C:\Program Files\BREW 3.1.5\inc"
#-------------------------------------------------------------------------------
# Target file name and type definitions
#-------------------------------------------------------------------------------
EXETYPE =elf# # Target image file format
MODULE =mod# # Downloadable module extension
#-------------------------------------------------------------------------------
# Target compile time symbol definitions
#
# Tells the SDK source stuffs that we're building a dynamic app.
#-------------------------------------------------------------------------------
DYNAPP = -DDYNAMIC_APP
#-------------------------------------------------------------------------------
# Software tool and environment definitions
#-------------------------------------------------------------------------------
#AEESRCPATH = $(BREW_HOME)\src
#AEEINCPATH = $(BREW_HOME)\inc
AEESRCPATH = "C:\Program Files\BREW 3.1.5\sdk\src"
AEEINCPATH = "C:\Program Files\BREW 3.1.5\sdk\inc"
#ARMBIN = $(ARM_HOME)\bin
#ARMINC = $(ARM_HOME)\include
#ARMLIB = $(ARM_HOME)\bin
ARMBIN = $(ARM_HOME)\RVCT\Programs\4.0\400\win_32-pentium # ARM ADS application directory
ARMINC = $(ARM_HOME)\RVCT\Data\4.0\400\include\windows # ARM ADS include file directory
ARMLIB = $(ARM_HOME)\RVCT\Data\4.0\400\lib # ARM ADS library directory
ARMCC = $(ARMBIN)\armcc # ARM ADS ARM 32-bit inst. set ANSI C compiler
LD = $(ARMBIN)\armlink # ARM ADS linker
HEXTOOL = $(ARMBIN)\fromelf # ARM ADS utility to create hex file from image
OBJ_CMD = -o # Command line option to specify output filename
#-------------------------------------------------------------------------------
# Processor architecture options
#-------------------------------------------------------------------------------
CPU = --cpu ARM7TDMI # ARM7TDMI target processor
#-------------------------------------------------------------------------------
# ARM Procedure Call Standard (APCS) options
#-------------------------------------------------------------------------------
ROPI = ropi # Read-Only(code) Position independence
INTERWRK = interwork # Allow ARM-Thumb interworking
APCS = --apcs /$(ROPI)/$(INTERWRK)/norwpi
#-------------------------------------------------------------------------------
# Additional compile time error checking options
#-------------------------------------------------------------------------------
#CHK = -fa # Check for data flow anomolies
CHK = -oo
#-------------------------------------------------------------------------------
# Compiler output options
#-------------------------------------------------------------------------------
OUT = -c # Object file output only
#-------------------------------------------------------------------------------
# Compiler/assembler debug options
#-------------------------------------------------------------------------------
DBG = -g # Enable debug
#-------------------------------------------------------------------------------
# Compiler optimization options
#-------------------------------------------------------------------------------
OPT = -Ospace -O2 # Full compiler optimization for space
#-------------------------------------------------------------------------------
# Compiler code generation options
#-------------------------------------------------------------------------------
END = --littleend # Compile for little endian memory architecture
ZA = -zo # LDR may only access 32-bit aligned addresses
CODE = $(END) $(ZA)
#-------------------------------------------------------------------------------
# Include file search path options
#-------------------------------------------------------------------------------
INC = -I. -I$(AEEINCPATH) $(APP_INCLUDES)
#-------------------------------------------------------------------------------
# Compiler pragma emulation options
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
# Linker options
#-------------------------------------------------------------------------------
LINK_CMD = -o #Command line option to specify output file
#on linking
ROPILINK = -ropi #Link image as Read-Only Position Independent
LINK_ORDER = -first AEEMod_Load
#-------------------------------------------------------------------------------
# HEXTOOL options
#-------------------------------------------------------------------------------
BINFORMAT = -bin
#-------------------------------------------------------------------------------
# Compiler flag definitions
#-------------------------------------------------------------------------------
CFLAGS0 = $(OUT) $(DYNAPP) $(CPU) $(APCS) $(CODE) $(CHK) $(DBG)
CFLAGS = $(CFLAGS0) $(OPT)
#-------------------------------------------------------------------------------
# Linker flag definitions
#-------------------------------------------------------------------------------
# the -entry flag is not really needed, but it keeps the linker from reporting
# warning L6305W (no entry point). The address
LFLAGS = $(ROPILINK) -rwpi -entry 0x8000#
#----------------------------------------------------------------------------
# Default target
#----------------------------------------------------------------------------
all : $(TARGET).$(MODULE)
#----------------------------------------------------------------------------
# Clean target
#----------------------------------------------------------------------------
# The object subdirectory, target image file, and target hex file are deleted.
clean :
@echo ---------------------------------------------------------------
@echo CLEAN
#-del /f $(LOCAL_OBJS)
-del /f $(OBJS)
-del /f $(TARGET).$(EXETYPE)
-del /f $(TARGET).$(MODULE)
@echo ---------------------------------------------------------------
#============================================================================
# DEFAULT SUFFIX RULES
#============================================================================
# The following are the default suffix rules used to compile all objects that
# are not specifically included in one of the module specific rules defined
# in the next section.
# The following macros are used to specify the output object file, MSG_FILE
# symbol definition and input source file on the compile line in the rules
# defined below.
SRC_FILE = $(@F:.o=.c) # Input source file specification
OBJ_FILE = $(OBJ_CMD) $(@F) # Output object file specification
.SUFFIXES :
.SUFFIXES : .o .dep .c
#--------------------------------------------------------------------------
# C code inference rules
#----------------------------------------------------------------------------
.c.o:
@echo ---------------------------------------------------------------
@echo OBJECT $(@F)
$(ARMCC) $(CFLAGS) $(INC) $(OBJ_FILE) $(SRC_FILE)
@echo ---------------------------------------------------------------
.c.mix:
@echo ---------------------------------------------------------------
@echo OBJECT $(@F)
$(ARMCC) -S -fs $(CFLAGS) $(INC) $(OBJ_FILE) $<
@echo ---------------------------------------------------------------
{$(AEESRCPATH)}.c.o:
@echo ---------------------------------------------------------------
@echo OBJECT $(@F)
$(ARMCC) $(CFLAGS) $(INC) $(OBJ_FILE) $(AEESRCPATH)\$(SRC_FILE)
@echo ---------------------------------------------------------------
#===============================================================================
# MODULE SPECIFIC RULES
#===============================================================================
#APP_OBJS = $(LOCAL_OBJS)
APP_OBJS = $(OBJS)
#----------------------------------------------------------------------------
# Lib file targets
#----------------------------------------------------------------------------
$(TARGET).$(MODULE) : $(TARGET).$(EXETYPE)
@echo ---------------------------------------------------------------
@echo TARGET $@
$(HEXTOOL) $(TARGET).$(EXETYPE) $(BINFORMAT) $(TARGET).$(MODULE)
$(TARGET).$(EXETYPE) : $(APP_OBJS)
@echo ---------------------------------------------------------------
@echo TARGET $@
$(LD) $(LINK_CMD) $(TARGET).$(EXETYPE) $(LFLAGS) $(APP_OBJS) $(LINK_ORDER)
#----------------------------------------------------------------------------
# Applet Specific Rules
#----------------------------------------------------------------------------
RULE1 = c:\Users\vivek_sharma06\Documents\Visual Studio 2005\Projects\LoanCalculator
{$(RULE1)}.c.o:
@echo ---------------------------------------------------------------
@echo OBJECT $(@F)
$(ARMCC) $(CFLAGS) $(INC) $(OBJ_FILE) $(RULE1)\$(SRC_FILE)
@echo ---------------------------------------------------------------

BREW_HOME ="C:\Program Files\BREW 3.1.5\sdk"
#ARM_HOME =$(ARMHOME)
ARM_HOME = "C:\apps\arm"
TARGET =LoanCalculator
#TARGETDIR =$(TARGET)
TARGETDIR ="C:\Users\vivek_sharma06\Documents\Visual Studio 2005\Projects\LoanCalculator"
#LOCAL_OBJS =$(TARGETDIR)\$(TARGET).o
OBJS =LoanCalculator.o AEEMOD~1.o AEEAPP~1.o
#OBJS =AEEAppGen.o AEEModGen.o LoanCalculator.o
#APP_INCLUDES =-I $(BREWDIR)\inc -I $(BREWDIR)\..\inc
APP_INCLUDES =-I "C:\Program Files\BREW 3.1.5\sdk\inc" -I "C:\Program Files\BREW 3.1.5\inc"
#-------------------------------------------------------------------------------
# Target file name and type definitions
#-------------------------------------------------------------------------------
EXETYPE =elf# # Target image file format
MODULE =mod# # Downloadable module extension
#-------------------------------------------------------------------------------
# Target compile time symbol definitions
#
# Tells the SDK source stuffs that we're building a dynamic app.
#-------------------------------------------------------------------------------
DYNAPP = -DDYNAMIC_APP
#-------------------------------------------------------------------------------
# Software tool and environment definitions
#-------------------------------------------------------------------------------
#AEESRCPATH = $(BREW_HOME)\src
#AEEINCPATH = $(BREW_HOME)\inc
AEESRCPATH = "C:\Program Files\BREW 3.1.5\sdk\src"
AEEINCPATH = "C:\Program Files\BREW 3.1.5\sdk\inc"
#ARMBIN = $(ARM_HOME)\bin
#ARMINC = $(ARM_HOME)\include
#ARMLIB = $(ARM_HOME)\bin
ARMBIN = $(ARM_HOME)\RVCT\Programs\4.0\400\win_32-pentium # ARM ADS application directory
ARMINC = $(ARM_HOME)\RVCT\Data\4.0\400\include\windows # ARM ADS include file directory
ARMLIB = $(ARM_HOME)\RVCT\Data\4.0\400\lib # ARM ADS library directory
ARMCC = $(ARMBIN)\armcc # ARM ADS ARM 32-bit inst. set ANSI C compiler
LD = $(ARMBIN)\armlink # ARM ADS linker
HEXTOOL = $(ARMBIN)\fromelf # ARM ADS utility to create hex file from image
OBJ_CMD = -o # Command line option to specify output filename
#-------------------------------------------------------------------------------
# Processor architecture options
#-------------------------------------------------------------------------------
CPU = --cpu ARM7TDMI # ARM7TDMI target processor
#-------------------------------------------------------------------------------
# ARM Procedure Call Standard (APCS) options
#-------------------------------------------------------------------------------
ROPI = ropi # Read-Only(code) Position independence
INTERWRK = interwork # Allow ARM-Thumb interworking
APCS = --apcs /$(ROPI)/$(INTERWRK)/norwpi
#-------------------------------------------------------------------------------
# Additional compile time error checking options
#-------------------------------------------------------------------------------
#CHK = -fa # Check for data flow anomolies
CHK = -oo
#-------------------------------------------------------------------------------
# Compiler output options
#-------------------------------------------------------------------------------
OUT = -c # Object file output only
#-------------------------------------------------------------------------------
# Compiler/assembler debug options
#-------------------------------------------------------------------------------
DBG = -g # Enable debug
#-------------------------------------------------------------------------------
# Compiler optimization options
#-------------------------------------------------------------------------------
OPT = -Ospace -O2 # Full compiler optimization for space
#-------------------------------------------------------------------------------
# Compiler code generation options
#-------------------------------------------------------------------------------
END = --littleend # Compile for little endian memory architecture
ZA = -zo # LDR may only access 32-bit aligned addresses
CODE = $(END) $(ZA)
#-------------------------------------------------------------------------------
# Include file search path options
#-------------------------------------------------------------------------------
INC = -I. -I$(AEEINCPATH) $(APP_INCLUDES)
#-------------------------------------------------------------------------------
# Compiler pragma emulation options
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
# Linker options
#-------------------------------------------------------------------------------
LINK_CMD = -o #Command line option to specify output file
#on linking
ROPILINK = -ropi #Link image as Read-Only Position Independent
LINK_ORDER = -first AEEMod_Load
#-------------------------------------------------------------------------------
# HEXTOOL options
#-------------------------------------------------------------------------------
BINFORMAT = -bin
#-------------------------------------------------------------------------------
# Compiler flag definitions
#-------------------------------------------------------------------------------
CFLAGS0 = $(OUT) $(DYNAPP) $(CPU) $(APCS) $(CODE) $(CHK) $(DBG)
CFLAGS = $(CFLAGS0) $(OPT)
#-------------------------------------------------------------------------------
# Linker flag definitions
#-------------------------------------------------------------------------------
# the -entry flag is not really needed, but it keeps the linker from reporting
# warning L6305W (no entry point). The address
LFLAGS = $(ROPILINK) -rwpi -entry 0x8000#
#----------------------------------------------------------------------------
# Default target
#----------------------------------------------------------------------------
all : $(TARGET).$(MODULE)
#----------------------------------------------------------------------------
# Clean target
#----------------------------------------------------------------------------
# The object subdirectory, target image file, and target hex file are deleted.
clean :
@echo ---------------------------------------------------------------
@echo CLEAN
#-del /f $(LOCAL_OBJS)
-del /f $(OBJS)
-del /f $(TARGET).$(EXETYPE)
-del /f $(TARGET).$(MODULE)
@echo ---------------------------------------------------------------
#============================================================================
# DEFAULT SUFFIX RULES
#============================================================================
# The following are the default suffix rules used to compile all objects that
# are not specifically included in one of the module specific rules defined
# in the next section.
# The following macros are used to specify the output object file, MSG_FILE
# symbol definition and input source file on the compile line in the rules
# defined below.
SRC_FILE = $(@F:.o=.c) # Input source file specification
OBJ_FILE = $(OBJ_CMD) $(@F) # Output object file specification
.SUFFIXES :
.SUFFIXES : .o .dep .c
#--------------------------------------------------------------------------
# C code inference rules
#----------------------------------------------------------------------------
.c.o:
@echo ---------------------------------------------------------------
@echo OBJECT $(@F)
$(ARMCC) $(CFLAGS) $(INC) $(OBJ_FILE) $(SRC_FILE)
@echo ---------------------------------------------------------------
.c.mix:
@echo ---------------------------------------------------------------
@echo OBJECT $(@F)
$(ARMCC) -S -fs $(CFLAGS) $(INC) $(OBJ_FILE) $<
@echo ---------------------------------------------------------------
{$(AEESRCPATH)}.c.o:
@echo ---------------------------------------------------------------
@echo OBJECT $(@F)
$(ARMCC) $(CFLAGS) $(INC) $(OBJ_FILE) $(AEESRCPATH)\$(SRC_FILE)
@echo ---------------------------------------------------------------
#===============================================================================
# MODULE SPECIFIC RULES
#===============================================================================
#APP_OBJS = $(LOCAL_OBJS)
APP_OBJS = $(OBJS)
#----------------------------------------------------------------------------
# Lib file targets
#----------------------------------------------------------------------------
$(TARGET).$(MODULE) : $(TARGET).$(EXETYPE)
@echo ---------------------------------------------------------------
@echo TARGET $@
$(HEXTOOL) $(TARGET).$(EXETYPE) $(BINFORMAT) $(TARGET).$(MODULE)
$(TARGET).$(EXETYPE) : $(APP_OBJS)
@echo ---------------------------------------------------------------
@echo TARGET $@
$(LD) $(LINK_CMD) $(TARGET).$(EXETYPE) $(LFLAGS) $(APP_OBJS) $(LINK_ORDER)
#----------------------------------------------------------------------------
# Applet Specific Rules
#----------------------------------------------------------------------------
RULE1 = c:\Users\vivek_sharma06\Documents\Visual Studio 2005\Projects\LoanCalculator
{$(RULE1)}.c.o:
@echo ---------------------------------------------------------------
@echo OBJECT $(@F)
$(ARMCC) $(CFLAGS) $(INC) $(OBJ_FILE) $(RULE1)\$(SRC_FILE)
@echo ---------------------------------------------------------------

i mis-typed, try this:-
C:\apps\arm\RVCT\Programs\4.0\400\win_32-pentium\armcc -c -DDYNAMIC_APP
--cpu ARM7TDMI --apcs /ropi/interwork/norwpi --littleend -zo -oo -g -Ospace -O2
-I. -I"C:\Program Files\BREW 3.1.5\sdk\inc" -I "C:\Program Files\BREW 3.1.5\sdk\
inc" -I "C:\Program Files\BREW 3.1.5\inc" -o AEEModGen.o "C:\Program Files\BREW 3.1.5\src\AEEModGen.c"

i mis-typed, try this:-
C:\apps\arm\RVCT\Programs\4.0\400\win_32-pentium\armcc -c -DDYNAMIC_APP
--cpu ARM7TDMI --apcs /ropi/interwork/norwpi --littleend -zo -oo -g -Ospace -O2
-I. -I"C:\Program Files\BREW 3.1.5\sdk\inc" -I "C:\Program Files\BREW 3.1.5\sdk\
inc" -I "C:\Program Files\BREW 3.1.5\inc" -o AEEModGen.o "C:\Program Files\BREW 3.1.5\src\AEEModGen.c"

Thnx a ton shiva
finally i got the obj file created :)
also created the elf file using the CLI
but while creating the mod file (from elf to mod) thr is an error again :(
C:\Users\vivek_sharma06\Documents\Visual Studio 2005\Projects\LoanCalculator>"C:\apps\arm"\RVCT\Programs\4.0\400\win_32-pentium\fromelf LoanCalculator.elf --bin LoanCalculator.mod
Error: Q0119E: No output file specified.
Finished: 0 information, 0 warning and 1 error messages.
pls help
regards
vivek

Thnx a ton shiva
finally i got the obj file created :)
also created the elf file using the CLI
but while creating the mod file (from elf to mod) thr is an error again :(
C:\Users\vivek_sharma06\Documents\Visual Studio 2005\Projects\LoanCalculator>"C:\apps\arm"\RVCT\Programs\4.0\400\win_32-pentium\fromelf LoanCalculator.elf --bin LoanCalculator.mod
Error: Q0119E: No output file specified.
Finished: 0 information, 0 warning and 1 error messages.
pls help
regards
vivek

viveksharma wrote:Thnx a ton shiva
finally i got the obj file created :)
also created the elf file using the CLI
but while creating the mod file (from elf to mod) thr is an error again :(
C:\Users\vivek_sharma06\Documents\Visual Studio 2005\Projects\LoanCalculator>"C:\apps\arm"\RVCT\Programs\4.0\400\win_32-pentium\fromelf LoanCalculator.elf --bin LoanCalculator.mod
Error: Q0119E: No output file specified.
Finished: 0 information, 0 warning and 1 error messages.
pls help
regards
vivek
Got it working by changing one of the parameters from '--bin' to '-c' :)

viveksharma wrote:Thnx a ton shiva
finally i got the obj file created :)
also created the elf file using the CLI
but while creating the mod file (from elf to mod) thr is an error again :(
C:\Users\vivek_sharma06\Documents\Visual Studio 2005\Projects\LoanCalculator>"C:\apps\arm"\RVCT\Programs\4.0\400\win_32-pentium\fromelf LoanCalculator.elf --bin LoanCalculator.mod
Error: Q0119E: No output file specified.
Finished: 0 information, 0 warning and 1 error messages.
pls help
regards
vivek
Got it working by changing one of the parameters from '--bin' to '-c' :)

with the previous change (-C instead of --bin) i was able to create the mod file but it didnt worked on device (Moto w362)
So had to change it to --bin --output
and it worked!!!
PFA the mak file'm using now. Hope this will be a gud ref to folks
reg
v v s

with the previous change (-C instead of --bin) i was able to create the mod file but it didnt worked on device (Moto w362)
So had to change it to --bin --output
and it worked!!!
PFA the mak file'm using now. Hope this will be a gud ref to folks
reg
v v s