Eugene Prokopiev
2005-Dec-06 01:34 UTC
[Asterisk-Users] zaptel : unresolved symbol zt_unregister ...
Hi, I need to compile zaptel from asterisk 1.2.0 for linux kernel 2.4.26. I make and make install it without any error, but I can't load ztdummy module: # lsmod | grep z Module Size Used by Tainted: P # modprobe zaptel # lsmod | grep z Module Size Used by Tainted: P zaptel 184384 0 (unused) # modprobe ztdummy /lib/modules/2.4.26-std-up-alt6/misc/ztdummy.o: /lib/modules/2.4.26-std-up-alt6/misc/ztdummy.o: unresolved symbol zt_unregister /lib/modules/2.4.26-std-up-alt6/misc/ztdummy.o: /lib/modules/2.4.26-std-up-alt6/misc/ztdummy.o: unresolved symbol zt_transmit /lib/modules/2.4.26-std-up-alt6/misc/ztdummy.o: /lib/modules/2.4.26-std-up-alt6/misc/ztdummy.o: unresolved symbol zt_receive /lib/modules/2.4.26-std-up-alt6/misc/ztdummy.o: /lib/modules/2.4.26-std-up-alt6/misc/ztdummy.o: unresolved symbol zt_register /lib/modules/2.4.26-std-up-alt6/misc/ztdummy.o: insmod /lib/modules/2.4.26-std-up-alt6/misc/ztdummy.o failed /lib/modules/2.4.26-std-up-alt6/misc/ztdummy.o: insmod ztdummy failed # lsmod | grep z Module Size Used by Tainted: P zaptel 184384 0 (unused) #depmod -ae ... depmod: *** Unresolved symbols in /lib/modules/2.4.26-std-up-alt6/misc/zaptel.o depmod: __wake_up depmod: __generic_copy_from_user depmod: schedule depmod: kmalloc depmod: unregister_chrdev depmod: register_chrdev depmod: create_proc_entry depmod: remove_wait_queue depmod: request_module depmod: proc_mkdir depmod: __pollwait depmod: kfree depmod: remove_proc_entry depmod: add_wait_queue depmod: sprintf depmod: printk depmod: __generic_copy_to_user ... depmod: *** Unresolved symbols in /lib/modules/2.4.26-std-up-alt6/misc/ztdummy.o depmod: kmalloc depmod: free_irq depmod: kfree depmod: request_irq depmod: sprintf depmod: printk ... What's wrong? -- Thanks, Eugene Prokopiev
Tzafrir Cohen
2005-Dec-06 02:11 UTC
[Asterisk-Users] zaptel : unresolved symbol zt_unregister ...
On Tue, Dec 06, 2005 at 11:34:51AM +0300, Eugene Prokopiev wrote:> Hi, > > I need to compile zaptel from asterisk 1.2.0 for linux kernel 2.4.26. I > make and make install it without any error, but I can't load ztdummy module: > > # lsmod | grep z > Module Size Used by Tainted: P > # modprobe zaptel > # lsmod | grep z > Module Size Used by Tainted: P > zaptel 184384 0 (unused) > # modprobe ztdummy > /lib/modules/2.4.26-std-up-alt6/misc/ztdummy.o: > /lib/modules/2.4.26-std-up-alt6/misc/ztdummy.o: unresolved symbol > zt_unregister > /lib/modules/2.4.26-std-up-alt6/misc/ztdummy.o: > /lib/modules/2.4.26-std-up-alt6/misc/ztdummy.o: unresolved symbol > zt_transmit > /lib/modules/2.4.26-std-up-alt6/misc/ztdummy.o: > /lib/modules/2.4.26-std-up-alt6/misc/ztdummy.o: unresolved symbol zt_receive > /lib/modules/2.4.26-std-up-alt6/misc/ztdummy.o: > /lib/modules/2.4.26-std-up-alt6/misc/ztdummy.o: unresolved symbol > zt_register > /lib/modules/2.4.26-std-up-alt6/misc/ztdummy.o: insmod > /lib/modules/2.4.26-std-up-alt6/misc/ztdummy.o failed > /lib/modules/2.4.26-std-up-alt6/misc/ztdummy.o: insmod ztdummy failed > # lsmod | grep z > Module Size Used by Tainted: P > zaptel 184384 0 (unused) > #depmod -ae > ... > depmod: *** Unresolved symbols in > /lib/modules/2.4.26-std-up-alt6/misc/zaptel.o > depmod: __wake_up > depmod: __generic_copy_from_user > depmod: schedule > depmod: kmalloc > depmod: unregister_chrdev > depmod: register_chrdev > depmod: create_proc_entry > depmod: remove_wait_queue > depmod: request_module > depmod: proc_mkdir > depmod: __pollwait > depmod: kfree > depmod: remove_proc_entry > depmod: add_wait_queue > depmod: sprintf > depmod: printk > depmod: __generic_copy_to_user > ... > depmod: *** Unresolved symbols in > /lib/modules/2.4.26-std-up-alt6/misc/ztdummy.o > depmod: kmalloc > depmod: free_irq > depmod: kfree > depmod: request_irq > depmod: sprintf > depmod: printk > ... > > What's wrong?You built zaptel vs. the wrong kernel headers? Could you please provide more details on your build system? -- Tzafrir Cohen | tzafrir@jbr.cohens.org.il | VIM is http://tzafrir.org.il | | a Mutt's tzafrir@cohens.org.il | | best ICQ# 16849755 | | friend