EmbeddedRelated.com
Forums
Memfault Beyond the Launch

IAR compiler problems

Started by Unknown September 22, 2005
Hello folks,
I'm trying to run the uCOS_II operating system on an AVR 128. The
compiler I use is the IAR embedded workbench. I compiled all source
files successfully. Linking fails because of the error
"Error(e62) File name uCOS_II.r90 used for multiple files.
There is a uCOS_II.c and auCOS_II.h file. Can anyone tell me in
more detail what this error means and what I can do to prevent it.
I'm not a very experienced embedded software guy!
Thanks in advance for your help.

Christof Abt

On 22 Sep 2005 07:37:04 -0700, Christof.Abt@hno.atmel.com wrote:

>Hello folks, >I'm trying to run the uCOS_II operating system on an AVR 128. The >compiler I use is the IAR embedded workbench. I compiled all source >files successfully. Linking fails because of the error >"Error(e62) File name uCOS_II.r90 used for multiple files. >There is a uCOS_II.c and auCOS_II.h file. Can anyone tell me in >more detail what this error means and what I can do to prevent it. >I'm not a very experienced embedded software guy! >Thanks in advance for your help.
Sounds you did inlcude the .c _and_ .h file in your project. Only put .c and .sXX files. The headers are found by EWB. -- 42Bastian Do not email to bastian42@yahoo.com, it's a spam-only account :-) Use <same-name>@monlynx.de instead !
In article <1127399824.362236.147150@f14g2000cwb.googlegroups.com>,
Christof.Abt@hno.atmel.com writes
>Hello folks, >I'm trying to run the uCOS_II operating system on an AVR 128. The >compiler I use is the IAR embedded workbench. I compiled all source >files successfully. Linking fails because of the error >"Error(e62) File name uCOS_II.r90 used for multiple files. >There is a uCOS_II.c and auCOS_II.h file. Can anyone tell me in >more detail what this error means and what I can do to prevent it. >I'm not a very experienced embedded software guy! >Thanks in advance for your help. > >Christof Abt >
Are you experienced with C? DO you know the difference between a.h file and a .c file? You may be better doing so simple programs and examples without uCOS before you start of porting an OS. -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ /\/\/ chris@phaedsys.org www.phaedsys.org \/\/\ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Memfault Beyond the Launch