POSIX function link question?

zhengxiaojun 17935334 at qq.com
Mon Nov 13 07:33:59 UTC 2023


Hi all:
     I use dynamic load (RAP format) in my project, I enable POSIX in 
BSP, but do not refers POSIX API.  The application called some POSIX 
API,so when link without librtemscpu.a, the POSXI API can not be found 
in the basefile. If I link with librtemscpu.a, link is OK, but loading 
output: "duplicate global symbol " . I guess some global symbols are 
linked twice.
     Is there any way to export POSIX API in BSP image? Now I put the
POSIX API used in a array in BSP, this looks a bit strange.



More information about the devel mailing list