Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 28044

ucos 3 with g++ compile problem

$
0
0

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]'


Viewing all articles
Browse latest Browse all 28044

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>