Hi Jonas,<br>
<br>
You may know this already, a codec is an algorithm for compressing and <br>
uncompressing some signal. Often the signal was originally analog, but has<br>
been digitized to reduce size/bandwidth and to store it in files. The GSM<br>
codec is important in asterisk, because most or all music playback is done<br>
using it. It is also one of the codec options for VoIP. I think Windows .wav<br>
files are translated to the gsm codec format. Asterisk will be hurting if it<br>
doesn't have the GSM codec available.<br>
<br>
Compiling code is a challenging problem. You have to know the correct or<br>
preferred compiler options. You need the matching libraries, and you need<br>
the include files (in this case the .h files for the C compilation). The make<br>
file has to tell the compiler where to find everything. If you have more than<br>
one version, sometimes it doesn't access the right one. If multiple sets of<br>
code are involved, you often have to compile them in the right order. I<br>
seem to recall that libpri and zapata and zaptec have to be ompiled before<br>
you can do asterisk itself. It's frustating, but you have to follow through<br>
each of the errors until you have eliminated all of them.<br>
<br>
Good luck!<br>
<br>
Rollin<br>
<br>
<br><br><div><span class="gmail_quote">On 8/9/05, <b class="gmail_sendername">Jonas Arndt</b> <<a href="mailto:jonas_arndt@comcast.net">jonas_arndt@comcast.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Rollin,<br><br>I am using SuSE's SLE 9.0, which is built for Itanium. The compiler<br>works for other 32 and 64 bits applications. There could still be a<br>problem with my environment though. I have not excluded that.
<br><br>I can make it compile if I exclude the GSM codec. Now, how will that<br>affect the functionality? I know, I would know that if I learned more<br>about the product.<br><br>I agree that there could be a scenario where you, as a programmer, could
<br>cause a segmentation fault by incorrectly using pointers that were never<br>initialized because of a problem in an external file (not existing or<br>syntax errors). I also agree that you as a programmer could cause<br>
segmentation faults by incorrectly trying to communicate with hardware<br>that is not there. All those scenarios are bugs though. They should be<br>avoided by proper error control and handling. Still, those are bugs I<br>
can live with as long as I have my stuff together when it comes to build<br>it on Itanium. If it comes out that the coredumps are indeed caused by<br>bad config files, it would be really good news to me, as I really want<br>
to use the Itanium hardware. I did try make samples and there is no<br>difference, it still segfaults<br><br>I will now dig into the compilation options and the link I got from Jose<br>to see if I can find anything useful. When I have a successful build
<br>without coredumps I will focus on learning the product. From what I have<br>seen so far it seems to be a really cool product.<br><br>Thanks for all the help,<br><br>// Jonas<br><br>Rollin Weeks wrote:<br><br>> One must keep in mind that the config files specify how hardware is to
<br>> be handled.<br>> If config files are present, the defaults in them are adequate to keep<br>> really bad<br>> things from happening. If not . . . . . .<br>> By the nature of this beast, it can easily seg fault if hardware
<br>> drivers don't have<br>> proper controls. I had seg faults several times WITH config files<br>> until I got the<br>> parameters right. I did not consider that a huge bug, but rather part<br>> of my learning
<br>> curve with asterisk.<br>><br>> As far as the compile problem with the Itaniam system, are you sure<br>> you have a<br>> compiler version that fully supports this hardware/OS combination?<br>><br>> Rollin Weeks
<br>><br>><br>> On 8/9/05, *Jonas Arndt* <<a href="mailto:jonas_arndt@comcast.net">jonas_arndt@comcast.net</a><br>> <mailto:<a href="mailto:jonas_arndt@comcast.net">jonas_arndt@comcast.net</a>>> wrote:
<br>><br>> Ben,<br>><br>> This is an enormous help. This is exactly what I was looking for.<br>><br>> THANKS,<br>><br>> // Jonas<br>><br>> Asterisk wrote:<br>><br>> >Jose,
<br>> ><br>> >It might help to have a look at the debian SOURCE package for<br>> Asterisk.<br>> >Here is the Debian DIFF File<br>> ><a href="http://ftp.debian.org/debian/pool/main/a/asterisk/asterisk_1.0.7.dfsg.1-2.diff.gz">
http://ftp.debian.org/debian/pool/main/a/asterisk/asterisk_1.0.7.dfsg.1-2.diff.gz</a><br>><br>> ><br>> >They've obviously been successful in compiling it for Itanium -<br>> maybe something obvious will jump out.
<br>> >I wish I had time to look it over myself, as I'd normally be<br>> happy to help, but unfortunately, today I'm just too busy.<br>> ><br>> >Best Regards<br>> >Ben<br>> >
<br>> ><br>> ><br>> >>>As they have build Debian packages for Itanium I was hoping that<br>> >>>somebody would have experience with compiling on Itanium and could<br>> >>>give me some pointers.
<br>> >>><br>> >>><br>> ><br>> ><br>> >This message was checked by MailScan for WorkgroupMail.<br>> ><a href="http://www.govarion.com">www.govarion.com
</a> <<a href="http://www.govarion.com">http://www.govarion.com</a>><br>> ><br>> >_______________________________________________<br>> >Asterisk-Users mailing list<br>> ><a href="mailto:Asterisk-Users@lists.digium.com">
Asterisk-Users@lists.digium.com</a><br>> <mailto:<a href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a>><br>> > <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>> >To UNSUBSCRIBE or update options visit:<br>> > <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br>> <<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>><br>> ><br>> ><br>><br>> _______________________________________________
<br>> Asterisk-Users mailing list<br>> <a href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a><br>> <mailto:<a href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com
</a>><br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>> To UNSUBSCRIBE or update options visit:<br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>> <<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>><br>><br>>
<br>>------------------------------------------------------------------------<br>><br>>_______________________________________________<br>>Asterisk-Users mailing list<br>><a href="mailto:Asterisk-Users@lists.digium.com">
Asterisk-Users@lists.digium.com</a><br>><a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>>To UNSUBSCRIBE or update options visit:<br>>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>><br><br>_______________________________________________<br>Asterisk-Users mailing list<br>
<a href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a><br><a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>To UNSUBSCRIBE or update options visit:
<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>