eek!  No, no, no!  You can't use stdio.h in the kernel.  Printf relied on
the write() system call which is completely meaningless int he kernel...
Hmm. You should get a book on the kernel.

-Calin

On Wed, 27 Feb 2002, Anjali Grover wrote:

> Hi,
>
> I am trying to include <stdio.h> in my C++ code with
> the following:
>
> #include "c_headers_begin.h"
> #include <stdio.h>
> #include "c_headers_end.h"
>
> Although I can compile my code using the g++ copiler,
> but when I install the module I get
>
> errors: "Unresolved symbol printf"
>
> I guess I need to link the object file of stdio with
> the object file of my module using
>
> the "ld" command command in my makefile. Is that
> right? Where can I find the object file
>
> for stdio.h???
>
> Thanx,
> Anjali
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Greetings - Send FREE e-cards for every occasion!
> http://greetings.yahoo.com
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/
>

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

Reply via email to