This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

c6run Overo problems

Other Parts Discussed in Thread: OMAP3530

Hello,

I'm trying to enable dsp capabilities on OMAP3530 package using the Overo Water COM platform.

I already compiled the dsplink and lpm_omap3530 kernel modules. I am trying to use the c6run app to implement a fft in the DSP, however when i try to compile the c6run examples, I got this ...

/home/joni/ti/C6Run_0_98_03_03/bin/../lib/c6run_gpp/libc6run.a(C6Run.o): In function `C6RUN_exit':
C6Run.c:(.text+0x94): undefined reference to `pthread_join'
/home/joni/ti/C6Run_0_98_03_03/bin/../lib/c6run_gpp/libc6run.a(C6Run.o): In function `C6RUN_init':
C6Run.c:(.text+0x484): undefined reference to `pthread_create'
/home/joni/ti/C6Run_0_98_03_03/bin/../lib/c6run_gpp/libc6run.a(C6Run.o): In function `C6RUN_appInit':
C6Run.c:(.text+0x564): undefined reference to `pthread_create'
/home/joni/ti/C6Run_0_98_03_03/bin/../lib/c6run_gpp/libc6run.a(control_ipc.o): In function `CONTROL_IPC_init':
control_ipc.c:(.text+0xf4): undefined reference to `sem_init'
/home/joni/ti/C6Run_0_98_03_03/bin/../lib/c6run_gpp/libc6run.a(control_ipc.o): In function `CONTROL_IPC_exit':
control_ipc.c:(.text+0x1dc): undefined reference to `sem_destroy'
/home/joni/ti/C6Run_0_98_03_03/bin/../lib/c6run_gpp/libc6run.a(control_ipc.o): In function `CONTROL_IPC_allocMsg':
control_ipc.c:(.text+0x398): undefined reference to `sem_wait'
/home/joni/ti/C6Run_0_98_03_03/bin/../lib/c6run_gpp/libc6run.a(control_ipc.o): In function `CONTROL_IPC_freeMsg':
control_ipc.c:(.text+0x3fc): undefined reference to `sem_post'
/home/joni/ti/C6Run_0_98_03_03/bin/../lib/c6run_gpp/libc6run.a(dsplink.o): In function `_NOTIFY_init':
:(.text+0x798c): undefined reference to `pthread_create'
/home/joni/ti/C6Run_0_98_03_03/bin/../lib/c6run_gpp/libc6run.a(dsplink.o): In function `_NOTIFY_exit':
:(.text+0x7aa8): undefined reference to `pthread_join'
/home/joni/ti/C6Run_0_98_03_03/bin/../lib/c6run_gpp/libc6run.a(dsplink.o): In function `NOTIFY_eventWorker':
:(.text+0x7b20): undefined reference to `pthread_sigmask'
/home/joni/ti/C6Run_0_98_03_03/bin/../lib/c6run_gpp/libc6run.a(rpc_ipc.o): In function `RPC_IPC_init':
rpc_ipc.c:(.text+0xc4): undefined reference to `sem_init'
rpc_ipc.c:(.text+0xe8): undefined reference to `pthread_create'
/home/joni/ti/C6Run_0_98_03_03/bin/../lib/c6run_gpp/libc6run.a(rpc_ipc.o): In function `RPC_IPC_exit':
rpc_ipc.c:(.text+0x1d4): undefined reference to `pthread_join'
rpc_ipc.c:(.text+0x1dc): undefined reference to `sem_destroy'
/home/joni/ti/C6Run_0_98_03_03/bin/../lib/c6run_gpp/libc6run.a(rpc_ipc.o): In function `RPC_IPC_sendMsg':
rpc_ipc.c:(.text+0x2e0): undefined reference to `sem_init'
/home/joni/ti/C6Run_0_98_03_03/bin/../lib/c6run_gpp/libc6run.a(rpc_ipc.o): In function `RPC_IPC_hasReceivedMsg':
rpc_ipc.c:(.text+0x350): undefined reference to `sem_trywait'
rpc_ipc.c:(.text+0x360): undefined reference to `sem_post'
/home/joni/ti/C6Run_0_98_03_03/bin/../lib/c6run_gpp/libc6run.a(rpc_ipc.o): In function `RPC_IPC_recvMsg':
rpc_ipc.c:(.text+0x38c): undefined reference to `sem_wait'
rpc_ipc.c:(.text+0x394): undefined reference to `sem_destroy'
/home/joni/ti/C6Run_0_98_03_03/bin/../lib/c6run_gpp/libc6run.a(rpc_ipc.o): In function `RPC_IPC_allocMsg':
rpc_ipc.c:(.text+0x3d8): undefined reference to `sem_wait'
/home/joni/ti/C6Run_0_98_03_03/bin/../lib/c6run_gpp/libc6run.a(rpc_ipc.o): In function `RPC_IPC_freeMsg':
rpc_ipc.c:(.text+0x43c): undefined reference to `sem_post'
/home/joni/ti/C6Run_0_98_03_03/bin/../lib/c6run_gpp/libc6run.a(rpc_ipc.o): In function `RPC_IPC_receiver':
rpc_ipc.c:(.text+0x47c): undefined reference to `sem_post'
collect2: error: ld returned 1 exit status
make: *** [dsp] Error 1

How can I resolve this problem?

Thanks a lot in advance