lkml.org 
[lkml]   [2003]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: writting kernel modules on redhat 7.3 linux kernel 2.4.18-3
From
Date
On Wed, 2003-03-19 at 08:07, Hemanshu Kanji Bhadra, Noida wrote:

> gcc -O2 -D__KERNEL__ -DMODULE -I/usr/src/linux/include -c
> helloworld_proc_module.c -o helloworld_proc_module.o

You are using the glibc headers to compile kernel modules, that's not
going to work. You need more than that; you could check the makefile at
http://people.redhat.com/arjanv/xircom_cb/Makefile for more info.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.023 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site