Hi all, I'm pretty new to linux and compiling modules, but I've scoured the web for help on compiling the zaptel modules from source and I get the following error... make -C SUBDIRS=/usr/src/modules/zaptel modules make: *** SUBDIRS=/usr/src/modules/zaptel: No such file or directory. Stop. make: *** [linux26] Error 2 Any ideas? /usr/src/modules/zaptel is the dir I'm running "make linux26" in. This is a Debian server and I've retrieved the zaptel-source via apt-get. Any help greatly appreciated! Best regards, Phil -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061209/fe852032/attachment.htm
On Sat, Dec 09, 2006 at 12:07:28PM -0500, Phil Finkler wrote:> Hi all, > > > > I'm pretty new to linux and compiling modules, but I've scoured the web > for help on compiling the zaptel modules from source and I get the > following error... > > > > make -C SUBDIRS=/usr/src/modules/zaptel modules > > make: *** SUBDIRS=/usr/src/modules/zaptel: No such file or directory. > Stop. > > make: *** [linux26] Error 2 > > > > Any ideas? /usr/src/modules/zaptel is the dir I'm running "make > linux26" in. This is a Debian server and I've retrieved the > zaptel-source via apt-get. Any help greatly appreciated!Which Debian? generally you should simply use: m-a a-i zaptel Also: run: apt-get install kernel-headers-`uname -r` -- Tzafrir Cohen icq#16849755 jabber:tzafrir@jabber.org +972-50-7952406 mailto:tzafrir.cohen@xorcom.com http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir
I'm running Debian 3.1 with the 2.6 kernel. I've also got the kernel source installed and compiled from source so I'm assuming I don't need the kernel headers. Can you elaborate on what "m-a a-I zaptel" refers to? Are those flags for running make linux26? I haven't come across that in any of the documentation I've been reading. Thanks for the help, Phil On Sat, Dec 09, 2006 at 12:07:28PM -0500, Phil Finkler wrote:> Hi all, > > > > I'm pretty new to linux and compiling modules, but I've scoured theweb> for help on compiling the zaptel modules from source and I get the > following error... > > > > make -C SUBDIRS=/usr/src/modules/zaptel modules > > make: *** SUBDIRS=/usr/src/modules/zaptel: No such file or directory. > Stop. > > make: *** [linux26] Error 2 > > > > Any ideas? /usr/src/modules/zaptel is the dir I'm running "make > linux26" in. This is a Debian server and I've retrieved the > zaptel-source via apt-get. Any help greatly appreciated!Which Debian? generally you should simply use: m-a a-i zaptel Also: run: apt-get install kernel-headers-`uname -r` -- Tzafrir Cohen icq#16849755 jabber:tzafrir at jabber.org <http://lists.digium.com/mailman/listinfo/asterisk-users> +972-50-7952406 mailto:tzafrir.cohen at xorcom.com <http://lists.digium.com/mailman/listinfo/asterisk-users> http://www.xorcom.com iax:guest at local.xorcom.com <http://lists.digium.com/mailman/listinfo/asterisk-users> /tzafrir -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061210/f85037c3/attachment.htm
That seemed to work well. Thank you! On a side note, now that I have the zaptel module installed, how can I uninstall it? I've been googling for over an hour and have had no such luck. If all else fails I'll try the IRC channel in the AM. Thanks again for your guidance and help, Phil On Sun, Dec 10, 2006 at 11:12:32AM -0500, Phil Finkler wrote:> I'm running Debian 3.1 with the 2.6 kernel. I've also got the kernel > source installed and compiled from source so I'm assuming I don't need > the kernel headers. Can you elaborate on what "m-a a-I zaptel" refers > to? Are those flags for running make linux26? I haven't come across > that in any of the documentation I've been reading.m-a -k /path/to/kernel/source/dir a-i zaptel I generally prefer, though: m-a -t -i -k /path/to/kernel/source/dir a-i zaptel as the module assistant "user interface" is not very useful. I also tend to build debs as a user: m-a -u . -t -i -k /path/to/kernel/source/dir a-i zaptel And for more information: man m-a -- Tzafrir Cohen icq#16849755 jabber:tzafrir at jabber.org <http://lists.digium.com/mailman/listinfo/asterisk-users> +972-50-7952406 mailto:tzafrir.cohen at xorcom.com <http://lists.digium.com/mailman/listinfo/asterisk-users> http://www.xorcom.com iax:guest at local.xorcom.com <http://lists.digium.com/mailman/listinfo/asterisk-users> /tzafrir -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061210/cc058a89/attachment.htm