can't include headers

gndutm@netscape.net
Wed, 29 May 2002 13:18:33 -0400


hi,
I need to write a device driver under linux. I am using slackware linux kernel 2.4.18.
I have problem to include headers, here is some of my code:

#define __KERNEL__
#include <linux/config.h> (ok)

#ifdef CONFIG_MODVERSIONS
#define MODVERSIONS
#include <linux/modversions.h> (ok)
#endif

#include <linux/module.h> (ok)
#include <linux/stddef.h> (ok)
#include <linux/kernel.h> (ok)
#include <linux/mm.h> <--- can't include this one

Any comments is greatly appreciated.
Thanks alot.

Ganda

__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/