From: "mahendra varman" <mahendravarman15@gmail.com>
To: linuxppc-embedded@ozlabs.org., linux-kernel@vger.kernel.org
Subject: Unresolved symbols while inserting a module in linux
Date: Wed, 5 Mar 2008 20:14:57 +0530 [thread overview]
Message-ID: <4ac2955e0803050644g2ccd2e46n305d2790389b517@mail.gmail.com> (raw)
Hi all
For a customised hdlc card we have written hdlc driver.
we need to compile it as a module in linux 2.4.25 version
Thru Config.in we have defined the customised driver as tristate and
selected 'M' in menuconfig for that driver
The other dependencies generic hdlc driver, cisco , framedelay , ppp
etc are compiled as configured within the kernel itself
By giving make modules we have produced driver.o file
When I insert the driver.o using insmod iam getting the following
unresolved symbols
Even though the dependencies have been configured with the kernel
itself iam getting these unresolved symbols
If we use modprobe driver.o (or) modprobe driver it is reporting
driver:applet not found..
Help me to produce a module with its dependencies also to solve the
unresolved symbols error
Thanks
---------------------------------------------------- unresolved
symbols after insmod
------------------------------------------------------
Using driver.o
insmod: unresolved symbol pci_write_config_byte
insmod: unresolved symbol __netdev_watchdog_up
insmod: unresolved symbol schedule_timeout
insmod: unresolved symbol __kfree_skb
insmod: unresolved symbol alloc_skb
insmod: unresolved symbol pci_register_driver
insmod: unresolved symbol register_hdlc_device
insmod: unresolved symbol unregister_hdlc_device
insmod: unresolved symbol __release_region
insmod: unresolved symbol kmalloc
insmod: unresolved symbol pci_free_consistent
insmod: unresolved symbol pci_free_consistent
insmod: unresolved symbol __save_flags_ptr
insmod: unresolved symbol ioremap
insmod: unresolved symbol cpu_raise_softirq
insmod: unresolved symbol free_irq
insmod: unresolved symbol __out_of_line_bug
insmod: unresolved symbol iounmap
insmod: unresolved symbol pci_alloc_consistent
insmod: unresolved symbol iomem_resource
insmod: unresolved symbol kfree
insmod: unresolved symbol strlen
insmod: unresolved symbol request_irq
insmod: unresolved symbol netif_rx
insmod: unresolved symbol pci_unregister_driver
insmod: unresolved symbol skb_over_panic
insmod: unresolved symbol pci_set_master
insmod: unresolved symbol hdlc_ioctl
insmod: unresolved symbol jiffies
insmod: unresolved symbol __copy_tofrom_user
insmod: unresolved symbol __restore_flags
insmod: unresolved symbol softnet_data
insmod: unresolved symbol __request_region
insmod: unresolved symbol printk
insmod: unresolved symbol __cli
next reply other threads:[~2008-03-05 14:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-05 14:44 mahendra varman [this message]
2008-03-05 15:01 ` Unresolved symbols while inserting a module in linux ravi.rao
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=4ac2955e0803050644g2ccd2e46n305d2790389b517@mail.gmail.com \
--to=mahendravarman15@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-embedded@ozlabs.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