mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Dhirendra Pal Singh <list@actiswitch.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Problem in EXPORT_SYMBOL.. Please Help!
Date: Wed, 25 Dec 2002 16:33:58 +0100	[thread overview]
Message-ID: <20021225153358.GA974@mars.ravnborg.org> (raw)
In-Reply-To: <3E088959.60000@actiswitch.com>

On Tue, Dec 24, 2002 at 08:20:41AM -0800, Dhirendra Pal Singh wrote:
> Hi All
[Problem with exported symbol]

Kai G. posted this receipt the other day:
------------
Well, you can do

cd my_module
echo "obj-m := my_module.o" > Makefile
vi my_module.c
make -C <path/to/kernel/src> SUBDIRS=$PWD modules

That's not too bad (and basically works for 2.4 as well)
------------

That should catch any compiletime problems. Just stick in:
echo "export-objs := my_module.o" >> Makefile
To mark it a module with exported symbols.

And for 2.4 you need to include Rules.make:
echo "include path/to/Rules.make"

HTH,
	Sam

      reply	other threads:[~2002-12-25 15:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-24 16:20 Dhirendra Pal Singh
2002-12-25 15:33 ` Sam Ravnborg [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=20021225153358.GA974@mars.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=list@actiswitch.com \
    /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

Powered by JetHome