AnsweredAssumed Answered

ucos 3 with g++ compile problem

Question asked by readerfeifei on Nov 7, 2014
Latest reply on Nov 11, 2014 by ColinJ

Hello

     I'm using cces to port my project on bf609 . I have a lot of cpp code and ucos 3 to compile . so if dont use g++ , the cpp code will not be compiled ,but when using g++ there are some link error below. So please help me to figure it out ,Thx!!!

 

[Error li1021]  The following symbols referenced in processor 'CORE_0' could not be resolved:

        'OSCtxSw(unsigned int, int, void *) [__Z7OSCtxSwjiPv]' referenced from '.\system\uCOS-III\Ports\Blackfin\os_cpu_c.doj'

        'OSIntCtxSw() [__Z10OSIntCtxSwv]' referenced from '.\system\uCOS-III\Source\os_core.doj'

        'OSIntExit [_OSIntExit]' referenced from '.\system\uCOS-III\Ports\Blackfin\os_cpu_a.doj'

        'OSIntExit [_OSIntExit]' referenced from 'libosal_ucos3.dlb[adi_osal_ucos3_arch_a.doj]'

        'OSSchedLock [_OSSchedLock]' referenced from 'libosal_ucos3.dlb[adi_osal_ucos3_critical.doj]'

        'OSSchedUnlock [_OSSchedUnlock]' referenced from 'libosal_ucos3.dlb[adi_osal_ucos3_critical.doj]'

        'OSStart [_OSStart]' referenced from '.\src\test_Core0.doj'

        'OSStartHighRdy() [__Z14OSStartHighRdyv]' referenced from '.\system\uCOS-III\Source\os_core.doj'

        'OSTaskCreate [_OSTaskCreate]' referenced from '.\src\test_Core0.doj'

        'OSTickISR(unsigned int, int, void *) [__Z9OSTickISRjiPv]' referenced from '.\system\uCOS-III\Ports\Blackfin\os_cpu_c.doj'

        'OSTimeTick [_OSTimeTick]' referenced from '.\system\uCOS-III\Ports\Blackfin\os_cpu_a.doj'

        'OSVersion [_OSVersion]' referenced from 'libosal_ucos3.dlb[adi_osal_ucos3_init.doj]'

Outcomes