Re: Regarding compilation problem on kernel verison 2.4.20-8

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

 



On Fri, 2003-10-10 at 15:28, Senthil Kumar R wrote:
> Hi,
> I had couple of dummy drivers and kernel modules running on RH 7.3 and kernel version 2.4.18-3... laterly i upgraded to RH 9 and the version is 2.4.20-8. When I compile th moudles on the latest verison, I m getting lots and lots of compilation erros. Could somebody let me knw whts the issue.
> 
> 
> Attached is the compilation erros:
> 
> In file included from /usr/include/linux/fs.h:23,
>                  from module.c:5:
> /usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userla
> nd!

using the glibc headers to compile a kernel module won't bring you far,
you need to use the kernel headers (in /lib/modules/`uname
-r`/build/include ) instead.

Attachment: signature.asc
Description: This is a digitally signed message part


[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