LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   linking library in kernel - what might be the calls library should not be using (https://www.linuxquestions.org/questions/linux-kernel-70/linking-library-in-kernel-what-might-be-the-calls-library-should-not-be-using-741693/)

lakshmi00786 07-21-2009 08:34 AM

linking library in kernel - what might be the calls library should not be using
 
Hi..

I need to link third party library with kernel.Now i want to know what might be the functions calls which library should not be using.

Regards,
Lakshmi.

Mara 07-24-2009 12:34 PM

In fact, it should not call anything external, especially libc calls, like printf, write etc. An easy method to find out which symbols it uses would be to compile the library without linking libc to it (with --nostdlib) and view the result for all functions/symbols and the places they usually come from. If you need assistance with it, just ask.

sundialsvcs 07-25-2009 01:30 PM

I did not think you could use anything "from a library" in the kernel...


All times are GMT -5. The time now is 09:46 PM.