Frank Hoonhout
2003-Mar-20 20:17 UTC
[Asterisk-Users] Newbie issue. Error in compiling source code for zaptel drivers
I am in the process of trying out interesting software. I setup Redhat 8.0 and updated everything. (including the kernel) Now when I compile the code I get this error. /sbin/depmod -a depmod: *** Unresolved symbols in /lib/modules/2.4.18-27.8.0/misc/wcusb.o depmod: *** Unresolved symbols in /lib/modules/2.4.18-27.8.0/misc/zaptel.o depmod: *** Unresolved symbols in /lib/modules/2.4.18-27.8.0/misc/ztd-eth.o [ -f /etc/zaptel.conf ] || install -m 644 zaptel.conf.sample /etc/zaptel.conf Any ideas? Frank...
Steven Critchfield
2003-Mar-20 20:35 UTC
[Asterisk-Users] Newbie issue. Error in compiling source code for zaptel drivers
On Thu, 2003-03-20 at 21:17, Frank Hoonhout wrote:> I am in the process of trying out interesting software. > > I setup Redhat 8.0 and updated everything. (including the kernel) > > Now when I compile the code I get this error. > > /sbin/depmod -a > depmod: *** Unresolved symbols in /lib/modules/2.4.18-27.8.0/misc/wcusb.o > depmod: *** Unresolved symbols in /lib/modules/2.4.18-27.8.0/misc/zaptel.o > depmod: *** Unresolved symbols in /lib/modules/2.4.18-27.8.0/misc/ztd-eth.o > [ -f /etc/zaptel.conf ] || install -m 644 zaptel.conf.sample > /etc/zaptel.confUse depmod -ae to find out what symbols are unresolved. -- Steven Critchfield <critch@basesys.com>
Mark Spencer
2003-Mar-20 20:37 UTC
[Asterisk-Users] Newbie issue. Error in compiling source code for zaptel drivers
sounds like you need to update your kernel-source RPM as well. Mark On Thu, 20 Mar 2003, Frank Hoonhout wrote:> I am in the process of trying out interesting software. > > I setup Redhat 8.0 and updated everything. (including the kernel) > > Now when I compile the code I get this error. > > /sbin/depmod -a > depmod: *** Unresolved symbols in /lib/modules/2.4.18-27.8.0/misc/wcusb.o > depmod: *** Unresolved symbols in /lib/modules/2.4.18-27.8.0/misc/zaptel.o > depmod: *** Unresolved symbols in /lib/modules/2.4.18-27.8.0/misc/ztd-eth.o > [ -f /etc/zaptel.conf ] || install -m 644 zaptel.conf.sample > /etc/zaptel.conf > > > Any ideas? > > Frank... > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
Roy Sigurd Karlsbakk
2003-Mar-21 02:14 UTC
[Asterisk-Users] Newbie issue. Error in compiling source code for zaptel drivers
or perhaps use an official kernel from kernel.org? On Friday 21 March 2003 04:37, Mark Spencer wrote:> sounds like you need to update your kernel-source RPM as well. > > Mark > > On Thu, 20 Mar 2003, Frank Hoonhout wrote: > > I am in the process of trying out interesting software. > > > > I setup Redhat 8.0 and updated everything. (including the kernel) > > > > Now when I compile the code I get this error. > > > > /sbin/depmod -a > > depmod: *** Unresolved symbols in /lib/modules/2.4.18-27.8.0/misc/wcusb.o > > depmod: *** Unresolved symbols in > > /lib/modules/2.4.18-27.8.0/misc/zaptel.o depmod: *** Unresolved symbols > > in /lib/modules/2.4.18-27.8.0/misc/ztd-eth.o [ -f /etc/zaptel.conf ] || > > install -m 644 zaptel.conf.sample > > /etc/zaptel.conf > > > > > > Any ideas? > > > > Frank... > > > > _______________________________________________ > > Asterisk-Users mailing list > > Asterisk-Users@lists.digium.com > > http://lists.digium.com/mailman/listinfo/asterisk-users > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users-- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop working when you open Windows.
Brian Johnson
2003-Mar-21 07:17 UTC
[Asterisk-Users] Newbie issue. Error in compiling source code for zaptel drivers
I'm going through the same troubleshooting re: similar modprobe errors possibly compile/kernel related I'm using RH 7.3 and was trying to use alsa to detect my onboard sound card and was following the instructions at http://www-ccrma.stanford.edu/planetccrma/software/installkernelandsound.html that includes a kernel install This kernel, labelled as kernel-up#2.4.19-1.ll, is described as: The Planet CCRMA kernel and matching set of ALSA sound drivers include several patches that enhance low latency and real time performance. The current kernel rpms (2.4.19-1.ll) contain: * kernel 2.4.19: the original Linus kernel * linux-cap_setpcap: enable capabilities * 2.4.19-pre10-low-latency.patch: low latency patch I'll try an older, stock RH kernel and let you know how it goes Roy Sigurd Karlsbakk (roy@karlsbakk.net) wrote:> >or perhaps use an official kernel from kernel.org? > >On Friday 21 March 2003 04:37, Mark Spencer wrote: >> sounds like you need to update your kernel-source RPM as well. >> >> Mark >> >> On Thu, 20 Mar 2003, Frank Hoonhout wrote: >> > I am in the process of trying out interesting software. >> > >> > I setup Redhat 8.0 and updated everything. (including the kernel) >> > >> > Now when I compile the code I get this error. >> > >> > /sbin/depmod -a >> > depmod: *** Unresolved symbols in /lib/modules/2.4.18-27.8.0/misc/wcusb.o >> > depmod: *** Unresolved symbols in >> > /lib/modules/2.4.18-27.8.0/misc/zaptel.o depmod: *** Unresolved symbols >> > in /lib/modules/2.4.18-27.8.0/misc/ztd-eth.o [ -f /etc/zaptel.conf ] || >> > install -m 644 zaptel.conf.sample >> > /etc/zaptel.conf >> > >> > >> > Any ideas? >> > >> > Frank... >> > >> > _______________________________________________ >> > Asterisk-Users mailing list >> > Asterisk-Users@lists.digium.com >> > http://lists.digium.com/mailman/listinfo/asterisk-users >> >> _______________________________________________ >> Asterisk-Users mailing list >> Asterisk-Users@lists.digium.com >> http://lists.digium.com/mailman/listinfo/asterisk-users > > >Computers are like air conditioners. >They stop working when you open Windows. > > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >-- Brian Johnson This is where my witty signature line would be if I bothered to edit this line :)
Brian Johnson
2003-Mar-21 14:31 UTC
[Asterisk-Users] Newbie issue. Error in compiling source code for zaptel drivers
did this work for you? Frank Hoonhout (frank.hoonhout@state.or.us) wrote:> >After some more investigation, I think I know what I need to do. > >Taken from the kernel-how-to docs. > >3.4 The 'depmod' gives "Unresolved symbol error messages" >When you run depmod it gives "Unresolved symbols". A sample error message is >given here to demonstrate the case: > > >---------------------------------------------------------------------------- >---- > >bash$ su - root >bash# man depmod >bash# depmod >depmod: *** Unresolved symbols in >/lib/modules/version/kernel/drivers/md/linear.o >depmod: *** Unresolved symbols in >/lib/modules/version/kernel/drivers/md/multipath.o >depmod: *** Unresolved symbols in >/lib/modules/version/kernel/drivers/md/raid0.o >depmod: *** Unresolved symbols in >/lib/modules/version/kernel/drivers/md/raid1.o >depmod: *** Unresolved symbols in >/lib/modules/version/kernel/drivers/md/raid5.o > > >---------------------------------------------------------------------------- >---- > >Reason: You did not make modules and install the modules after building the >new kernel with "make bzImage". > >Solution: After you build the new kernel, you must do: > > >---------------------------------------------------------------------------- >---- > >bash$ su - root >bash# cd /usr/src/linux >bash# make modules >bash# make modules_install > > >Frank... > >> -----Original Message----- >> From: asterisk-users-admin@lists.digium.com >> [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of >> Frank Hoonhout >> Sent: Friday, March 21, 2003 8:28 AM >> To: asterisk-users@lists.digium.com >> Subject: RE: [Asterisk-Users] Newbie issue. Error in >> compiling source code for zaptel drivers >> >> >> Steven: >> >> Here is the output from depmod -ae >> I do see errors. >> >> [root@asterisk]# /sbin/depmod -ae >> depmod: *** Unresolved symbols in >> /lib/modules/2.4.18-27.8.0/misc/wcusb.o >> depmod: usb_control_msg_Re80c4f9a >> depmod: usb_submit_urb_R77d0e891 >> depmod: usb_set_configuration_R38118f0c >> depmod: usb_set_interface_Rfe0b0cf8 >> depmod: usb_deregister_Rb5c0939b >> depmod: usb_register_Ra6fe0a72 >> depmod: *** Unresolved symbols in >> /lib/modules/2.4.18-27.8.0/misc/zaptel.o >> depmod: __kfree_skb_R3810042c >> depmod: create_proc_entry_Ra3afa0f7 >> depmod: register_chrdev_Ref89ab9e >> depmod: add_wait_queue_R0cbf8a39 >> depmod: remove_wait_queue_Rb65338b9 >> depmod: remove_proc_entry_Rec1fb130 >> depmod: __pollwait_Ra26a5ce8 >> depmod: softnet_data_Rd1ee1ba1 >> depmod: skb_over_panic_R7ac7865f >> depmod: proc_mkdir_R939a6693 >> depmod: alloc_skb_Rd2becd82 >> depmod: *** Unresolved symbols in >> /lib/modules/2.4.18-27.8.0/misc/ztd-eth.o >> depmod: __kfree_skb_R3810042c >> depmod: dev_remove_pack_Rbe8a66d1 >> depmod: dev_queue_xmit_R8ac0fc82 >> depmod: dev_add_pack_R09ed4520 >> depmod: dev_get_by_name_R76e16b06 >> depmod: skb_under_panic_R432fccad >> depmod: skb_over_panic_R7ac7865f >> depmod: alloc_skb_Rd2becd82 >> >> But the the files are in /lib/modules/2.4.18-27.8.0/misc. >> >> [root@asterisk misc]# ls -l >> total 280 >> -rw-r--r-- 1 root root 89788 Mar 20 18:32 tor2.o >> -rw-r--r-- 1 root root 19048 Mar 20 18:32 torisa.o >> -rw-r--r-- 1 root root 10828 Mar 20 18:32 wcfxo.o >> -rw-r--r-- 1 root root 19252 Mar 20 18:32 wcfxs.o >> -rw-r--r-- 1 root root 15620 Mar 20 18:32 wct1xxp.o >> -rw-r--r-- 1 root root 24752 Mar 20 18:32 wcusb.o >> -rw-r--r-- 1 root root 69324 Mar 20 18:32 zaptel.o >> -rw-r--r-- 1 root root 5808 Mar 20 18:32 ztd-eth.o >> -rw-r--r-- 1 root root 10920 Mar 20 18:32 ztdynamic.o >> >> They match the files in /usr/src/zaptel. >> >> I am not sure where to go from here. >> >> Frank... >> >> >> > -----Original Message----- >> > From: asterisk-users-admin@lists.digium.com >> > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of >> > Steven Critchfield >> > Sent: Friday, March 21, 2003 6:39 AM >> > To: asterisk-users@lists.digium.com >> > Subject: Re: [Asterisk-Users] Newbie issue. Error in >> > compiling source code forzaptel drivers >> > >> > >> > On Fri, 2003-03-21 at 08:17, Brian Johnson wrote: >> > > I'm going through the same troubleshooting re: similar >> > modprobe errors >> > > possibly compile/kernel related >> > <snip> >> > > I'll try an older, stock RH kernel and let you know how it goes >> > >> > With as much a I hate RH and what they do to kernels, I don't >> > think the kernel itself is the problem, nor will changing the >> > version solve your problems. >> > >> > use depmod -ae so you can find out what is unresolved. >> > Chances are you have module versions on the kernel, but not >> > your zaptel drivers. If your kernel is working for you and is >> > seeming to be stable, it probably is best to make the current >> > one work. >> > >> > -- >> > Steven Critchfield <critch@basesys.com> >> > >> > _______________________________________________ >> > Asterisk-Users mailing list >> > Asterisk-Users@lists.digium.com >> > http://lists.digium.com/mailman/listinfo/aster> isk-users >> > >> >> _______________________________________________ >> Asterisk-Users mailing list >> Asterisk-Users@lists.digium.com >> http://lists.digium.com/mailman/listinfo/asterisk-users >> > > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >-- Brian Johnson This is where my witty signature line would be if I bothered to edit this line :)
Brian Johnson
2003-Mar-21 14:39 UTC
[Asterisk-Users] Newbie issue. Error in compiling source code for zaptel drivers
What are "module versions on the kernel"? I did a google but didn't find an explanation that I understood.>> > With as much a I hate RH and what they do to kernels, I don't >> > think the kernel itself is the problem, nor will changing the >> > version solve your problems. >> > >> > use depmod -ae so you can find out what is unresolved. >> > Chances are you have module versions on the kernel, but not >> > your zaptel drivers. If your kernel is working for you and is >> > seeming to be stable, it probably is best to make the current >> > one work. >> > >> > -- >> > Steven Critchfield <critch@basesys.com>-- Brian Johnson This is where my witty signature line would be if I bothered to edit this line :)