From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
To: linux-c-programming@vger.kernel.org
Subject: Re: Filesystem as a module?
Date: Sat, 13 Mar 2004 13:07:26 +0100 [thread overview]
Message-ID: <20040313120726.GO17857@lug-owl.de> (raw)
In-Reply-To: <20040312230257.B06123DE6@xprdmailfe11.nwk.excite.com>
[-- Attachment #1: Type: text/plain, Size: 1733 bytes --]
On Fri, 2004-03-12 18:02:57 -0500, Vineet Joglekar <vintya@excite.com>
wrote in message <20040312230257.B06123DE6@xprdmailfe11.nwk.excite.com>:
> Hi all,
>
> I am trying to add some functionalities to ext2 filesystem, and use it as a module. Till now what I did is:
> 1: Copied the ext2 files and made the approprate changes
> 2: Copied files from usr/src/linux/fs/ directory
> 3: Copied relevant header files in /include/linux directory
Better create another directory below ./linux/fs/ and place your sources
there.
> The module gets compiled properly, but when I try to insert it using insmod, I am getting following errors like:
>
> my_extv2.o: unresolved symbol generic_file_read_Rsmp_106b3732
> my_extv2.o: unresolved symbol __get_free_pages_Rsmp_4784e424
> my_extv2.o: unresolved symbol try_inc_mod_count_Rsmp_e6105b23
> my_extv2.o: unresolved symbol blk_size_Rsmp_a2e0a082
> my_extv2.o: unresolved symbol pidhash_Rsmp_4439d880
> my_extv2.o: unresolved symbol floppy_eject
> my_extv2.o: unresolved symbol smp_num_siblings
You've mixed up your symbol versioning settings, most probably because
you're not building within the kernel's sources. That should all go away
automatically if you build within the kernel:)
> Whats wrong with my approach or do I need to add / modify few things?
Just copy all the sources back into the kernel tree and you're most
probably done.
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak!
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-03-13 12:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-12 23:02 Filesystem as a module? Vineet Joglekar
2004-03-13 12:07 ` Jan-Benedict Glaw [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-03-13 19:47 Vineet Joglekar
2004-03-13 23:52 ` Jan-Benedict Glaw
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=20040313120726.GO17857@lug-owl.de \
--to=jbglaw@lug-owl.de \
--cc=linux-c-programming@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;
as well as URLs for NNTP newsgroup(s).