From: Amit Kulkarni <amitncsu@yahoo.com>
To: Tyler BIRD <BIRDTY@uvsc.edu>, linux-kernel@vger.kernel.org
Subject: Re: Insmod gives unsresolved symbol
Date: Tue, 6 Nov 2001 11:04:41 -0800 (PST) [thread overview]
Message-ID: <20011106190441.58124.qmail@web12203.mail.yahoo.com> (raw)
In-Reply-To: <sbe7b36f.021@MAIL-SMTP.uvsc.edu>
these functions are defined in /net/mpls.h as extern
variables.
I don't think there is a mpls_init.h
I have included mpls.h and hence it compiles w/o error
but only at the time of linking it gives this error
--- Tyler BIRD <BIRDTY@uvsc.edu> wrote:
> Well you still much include the header file for the
> link
> whatever it might be. #include
> <include/mpls_init.h>
> for example. Only some functions such as printk
> don't need such headers.
>
> Tyler
>
>
> >>> Amit Kulkarni <amitncsu@yahoo.com> 11/06/01
> 01:17AM >>>
> Hi
>
> I am trying to write a device driver which calls
> certain functions/variables from the kernel
> (e.g. ipv4_explicit_null from
> /usr/src/linux/net/mpls/mpls_init.c )
>
> But when I try to insert the module using insmod it
> gives me an error saying unresolved symbol
> ipv4_explicit_null
>
> thinking the kernel did not export the said symbol
> I
> added EXPORT_SYMBOL(ipv4_explicit_null) in the file
> mpls_init.c
> Now I can see the symbol in System.map
> but my problem still persists.
>
> Am I exporting symbols properly or is there anything
> else that needs to be done .
>
> please advise
> thanks in anticipation,
> amit
>
> __________________________________________________
> Do You Yahoo!?
> Find a job, post your resume.
> http://careers.yahoo.com
> -
> To unsubscribe from this list: send the line
> "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at
> http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com
next parent reply other threads:[~2001-11-06 19:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <sbe7b36f.021@MAIL-SMTP.uvsc.edu>
2001-11-06 19:04 ` Amit Kulkarni [this message]
2001-11-06 8:17 Amit Kulkarni
2001-11-06 14:59 ` Tommy Reynolds
2001-11-06 19:00 ` Amit Kulkarni
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=20011106190441.58124.qmail@web12203.mail.yahoo.com \
--to=amitncsu@yahoo.com \
--cc=BIRDTY@uvsc.edu \
--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®