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

Developer

Forums

build my project in brew sdk 2.1
Now I want to create .mod file for Hauei C5300

I install gnude-arm-win.exe at c:\gnude\ but it does not contain BREWelf2mod.exe,
that could be the resoan i am getting error for
nmake -f appname.mak
'nmake' is not recognized internal or external command.
GCCHOME is set to c:\gnude
GCCLIBPATH is set to c:\gnude\lib\gcc-lib\arm-elf\3.3.1
Path C:\gnude\bin;

From VS 6 I am able to create gnu make file.

Then I install ARM compiler ARMRVP 4.1 , VS 6 does not detect ARM ADS path.
I am serching for ARM ADS installer but i am not getting it , it gives me ARM RVP 4.1

I have old copy of ARM ADS 2.0 which creates ARM make file , but for creating mod file I am getting same error that nmake not recognized internal or external command.
I tryied
nmake /f appname.mak
namke -f appname.mak all
getting same error.

Which make file is required for phone gnu or ARM ?

nmake utility path is not set. You can set it in two ways-
1. Command line: Run command Path "C:\Program Files\Microsoft Visual Studio\VC98\Bin" (path of NMAKE.EXE) from Start->Run
2. Go to My computer->Properties->Advanced->Environment variables and set path variable to "C:\Program Files\Microsoft Visual Studio\VC98\Bin" (path of NMAKE.EXE)

nmake utility path is not set. You can set it in two ways-
1. Command line: Run command Path "C:\Program Files\Microsoft Visual Studio\VC98\Bin" (path of NMAKE.EXE) from Start->Run
2. Go to My computer->Properties->Advanced->Environment variables and set path variable to "C:\Program Files\Microsoft Visual Studio\VC98\Bin" (path of NMAKE.EXE)

Thanks for reply.
for nmake now i am getting another error.
/cygdrive/c/gnude/bin/arm-elf-ld: ERROR: projectfile.o is compiled for EABI version 0
, whereas C:\PROGRA~1\BREWSD~1.0\Examples\mcoupons\projectname.elf is compiled for version 2
This error is for all .c source files included in project.
Also another error is
mscreen.c: In function `ConnUnsuccessful':
mscreen.c:3333: warning: passing arg 4 of pointer to function makes integer from
pointer without a cast
Where
void ConnUnsuccessful(MIApp *pApp);
and called as ConnUnsuccessful(pApp);

Thanks for reply.
for nmake now i am getting another error.
/cygdrive/c/gnude/bin/arm-elf-ld: ERROR: projectfile.o is compiled for EABI version 0
, whereas C:\PROGRA~1\BREWSD~1.0\Examples\mcoupons\projectname.elf is compiled for version 2
This error is for all .c source files included in project.
Also another error is
mscreen.c: In function `ConnUnsuccessful':
mscreen.c:3333: warning: passing arg 4 of pointer to function makes integer from
pointer without a cast
Where
void ConnUnsuccessful(MIApp *pApp);
and called as ConnUnsuccessful(pApp);

EABI mismatch, Is projectfile.o your project file? Seems like has been compiled with EABI 0.
second error is related to parameters mismatch, see your code. Again, this is just a warning I guess.

EABI mismatch, Is projectfile.o your project file? Seems like has been compiled with EABI 0.
second error is related to parameters mismatch, see your code. Again, this is just a warning I guess.

Hi ,
Projectfile i write means to all .c source file in project and source file compiled and generate .o obj file
Also I could not create .mak file using ARM compiler.
if i create .mak file using gnu comiler and set namke command
//mscreen.c is source file and mcoupons is project name
/cygdrive/c/gnude/bin/arm-elf-ld: ERROR: mscreen.o is compiled for EABI version
0, whereas C:\PROGRA~1\BREWSD~1.0\Examples\mcoupons\mcoupons.elf is compiled for
version 2 No
error: failed to merge target specific data of file mscreen.o
/cygdrive/c/gnude/bin/arm-elf-ld: ERROR: GCCResolver.o is compiled for EABI vers
ion 0, whereas C:\PROGRA~1\BREWSD~1.0\Examples\mcoupons\mcoupons.elf is compiled
for version 2 No
error: failed to merge target specific data of file GCCResolver.o
NMAKE : fatal error U1077: 'c:\gnude\bin\arm-elf-ld' : return code '0x1'
Plz tell me how to avoid EABI version error

Hi ,
Projectfile i write means to all .c source file in project and source file compiled and generate .o obj file
Also I could not create .mak file using ARM compiler.
if i create .mak file using gnu comiler and set namke command
//mscreen.c is source file and mcoupons is project name
/cygdrive/c/gnude/bin/arm-elf-ld: ERROR: mscreen.o is compiled for EABI version
0, whereas C:\PROGRA~1\BREWSD~1.0\Examples\mcoupons\mcoupons.elf is compiled for
version 2 No
error: failed to merge target specific data of file mscreen.o
/cygdrive/c/gnude/bin/arm-elf-ld: ERROR: GCCResolver.o is compiled for EABI vers
ion 0, whereas C:\PROGRA~1\BREWSD~1.0\Examples\mcoupons\mcoupons.elf is compiled
for version 2 No
error: failed to merge target specific data of file GCCResolver.o
NMAKE : fatal error U1077: 'c:\gnude\bin\arm-elf-ld' : return code '0x1'
Plz tell me how to avoid EABI version error