xiaotailang opened a new issue, #8835:
URL: https://github.com/apache/nuttx/issues/8835

   Hello! I have a library file called my.a. I tried creating my own folder 
called my_dir under apps/examples, and placed the .a library file in it. I also 
wrote a my.c source file with a function called my_func, which calls a function 
inside my.a. In the Makefile, I added LDLIBS += -Lapps/examples/my_dir -lmy to 
link the my.a file. However, when I tried to generate nuttx.bin, it gave an 
error saying that the function my_func in my.o generated from my.c was 
undefined when calling the function inside the my.a library file. Is my 
approach incorrect? Is there anything else I need to consider? 


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to