xiaoxiang781216 commented on pull request #4810:
URL: https://github.com/apache/incubator-nuttx/pull/4810#issuecomment-974599590


   > @xiaoxiang781216 sorry for the late reply.
   > 
   > I added `arm_tcbinfo.c` to the propposed file, and indeed NuttX builds and 
runs fine now. Shouldn't this PR also add `arm_tcbinfo.c ` to the makefiles?
   > 
   
   could be.
   
   > Furthermore, I tried building the JLink lib, but it also fails:
   > 
   > ```
   > $ make -C tools -f Makefile.host jlink-nuttx
   > make: Entering directory '/home/a/b/c/nuttx/tools'
   > /usr/bin/ld: /tmp/ccDMkc8Y.o: relocation R_X86_64_32 against 
`.rodata.str1.1' can not be used when making a shared object; recompile with 
-fPIC
   
   What's result if you add -fPIC?
   
   > collect2: error: ld returned 1 exit status
   > make: *** [Makefile.host:231: jlink-nuttx.so] Error 1
   > make: Leaving directory '/home/a/b/c/nuttx/tools'
   > ```
   
   Which OS do you compile? @zhuyanlinzyl could you take a look?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to