public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* compile "printk"
@ 1999-12-21  5:08 Moritz Julen
  1999-12-31 22:24 ` Moritz Julen
  0 siblings, 1 reply; 2+ messages in thread
From: Moritz Julen @ 1999-12-21  5:08 UTC (permalink / raw)
  To: help-gcc

I'd like to use printk for debbuging. But I can't compile my program.

#include<linux/kernel.h>
#include<stdio.h>

int main()
{
  printk(KERN_DEBUG "HelloWorld\n");
  return(0);
}

When I compile it, then I get KERN_DEBUG not defined or undefined
refernce to printk without KERN_DEBUG.

What's wrong???

Thanks

Mo

^ permalink raw reply	[flat|nested] 2+ messages in thread

* compile "printk"
  1999-12-21  5:08 compile "printk" Moritz Julen
@ 1999-12-31 22:24 ` Moritz Julen
  0 siblings, 0 replies; 2+ messages in thread
From: Moritz Julen @ 1999-12-31 22:24 UTC (permalink / raw)
  To: help-gcc

I'd like to use printk for debbuging. But I can't compile my program.

#include<linux/kernel.h>
#include<stdio.h>

int main()
{
  printk(KERN_DEBUG "HelloWorld\n");
  return(0);
}

When I compile it, then I get KERN_DEBUG not defined or undefined
refernce to printk without KERN_DEBUG.

What's wrong???

Thanks

Mo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-12-31 22:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-21  5:08 compile "printk" Moritz Julen
1999-12-31 22:24 ` Moritz Julen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).