mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "shesha bhushan" <bhushan_vadulas@hotmail.com>
To: linux-kernel@vger.kernel.org
Subject: Exporting Kernel Symbols
Date: Thu, 13 Feb 2003 20:22:48 +0000	[thread overview]
Message-ID: <F131jJLAiVXqMLhudPJ0001e073@hotmail.com> (raw)

Hi,
  I have written a new function in linux/fs/read_write.c and I want to make 
the function avaliable to other kernel modules loaded using insmod.
He is what I did:
1. Wrore the func my_func() in linux/fs/read_write.c
2. Used the macro EXPORT_SYMBOL(my_func) inside linux/fs/read_write.c
3. Have a signature of my_func in my_func.h
4. Include my_func.h in linux/fs/read_write.c and my_driver.c
5. Recompiled the kernel
6. Compiler my_driver as loadable module.
7. Brought my new kernel Up.
8 . Insmod my_driver.o
Here I get the error "Unresolved symbol my_func"
Can any one clarify this.

Thanking You
Shesha





_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


             reply	other threads:[~2003-02-13 20:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-13 20:22 shesha bhushan [this message]
2003-02-13 20:26 ` Randy.Dunlap
  -- strict thread matches above, loose matches on Subject: below --
2003-02-13 21:10 shesha bhushan
2003-02-13 20:35 shesha bhushan
2002-01-28 13:13 exporting kernel symbols kumar M
2002-01-28 13:22 ` Keith Owens
2002-01-27 15:16 kumar M
2002-01-27 23:37 ` Keith Owens

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=F131jJLAiVXqMLhudPJ0001e073@hotmail.com \
    --to=bhushan_vadulas@hotmail.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®