Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

HOW TO PORT uCOSII FOR MPC555

Status
Not open for further replies.

j702218

Newbie level 3
Newbie level 3
Joined
Apr 17, 2004
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
28
mpc555 ebook download

I can't use this port download in uCOS's Web
when it compiler and link , find some error
 

Please be more specific in the future!!!

Please specify "what download have you"

Which use compiler do?

What messages this error are?
 

I download in this url's file

**broken link removed**


I use MetroWerks codewarrior compiler
 

And the error messages you get?


I don't have any codewarrior stuff luckily...happy with gcc tools (o;
 

Link Error :multiply-defined:'OSMapTbl' in ucos_ii.o
Previously defined in os_core.o


Like this , there are many link error .
 

Like it says..."OSMapTbl" has been defined more than once...

Check for include files containing this definition...or the .c source file...

Maybe you´re including include-files in codewarrior as well?
Never worked with it though, prefer console type development with gcc (o;
 

Two possible reasons:

1. multiple definitions on variable "OSMapTbl"
2. recursively including header file in other header files. You can prevent from such case by using "#ifndef xxxx" to enclose the whole header file. For example:

#ifndef __header_file_name__
#define __header_file_name__

// header file contents

#endif
 

Ther could probably be 2 reasons - either Ucos or its port has modified or port has the problem .
Jean used one include file for all sources . For referred files memory will be defined in place , for refferring files 'extern' will be added in front memory declaration . This is described in his book . Check whether it is the case in your port .
 

It could not be downloaded
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top