Unresolved symbols while inserting a module in linux
From: mahendra varman <hidden>
Date: 2008-03-05 14:45:00
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