error while compiling dahdi on Ubuntu
I asked about this very error on the irc server as well as looking it up on the internet. Before questions are reiterated, I want to explain some things before I actually post the error I'm getting.
I have successfully run Asterisk on a linode following one of Linode's guides. However, the load avrages were high, I found, due to the ec2 package Ubuntu 10.04 has, which is the operating system I'm installing. Also, I've had other difficulties, I think related to the kernel I was using, the inability to log into ssh for a temporary amount of time, errors relating to CPU lockups (I don't have the exact error), that I hadn't had before when not using a custom kernel.
Because of all of this, I decided to download the kernel source for 2.6.39.1, the kernel my OS is running at the moment. I'm uncertain, however, if there's anything in the source code I need to change, edit, etc in order to get dahdi to compile against the source, as headers for my kernel are not installed and I'm uncertain where to get them.
To compile dahdi with the use of the kernel source, I'm entering the following:
make -n KSRC=/home/tech/linux-2.6.39.1
-n in the make command is just for testing, so the commands aren't actually being run. I'm not sure if that effects the results at all, but I assume not. Anyway, the error I'm getting is:
make[4]: *** No rule to make target dahdi-fw-oct6114-064.bin', needed by
dahdi-fw-oct6114-064.o'. Stop.
I've looked this issue up on google and have either found something that doesn't relate to my situation, or have found nothing at all. I'm stuck at this point and am uncertain what to do from here. Do any of you have any recommendations?
Thanks.
5 Replies
@Tech10:
Hi, everyone.
I asked about this very error on the irc server as well as looking it up on the internet. Before questions are reiterated, I want to explain some things before I actually post the error I'm getting.
I have successfully run Asterisk on a linode following one of Linode's guides. However, the load avrages were high, I found, due to the ec2 package Ubuntu 10.04 has, which is the operating system I'm installing. Also, I've had other difficulties, I think related to the kernel I was using, the inability to log into ssh for a temporary amount of time, errors relating to CPU lockups (I don't have the exact error), that I hadn't had before when not using a custom kernel.
Because of all of this, I decided to download the kernel source for 2.6.39.1, the kernel my OS is running at the moment. I'm uncertain, however, if there's anything in the source code I need to change, edit, etc in order to get dahdi to compile against the source, as headers for my kernel are not installed and I'm uncertain where to get them.
To compile dahdi with the use of the kernel source, I'm entering the following:
make -n KSRC=/home/tech/linux-2.6.39.1
-n in the make command is just for testing, so the commands aren't actually being run. I'm not sure if that effects the results at all, but I assume not. Anyway, the error I'm getting is:
make[4]: *** No rule to make target
dahdi-fw-oct6114-064.bin', needed by
dahdi-fw-oct6114-064.o'. Stop.I've looked this issue up on google and have either found something that doesn't relate to my situation, or have found nothing at all. I'm stuck at this point and am uncertain what to do from here. Do any of you have any recommendations?
Thanks.
Just out of curiosity, why do you want dahdi on a vm? Isn't that used for physical dahdi hardware? Recent asterisk versions have alternate timing sources and you don't need ztdummy anymore.
@Alohatone:
Considered running it on something other than ubuntu?
I haven't, only because I'd rather not learn an entirely new system, though I've been considering Debian as of late.
Anyway, I actually do need dahdi, unless you know of another way of getting MeetMe to work. Therefore, after further consideration, I followed Linode's guide on running custom kernels with grub, installed Ubuntu's native kernel, and got everything to work using less resources than before. Hopefully, that will stop errors as well.
Some time, though, I'd still like to experiment with the compilation of dahdi in the 2.6.39.1, and if I get adventurous, I might build my own kernel some day with the dahdi module installed in it. That's a long ways ahead, though.
Thanks for all your comments and suggestions, guys, and I'll definitely consider other operating systems. To that end, any recommendations? Which operating system from Linode distributions might use the least resources with dahdi and Asterisk installed along side lampp and postfix?
Thanks much.