This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

porting uC/OS II to LPC2148

Hello,

I'm trying to port uC/OS II (i bought the book) to MCB2140 and i'm using Keil CARM compiler. I took port from ucos-ii web site, which was written for IAR. I modified some stuff in asm file (difference betwen iar compiler and keil) but when I try to compile it I get this errors:

Build target 'MCB2140'
compiling app.c...
linking...
*** WARNING L23: UNRESOLVED EXTERNAL SYMBOLS
*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSTimeDly?T
ADDRESS: 000000E6H
*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSInit?T
ADDRESS: 00000138H
*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSTaskCreateExt?T
ADDRESS: 0000015EH
*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSStart?T
ADDRESS: 0000016AH
Program Size: data=1800 const=24 code=396
Target not created

Can anyone help me?

Thank you

Parents
  • First, thank you for your quick answer. I repaired some paths for include files but now I get this error:
    *** WARNING L23: UNRESOLVED EXTERNAL SYMBOLS
    *** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNALS SYMBOL: OS_CPU_SR_Save?T ADDRESS: 0000238CH
    ... and so one for a few of my public symbols which are defined in an asm file os_cpu_a.s (e.g. PUBLIC OS_CPU_SR_Save, PUBLIC OS_CPU_SR_Restore?T), which is part of my project. This are labels for routines written in assembly, and are called from C functions.
    But all errors have ?T at the symbol name.

    Thank you again and best regards,

    Borut

Reply
  • First, thank you for your quick answer. I repaired some paths for include files but now I get this error:
    *** WARNING L23: UNRESOLVED EXTERNAL SYMBOLS
    *** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNALS SYMBOL: OS_CPU_SR_Save?T ADDRESS: 0000238CH
    ... and so one for a few of my public symbols which are defined in an asm file os_cpu_a.s (e.g. PUBLIC OS_CPU_SR_Save, PUBLIC OS_CPU_SR_Restore?T), which is part of my project. This are labels for routines written in assembly, and are called from C functions.
    But all errors have ?T at the symbol name.

    Thank you again and best regards,

    Borut

Children