5 Replies Latest reply on Aug 1, 2014 6:28 AM by wpfundstein

    Installing dahdi-linux and asterisk

    wpfundstein

      Hi all,

       

      i use the Intel Galileo Board with Debian 3.8.7.

       

      has anybody installed dahdi and Asterisk 1.8 on this board?

       

      Werner

        • 1. Re: Installing dahdi-linux and asterisk
          Intel_Alvarado

          Hi wpfundstein,

           

          I have not yet tried to install Asterisk on Debian, but if you have the apt-get command in your distribution I believe it will work. You can check if you have it by running the command apt-get -v in the command line, this will display the version of apt-get you have. In the following link there is a tutorial on how to install Asterisk including the dependencies required http://voipfreak.net/how-to-install-asterisk-on-debian. Let me know if this works for you.

           

          Regards,
          Sergio

          • 2. Re: Installing dahdi-linux and asterisk
            wpfundstein

            Hi Sergio,

             

            thanks for the answer.

             

            i think asterisk is not the problem. i have problems with dahdi. it must be compiled and if i run the make command i get the error illegal instruction.

             

            So my question is: has anybody installed dahdi on galileo board with debian.

             

            Werner

            • 3. Re: Installing dahdi-linux and asterisk
              mhahn

              maybe someone could help analyzing the issue if you put the compile output here?

              • 4. Re: Installing dahdi-linux and asterisk
                wpfundstein

                i use debian 3.8.7

                i have installed the linux-source with "apt-get linux-source-3.2". source-3.8x is not available. after untar the files i have compiled the kernel without installation.


                this is the output of make


                make[2]: Leaving directory `/usr/src/linux-source-3.2'

                make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.9.0+2.9.0.1/linux'

                (cd tools && [ -f config.status ] || ./configure --with-dahdi=../linux)

                make -C tools all

                make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.9.0+2.9.0.1/tools'

                gcc -g -O2 -I. -O2 -g -fPIC -Wall -DBUILDING_TONEZONE  -I../linux/include -MD -MT zonedata.lo -MF .zonedata.lo.d -MP -c -o zonedata.lo zonedata.c

                gcc -g -O2 -I. -O2 -g -fPIC -Wall -DBUILDING_TONEZONE  -I../linux/include -MD -MT tonezone.lo -MF .tonezone.lo.d -MP -c -o tonezone.lo tonezone.c

                tonezone.c: In function 'build_tone':

                tonezone.c:140:3: internal compiler error: Illegal instruction

                Please submit a full bug report,

                with preprocessed source if appropriate.

                See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.

                Preprocessed source stored into /tmp/ccqOMxgY.out file, please attach this to your bugreport.

                make[1]: *** [tonezone.lo] Error 1

                make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.9.0+2.9.0.1/tools'

                make: *** [all] Error 2

                root@galileo:/usr/src/dahdi-linux-complete-2.9.0+2.9.0.1#

                 

                 

                Thanks, Werner

                • 5. Re: Installing dahdi-linux and asterisk
                  wpfundstein

                  i forget the line where the error occurs:

                   

                  gain = pow(10.0, (LEVEL - 3.14) / 20.0) * 65536.0 / 2.0;

                   

                  gain is type float

                   

                  #define LEVEL -10

                   

                  Thanks, Werner