Following the TI DSPLink porting guide, I was able to build the Dsplink.lib, and Dsplinkk.ko in Android, however, when building the samples, it reported the following link errors. I think I have included all the possible Android libraries, am I still missing some? I could not locate which libraries those functions might be in.
Thanks a lot,
Bin
------------------------------------------------------------------------
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/BUILD/EXPORT/DEBUG/dsplink.lib: In function `DRV_Initialize':
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/src/api/Linux/drv_api.c:390: undefined reference to `getpagesize'
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/BUILD/EXPORT/DEBUG/dsplink.lib: In function `DRV_ProtectInit':
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/src/api/Linux/drv_api.c:1404: undefined reference to `semget'
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/src/api/Linux/drv_api.c:1408: undefined reference to `__errno_location'
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/src/api/Linux/drv_api.c:1409: undefined reference to `semget'
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/src/api/Linux/drv_api.c:1419: undefined reference to `semctl'
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/BUILD/EXPORT/DEBUG/dsplink.lib: In function `DRV_ProtectExit':
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/src/api/Linux/drv_api.c:1464: undefined reference to `semctl'
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/BUILD/EXPORT/DEBUG/dsplink.lib: In function `DRV_ProtectEnter':
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/src/api/Linux/drv_api.c:1507: undefined reference to `semop'
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/src/api/Linux/drv_api.c:1508: undefined reference to `__errno_location'
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/BUILD/EXPORT/DEBUG/dsplink.lib: In function `DRV_ProtectLeave':
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/src/api/Linux/drv_api.c:1564: undefined reference to `semop'
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/BUILD/EXPORT/DEBUG/dsplink.lib: In function `DRV_installCleanupRoutines':
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/src/api/Linux/drv_api.c:1602: undefined reference to `sigemptyset'
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/src/api/Linux/drv_api.c:1603: undefined reference to `sigfillset'
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/BUILD/EXPORT/DEBUG/dsplink.lib: In function `NOTIFY_eventWorker':
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/src/api/Linux/_notify.c:318: undefined reference to `sigfillset'
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/BUILD/EXPORT/DEBUG/dsplink.lib: In function `_SYNC_USR_init':
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/src/api/Linux/_sync_usr.c:245: undefined reference to `semget'
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/src/api/Linux/_sync_usr.c:258: undefined reference to `semctl'
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/BUILD/EXPORT/DEBUG/dsplink.lib: In function `_SYNC_USR_exit':
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/src/api/Linux/_sync_usr.c:316: undefined reference to `semget'
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/src/api/Linux/_sync_usr.c:325: undefined reference to `semctl'
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/BUILD/EXPORT/DEBUG/dsplink.lib: In function `_SYNC_USR_createCS':
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/src/api/Linux/_sync_usr.c:387: undefined reference to `semget'
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/src/api/Linux/_sync_usr.c:389: undefined reference to `__errno_location'
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/BUILD/EXPORT/DEBUG/dsplink.lib: In function `_SYNC_USR_enterCS':
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/src/api/Linux/_sync_usr.c:527: undefined reference to `semop'
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/src/api/Linux/_sync_usr.c:528: undefined reference to `__errno_location'
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/BUILD/EXPORT/DEBUG/dsplink.lib: In function `_SYNC_USR_leaveCS':
/home/binl/DSP/dsplink_linux_1_63/dsplink/gpp/src/api/Linux/_sync_usr.c:593: undefined reference to `semop'
collect2: ld returned 1 exit status
make[2]: *** [loopgpp.deb] Error 1
make[1]: *** [trgdeb] Error 2
make: *** [loop.trgdeb] Error 2