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

Developer

Forums

hi,

I have just installed the Real View Developer Suite ver. 2.2 on my system and tried making a mod file for my project, but i am surprised my system does not recognizes the command, even environment variables are set properly.

can anybody help me how do i generate the mod file using Real View Developer Suite ver. 2.2.

thanks in advance...

vikkyindian

What command is failing?

What command is failing?

its 'nmake /f myproject.mak clean'

its 'nmake /f myproject.mak clean'

Does nmake actually run? and its something in the makefile failing or does it just say "Bad Command or filename"?
If its the latter then the nmake command needs to be part of your path. As nmake is actually a part of MS visual studio that path needs to be set.

Does nmake actually run? and its something in the makefile failing or does it just say "Bad Command or filename"?
If its the latter then the nmake command needs to be part of your path. As nmake is actually a part of MS visual studio that path needs to be set.

you were right, path for nmake was not set.
thanks for the help.

you were right, path for nmake was not set.
thanks for the help.

hi,
i just tried generating mod file but it returns the following error :
OBJECT ndSrc/PAEEAppGen.o
Licence found.
Your trial started at: Mon Feb 27 00:00:00 2006
Your trial will end at: Thu Apr 13 23:59:59 2006
Warning: C0010W: Old syntax, please use '--cpu'.
Warning: C0010W: Old syntax, please use '--apcs'.
Warning: C0010W: Old syntax, please use '--split_sections'.
Error: C0000U: Unrecognized option '-fa'.
Error: C0000U: Unrecognized option '-Wx'.
NMAKE : fatal error U1077: 'C:\ARM\RVCT\Programs\2.2\380\eval2-sc\win_32-pentium
\tcpp' : return code '0x1'
Stop.
do i need to make changes in the .mak file at below places??
CHK = -fa # Check for data flow anomolies
CFLAGS0 = $(OUT) $(DYNAPP) $(INC) $(CPU) $(APCS) $(CODE) $(CHK) $(DBG) -Wx
thanks

hi,
i just tried generating mod file but it returns the following error :
OBJECT ndSrc/PAEEAppGen.o
Licence found.
Your trial started at: Mon Feb 27 00:00:00 2006
Your trial will end at: Thu Apr 13 23:59:59 2006
Warning: C0010W: Old syntax, please use '--cpu'.
Warning: C0010W: Old syntax, please use '--apcs'.
Warning: C0010W: Old syntax, please use '--split_sections'.
Error: C0000U: Unrecognized option '-fa'.
Error: C0000U: Unrecognized option '-Wx'.
NMAKE : fatal error U1077: 'C:\ARM\RVCT\Programs\2.2\380\eval2-sc\win_32-pentium
\tcpp' : return code '0x1'
Stop.
do i need to make changes in the .mak file at below places??
CHK = -fa # Check for data flow anomolies
CFLAGS0 = $(OUT) $(DYNAPP) $(INC) $(CPU) $(APCS) $(CODE) $(CHK) $(DBG) -Wx
thanks

hi Skavenger,
can you help me in the above mentioned problem ????
thanks in advance

hi Skavenger,
can you help me in the above mentioned problem ????
thanks in advance

From the Arm Docs....
Quote:-Wx This option surpresses unused declaration warnings.
-fa This option checks for certain types of data flow anomalies. The compiler performs data flow analysis as part of code generation. The checks indicate when an automatic variable might have been used before being assigned a value. The check is pessimistic and sometimes reports an anomoly when there is none. In general it is useful at some stage to check all code with -fa.
You could just remove them. However it might be worthwhile finding the changelog between versions of your compiler and seeing if they have been replaced with other command line options.

From the Arm Docs....
Quote:-Wx This option surpresses unused declaration warnings.
-fa This option checks for certain types of data flow anomalies. The compiler performs data flow analysis as part of code generation. The checks indicate when an automatic variable might have been used before being assigned a value. The check is pessimistic and sometimes reports an anomoly when there is none. In general it is useful at some stage to check all code with -fa.
You could just remove them. However it might be worthwhile finding the changelog between versions of your compiler and seeing if they have been replaced with other command line options.

hi,
i am having the following errors while generating mod file:
Error: L6248E: arm_exceptions_globs.o(.text) in PI region 'ER_RO' cannot have address type relocation to __default_termi
nate_handler() in PI region 'ER_RO'.
Error: L6248E: LogoScreen.o(.constdata__ZTI10LogoScreen) in PI region 'ER_RO' cannot have address type relocation to vta
ble for __cxxabiv1::__si_class_type_info in PI region 'ER_RO'.
Error: L6248E: LogoScreen.o(.constdata__ZTI10LogoScreen) in PI region 'ER_RO' cannot have address type relocation to typ
einfo name for LogoScreen in PI region 'ER_RO'.
Error: L6248E: LogoScreen.o(.constdata__ZTI10LogoScreen) in PI region 'ER_RO' cannot have address type relocation to typ
einfo for Screen in PI region 'ER_RO'.
i am not using any global variables anywhere in the code.
can you help me how can i remove this error or can you give me an example .mak file which is running fine on Real View Developer Suite ver. 2.2.
thanks

hi,
i am having the following errors while generating mod file:
Error: L6248E: arm_exceptions_globs.o(.text) in PI region 'ER_RO' cannot have address type relocation to __default_termi
nate_handler() in PI region 'ER_RO'.
Error: L6248E: LogoScreen.o(.constdata__ZTI10LogoScreen) in PI region 'ER_RO' cannot have address type relocation to vta
ble for __cxxabiv1::__si_class_type_info in PI region 'ER_RO'.
Error: L6248E: LogoScreen.o(.constdata__ZTI10LogoScreen) in PI region 'ER_RO' cannot have address type relocation to typ
einfo name for LogoScreen in PI region 'ER_RO'.
Error: L6248E: LogoScreen.o(.constdata__ZTI10LogoScreen) in PI region 'ER_RO' cannot have address type relocation to typ
einfo for Screen in PI region 'ER_RO'.
i am not using any global variables anywhere in the code.
can you help me how can i remove this error or can you give me an example .mak file which is running fine on Real View Developer Suite ver. 2.2.
thanks

Its global data of some type. This also happens when the linker, links in the default libraries. A common result of using floats. There are many threads on ER_RO problems already. I suggest you search up on this.

Its global data of some type. This also happens when the linker, links in the default libraries. A common result of using floats. There are many threads on ER_RO problems already. I suggest you search up on this.

hi,
i tried searching for this on the forum but i could not find any solution for the same.
when i complie the .mak file in ARM ver1.2 its not giving such kind of error.
i am using ver2.2
can you put some light on it ??

hi,
i tried searching for this on the forum but i could not find any solution for the same.
when i complie the .mak file in ARM ver1.2 its not giving such kind of error.
i am using ver2.2
can you put some light on it ??

RVCT 2.2 doesn't support ROPI in C++ , you're using virtual functions or something thats generating vtables, that doesn't work, it looks like you're using exceptions too
with ADS its very dependant on whats in the class as to whether it'll work or not, i'm about 90% sure that ADS will generate code that won't work on some phones, but you'll get away with it on others.

RVCT 2.2 doesn't support ROPI in C++ , you're using virtual functions or something thats generating vtables, that doesn't work, it looks like you're using exceptions too
with ADS its very dependant on whats in the class as to whether it'll work or not, i'm about 90% sure that ADS will generate code that won't work on some phones, but you'll get away with it on others.

ya you are right, i am using virtual functions in my code but without exceptions.
on ADS 1.2 its working fine with ropi, but not with ADS2.2.
is there any way to overcome the ropi problem in ADS2.2 ??
thanks

ya you are right, i am using virtual functions in my code but without exceptions.
on ADS 1.2 its working fine with ropi, but not with ADS2.2.
is there any way to overcome the ropi problem in ADS2.2 ??
thanks

go back to 1.2
the 2.2 compiler doesn't support what you're trying to do , so theres not much you can do about it, except don't do it.

go back to 1.2
the 2.2 compiler doesn't support what you're trying to do , so theres not much you can do about it, except don't do it.