error when compiling hello.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hai,
  I have gone through Linux Kernel Module Programming Guide.I tried to run 
the simple module hello.c.when I compiled I got teh error message
/usr/include/linux/modversions.h#error Modules should never use kernel 
headers system heads(this is the message from the that header file)
I am using Red Hat Linux-7.1 and the kernel version is 2.4.2-2.
What went wrong?Thank u in advance for spending time for me

Kannan Ram


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux