Messages in this thread | | | Subject | Re: writting kernel modules on redhat 7.3 linux kernel 2.4.18-3 | From | Arjan van de Ven <> | Date | 19 Mar 2003 09:15:12 +0100 |
| |
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] | |