Hi all, I've just got asterisk and i was trying to compile it for my amdk6 running 2.4.27 debian patched kernel. However I got some some undefined references when trying to load the zaptel module: # modprobe zaptel /lib/modules/2.4.27-1-386/misc/zaptel.o: /lib/modules/2.4.27-1-386/misc/zaptel.o: unresolved symbol remove_wait_queue_R45b432d5 /lib/modules/2.4.27-1-386/misc/zaptel.o: /lib/modules/2.4.27-1-386/misc/zaptel.o: unresolved symbol devfs_mk_dir_Ra97b8b7f /lib/modules/2.4.27-1-386/misc/zaptel.o: /lib/modules/2.4.27-1-386/misc/zaptel.o: unresolved symbol devfs_register_chrdev_R65a5d2ec /lib/modules/2.4.27-1-386/misc/zaptel.o: /lib/modules/2.4.27-1-386/misc/zaptel.o: unresolved symbol devfs_mk_symlink_Rc227b4f4 /lib/modules/2.4.27-1-386/misc/zaptel.o: /lib/modules/2.4.27-1-386/misc/zaptel.o: unresolved symbol __pollwait_Rcf35dcd3 /lib/modules/2.4.27-1-386/misc/zaptel.o: /lib/modules/2.4.27-1-386/misc/zaptel.o: unresolved symbol create_proc_entry_R6f117def /lib/modules/2.4.27-1-386/misc/zaptel.o: /lib/modules/2.4.27-1-386/misc/zaptel.o: unresolved symbol add_wait_queue_R1851d7ea /lib/modules/2.4.27-1-386/misc/zaptel.o: /lib/modules/2.4.27-1-386/misc/zaptel.o: unresolved symbol remove_proc_entry_R3183023b /lib/modules/2.4.27-1-386/misc/zaptel.o: /lib/modules/2.4.27-1-386/misc/zaptel.o: unresolved symbol proc_mkdir_Rfc3afafa /lib/modules/2.4.27-1-386/misc/zaptel.o: /lib/modules/2.4.27-1-386/misc/zaptel.o: unresolved symbol devfs_unregister_R56777289 /lib/modules/2.4.27-1-386/misc/zaptel.o: /lib/modules/2.4.27-1-386/misc/zaptel.o: unresolved symbol devfs_generate_path_R55a5d279 /lib/modules/2.4.27-1-386/misc/zaptel.o: /lib/modules/2.4.27-1-386/misc/zaptel.o: unresolved symbol devfs_register_Rff038ff5 /lib/modules/2.4.27-1-386/misc/zaptel.o: insmod /lib/modules/2.4.27-1-386/misc/zaptel.o failed /lib/modules/2.4.27-1-386/misc/zaptel.o: insmod zaptel failed Do you have any idea of what this may be? Best Regards Filipe Abrantes
On Wed, 2005-03-23 at 20:58 +0000, Filipe Abrantes wrote:> Hi all, > > I've just got asterisk and i was trying to compile it for my amdk6 > running 2.4.27 debian patched kernel. However I got some some undefined > references when trying to load the zaptel module: > > # modprobe zaptel<snip>> /lib/modules/2.4.27-1-386/misc/zaptel.o failed > /lib/modules/2.4.27-1-386/misc/zaptel.o: insmod zaptel failed > > Do you have any idea of what this may be?You will do well to compile a kernel from kernel.org sources and not a distro specific version. Even debian includes things that may cause you trouble. It is better to tune your kernel well and know it is working at the most efficient you can for telephony apps to work well. Next, you need to learn about very generic module debugging. The unresolved symbols that you are having trouble with need to be known. Use "depmod -ae" to tell you what symbols are missing. Then from the names you may well know what it is you are missing. Since you are using debian specific kernel, I am betting it has symbol versions turned on, and it would require a specific .h file created at compile time to have made the linking of the zaptel module know the precise name of the symbol. -- Steven Critchfield <critch@basesys.com>