public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* can't use printk in linux 2.4.2 module
@ 2001-04-15  9:07 vivid_liou
  0 siblings, 0 replies; 2+ messages in thread
From: vivid_liou @ 2001-04-15  9:07 UTC (permalink / raw)
  To: linux-kernel



Dear All :
I wrote a small module to print "hello world " . when I comiple it under kernel
2.2 , everything works fine.
 the output " printk unsolve " appear under 2.4.2 .
with kernel 2.2. , I can find "printk " in the /proc/ksyms , but
with kernel 2.4.2  , only "printk_Rsmp" symbol .
Does anyone know how to solve the problem ?  Thanks you a lot.





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

* Re: can't use printk in linux 2.4.2 module
@ 2001-04-15 17:08 James Simmons
  0 siblings, 0 replies; 2+ messages in thread
From: James Simmons @ 2001-04-15 17:08 UTC (permalink / raw)
  To: vivid_liou; +Cc: Linux Kernel Mailing List


Try the following patch to linux/kernel/Makefile. If it works fine let me
know and we can get it into the standard tree.

MS: (n) 1. A debilitating and surprisingly widespread affliction that
renders the sufferer barely able to perform the simplest task. 2. A disease.

James Simmons  [jsimmons@linux-fbdev.org]               ____/|
fbdev/console/gfx developer                             \ o.O|
http://www.linux-fbdev.org                               =(_)=
http://linuxgfx.sourceforge.net                            U
http://linuxconsole.sourceforge.net

--- Makefile.orig	Sun Apr 15 10:06:40 2001
+++ Makefile	Sun Apr 15 10:06:51 2001
@@ -9,7 +9,7 @@

 O_TARGET := kernel.o

-export-objs = signal.o sys.o kmod.o context.o ksyms.o pm.o
+export-objs = signal.o sys.o kmod.o context.o ksyms.o pm.o printk.o

 obj-y     = sched.o dma.o fork.o exec_domain.o panic.o printk.o \
 	    module.o exit.o itimer.o info.o time.o softirq.o resource.o \


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

end of thread, other threads:[~2001-04-15 17:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-15  9:07 can't use printk in linux 2.4.2 module vivid_liou
  -- strict thread matches above, loose matches on Subject: below --
2001-04-15 17:08 James Simmons

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox