mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjanv@redhat.com>
To: Hemanshu "Kanji Bhadra, Noida" <hemanshub@noida.hcltech.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: writting kernel modules on redhat 7.3 linux kernel 2.4.18-3
Date: 19 Mar 2003 09:15:12 +0100	[thread overview]
Message-ID: <1048061712.1493.2.camel@laptop.fenrus.com> (raw)
In-Reply-To: <E04CF3F88ACBD5119EFE00508BBB2121082D8201@exch-01.noida.hcltech.com>

[-- Attachment #1: Type: text/plain, Size: 398 bytes --]

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.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2003-03-19  8:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-19  7:07 Hemanshu Kanji Bhadra, Noida
2003-03-19  8:15 ` Arjan van de Ven [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1048061712.1493.2.camel@laptop.fenrus.com \
    --to=arjanv@redhat.com \
    --cc=hemanshub@noida.hcltech.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®