Err creating .mod file | developer.brewmp.com Err creating .mod file | developer.brewmp.com

Developer

Err creating .mod file

Forums:

Hi while i try to make mode file from the .mak the following error is displayed:

"TARGET myapp.elf
C:\apps\arm\bin\armlink -o myapp.elf -ropi -rwpi -entry 0x8000
'C:\apps\arm\bin\armlink' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'C:\apps\arm\bin\armlink' : return code '0x1'
Stop."

the command promt is pointing to the myapp folder which contains the myapp.mak file.
:confused:

pls help

you need to change the path of armlink in the makefile its pointing to the wrong folder.
Post your makefile it will help in solving your problem.

you need to change the path of armlink in the makefile its pointing to the wrong folder.
Post your makefile it will help in solving your problem.

by modifying the links in the mak file 'm able to avert this error but another issue popped up. the error message now shown is:
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.
this is the code 'm using
#=================================================================
BREW_HOME =$(BREWDIR)
ARM_HOME =$(ARMHOME)
TARGET =muapp
OBJS =AEEMODGEN.o AEEAPPGEN.o myapp.o
APP_INCLUDES =-I $(BREWDIR)\inc -I C:\Program Files\BREW 3.1.5\inc
#-------------------------------------------------------------------------------

by modifying the links in the mak file 'm able to avert this error but another issue popped up. the error message now shown is:
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.
this is the code 'm using
#=================================================================
BREW_HOME =$(BREWDIR)
ARM_HOME =$(ARMHOME)
TARGET =muapp
OBJS =AEEMODGEN.o AEEAPPGEN.o myapp.o
APP_INCLUDES =-I $(BREWDIR)\inc -I C:\Program Files\BREW 3.1.5\inc
#-------------------------------------------------------------------------------

viveksharma wrote:by modifying the links in the mak file 'm able to avert this error but another issue popped up. the error message now shown is:
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.
this is the code 'm using
#=================================================================
BREW_HOME =$(BREWDIR)
ARM_HOME =$(ARMHOME)
TARGET =muapp
OBJS =AEEMODGEN.o AEEAPPGEN.o myapp.o
APP_INCLUDES =-I $(BREWDIR)\inc -I C:\Program Files\BREW 3.1.5\inc
#-------------------------------------------------------------------------------
Hi Vivek
This error would come if you haven't included the APPGEN or the MODGEN c files in ur code or the environment variables has not been set properly(that should be pointing to the path where the sdk is installed).
Are you trying to create this make file or it is being created to the tool?
Try this path
APP_INCLUDES = -I "$(BREWDIR)\inc"-I $(BREWDIR)\inc
Have a look and let us know.
One more thing, all mod file related queries would be better if u posted in the GCC and ARM complier. That would be the correct place and people would easily check in future if they too faced the same problem.
Regards
Akshay

viveksharma wrote:by modifying the links in the mak file 'm able to avert this error but another issue popped up. the error message now shown is:
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.
this is the code 'm using
#=================================================================
BREW_HOME =$(BREWDIR)
ARM_HOME =$(ARMHOME)
TARGET =muapp
OBJS =AEEMODGEN.o AEEAPPGEN.o myapp.o
APP_INCLUDES =-I $(BREWDIR)\inc -I C:\Program Files\BREW 3.1.5\inc
#-------------------------------------------------------------------------------
Hi Vivek
This error would come if you haven't included the APPGEN or the MODGEN c files in ur code or the environment variables has not been set properly(that should be pointing to the path where the sdk is installed).
Are you trying to create this make file or it is being created to the tool?
Try this path
APP_INCLUDES = -I "$(BREWDIR)\inc"-I $(BREWDIR)\inc
Have a look and let us know.
One more thing, all mod file related queries would be better if u posted in the GCC and ARM complier. That would be the correct place and people would easily check in future if they too faced the same problem.
Regards
Akshay

Hi,
This error is because of....it does not getting source path for AEEModeGen.c and AEEAppGen.c
Either copy both files in your source folder where all other src files remains or just include path for that both files in your make file which is "BREWSDK\src".
This should solve your problem.... if not better attach your mak file.
Regards,
Mitesh

Hi,
This error is because of....it does not getting source path for AEEModeGen.c and AEEAppGen.c
Either copy both files in your source folder where all other src files remains or just include path for that both files in your make file which is "BREWSDK\src".
This should solve your problem.... if not better attach your mak file.
Regards,
Mitesh