Re: writting kernel modules on redhat 7.3 linux kernel 2.4.18-3

Arjan van de Ven (arjanv@redhat.com)
19 Mar 2003 09:15:12 +0100


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-908-1048061806-0001-2
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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.

--=_courier-908-1048061806-0001-2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Transfer-Encoding: 7bit
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA+eCcQxULwo51rQBIRAlK0AKCY6n1N2ZTGmkwCXWh9kbHt+o5fpgCdF5/3
0nxR/EVEF/5+RpzPi2ui9Zk=
=Ha57
-----END PGP SIGNATURE-----

--=_courier-908-1048061806-0001-2--