Hi, I am new to asterisk. I have downloaded Asterisk and Zaptel from the cvs root. I am installing them on Mepis with linux-2.6.7 Whenever I try to do "make" in the zaptel directory, I get the following errors. make -C /lib/modules/`uname -r` /build SUBDIRS=/usr/src/zaptel modules make[1]: Entering directory `/usr/src/linux-2.6.7` make[1]: *** No rule to make target `modules`. Stop. make[1]: Leaving directory `/usr/src/linux-2.6.7` make: *** [linux26] Error 2 I found some help on that which instructs to make a symbolic link I did the following. ln -s /usr/src/linux-2.6.7 -> /lib/modules/build/linux-2.6.7 It still gives me the same error. Does anyone have any suggestions? Thanks in advance. Imran -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041221/070b2a5e/attachment.htm
Imran Sadiq wrote:> Hi, > > > > I am new to asterisk. > > I have downloaded Asterisk and Zaptel from the cvs root. > > I am installing them on Mepis with linux-2.6.7 > > > > Whenever I try to do ?make? in the zaptel directory, I get the following > errors. > > > > make ?C /lib/modules/`uname ?r` /build SUBDIRS=/usr/src/zaptel modules > > make[1]: Entering directory `/usr/src/linux-2.6.7` > > make[1]: *** No rule to make target `modules`. Stop. > > make[1]: Leaving directory `/usr/src/linux-2.6.7` > > make: *** [linux26] Error 2 > > > > > > I found some help on that which instructs to make a symbolic link > > > > I did the following. > > > > ln ?s /usr/src/linux-2.6.7 -> //lib/modules/build/linux-2.6.7/ > > / / > > It still gives me the same error. Does anyone have any suggestions? > > > > Thanks in advance. > > > > ImranImran, Try this: ln -s /usr/src/linux-2.6.7 /usr/src/linux-2.6 and make linux26 in the Zaptel directory. -- Kristian Kielhofner
Kristian, Thanks for that. It still gives me the same error. I have also tried "make linux26" in the zaptel directory and it gives me the exact same error. I also tried "make linux-2.6.7" and that says "*** No rule to make target `linux-2.6.7' Any suggesstions? Thanks -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Kristian Kielhofner Sent: Wednesday, 22 December 2004 10:33 a.m. To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Problems installing Zaptel Imran Sadiq wrote:> Hi, > > > > I am new to asterisk. > > I have downloaded Asterisk and Zaptel from the cvs root. > > I am installing them on Mepis with linux-2.6.7 > > > > Whenever I try to do "make" in the zaptel directory, I get thefollowing> errors. > > > > make -C /lib/modules/`uname -r` /build SUBDIRS=/usr/src/zaptel modules > > make[1]: Entering directory `/usr/src/linux-2.6.7` > > make[1]: *** No rule to make target `modules`. Stop. > > make[1]: Leaving directory `/usr/src/linux-2.6.7` > > make: *** [linux26] Error 2 > > > > > > I found some help on that which instructs to make a symbolic link > > > > I did the following. > > > > ln -s /usr/src/linux-2.6.7 -> //lib/modules/build/linux-2.6.7/ > > / / > > It still gives me the same error. Does anyone have any suggestions? > > > > Thanks in advance. > > > > ImranImran, Try this: ln -s /usr/src/linux-2.6.7 /usr/src/linux-2.6 and make linux26 in the Zaptel directory. -- Kristian Kielhofner _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Yes you are right. I installed Mepis straight from their CD. It does not look like there is any Makefile in the directory. I think it probably did not copy the source files. Please forgive my ignorance in Linux. I am pretty new to this stuff. What would be the easiest way out of this situation? Any help would be appreciated. Thanks, ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Adam Fineberg Sent: Wednesday, 22 December 2004 4:56 p.m. To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Problems installing Zaptel Imran Sadiq wrote: Kristian, Thanks for that. It still gives me the same error. I have also tried "make linux26" in the zaptel directory and it gives me the exact same error. I also tried "make linux-2.6.7" and that says "*** No rule to make target `linux-2.6.7' Any suggesstions? Are you sure you have the kernel source installed and configured? The make target for 2.6.7 is linux26 as per the README.Linux26 so the only thought is there is no Makefile in /usr/src/linux-2.6.7. Thanks -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Kristian Kielhofner Sent: Wednesday, 22 December 2004 10:33 a.m. To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Problems installing Zaptel Imran Sadiq wrote: Hi, I am new to asterisk. I have downloaded Asterisk and Zaptel from the cvs root. I am installing them on Mepis with linux-2.6.7 Whenever I try to do "make" in the zaptel directory, I get the following errors. make -C /lib/modules/`uname -r` /build SUBDIRS=/usr/src/zaptel modules make[1]: Entering directory `/usr/src/linux-2.6.7` make[1]: *** No rule to make target `modules`. Stop. make[1]: Leaving directory `/usr/src/linux-2.6.7` make: *** [linux26] Error 2 I found some help on that which instructs to make a symbolic link I did the following. ln -s /usr/src/linux-2.6.7 -> //lib/modules/build/linux-2.6.7/ / / It still gives me the same error. Does anyone have any suggestions? Thanks in advance. Imran Imran, Try this: ln -s /usr/src/linux-2.6.7 /usr/src/linux-2.6 and make linux26 in the Zaptel directory. -- Kristian Kielhofner _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: 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 To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041221/cdcfb2f5/attachment.htm