I'm trying to port my device driver module from Slakware to Redhat
linux, and I'm having problems.  Under Slakware, everything 
compiles just fine.  I can load the module with insmod, etc., and
everything's cool.  It works 100 percent.

When I try to compile it under Redhat, I get a bunch of compiler
warnings from gcc for many of the kernel functions I use.  For 
example:

Implicit declaration of function 'printk_R1b7d4074'
Implicit declaration of function 'do_gettimeofday_R72270e35'
Implicit declaration of function '__udelay_R9e7d6bd0'
Implicit declaration of function 'kmalloc_R93d4cfe6'
Implicit declaration of function 'kfree_R037a0cba'
etc.

Yes, I am including the obvious .h files like <linux/kernel.h>

Also, I've got the necessary -D__KERNEL__   -DMODULE   -DLINUX
-DCONFIG_MODVERSIONS and so forth in my makefile.  
I'm using the same source and makefile that I use under Slakware
(my Redhat system is using the same NFS-mounted drive as my Slakware
system.)

I'm new to Redhat, so I don't know what the differences are.
Suggestions?

Bob Peterson

Bob Peterson
Advanced Communication Design
(612) 854-4000
[EMAIL PROTECTED]

-- 
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to