<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    That should be ok.<br>
    <br>
    Try the following: open 2 shells. In the first one type "watch df
    -h". In the second one you start the compilation. While compilation
    is running watch the first shell. The given command refreshes all 2
    seconds the display and shows the used/free disk space. <u>Perhaps</u>
    it will give you a hint, what mount point is running out of space.<br>
    <br>
    <div class="moz-cite-prefix">Am 06.03.2013 15:41, schrieb termo
      termosel:<br>
    </div>
    <blockquote cite="mid:DUB002-W35EDE24D4BA2FE039F3008A5E40@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
      <div dir="ltr">I have executed make in the same console where I
        had written <br>
         <br>
        mkdir /var/ext_tmp<br>
        export TMPDIR=/var/ext_tmp<br>
        make<br>
        <br>
        Is this way ok?<br>
         <br>
        <div>
          <hr id="stopSpelling">Date: Wed, 6 Mar 2013 14:25:50 +0100<br>
          From: <a class="moz-txt-link-abbreviated" href="mailto:tg@ovm-group.com">tg@ovm-group.com</a><br>
          To: <a class="moz-txt-link-abbreviated" href="mailto:fermito51@hotmail.com">fermito51@hotmail.com</a><br>
          CC: <a class="moz-txt-link-abbreviated" href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>
          Subject: Re: [asterisk-users] Error to install Asterisk‏<br>
          <br>
          Did you execute the "make command" in the same environment so
          that make really uses the TMPDIR directory? (no su or other
          shell)<br>
          <br>
          <div class="ecxmoz-cite-prefix">Am 06.03.2013 13:37, schrieb
            termo termosel:<br>
          </div>
          <blockquote
            cite="mid:DUB002-W824AAE857A25D2ABE7C522A5E40@phx.gbl">
            <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
            <div dir="ltr">Hi,<br>
              <br>
              the same error, I write your commands:<br>
              <br>
              mkdir /var/ext_tmp<br>
              export TMPDIR=/var/ext_tmp<br>
              make<br>
              <br>
              but the same error happens<br>
              <br>
              /usr/bin/ld: final link failed: No space left on device<br>
              collect2: ld devolvió el estado de salida 1<br>
              make[2]: *** [asterisk] Error 1<br>
              make[1]: *** [main] Error 2<br>
              make[1]: se sale del directorio
              «/home/ubuntu/Downloads/asterisk-11.2.1»<br>
              make: *** [_cleantest_all] Error 2<br>
              <br>
              Jordi<br>
              <br>
              <div>
                <hr id="ecxstopSpelling">Date: Wed, 6 Mar 2013 13:29:24
                +0100<br>
                From: <a moz-do-not-send="true"
                  class="ecxmoz-txt-link-abbreviated"
                  href="mailto:tg@ovm-group.com">tg@ovm-group.com</a><br>
                To: <a moz-do-not-send="true"
                  class="ecxmoz-txt-link-abbreviated"
                  href="mailto:fermito51@hotmail.com">fermito51@hotmail.com</a><br>
                CC: <a moz-do-not-send="true"
                  class="ecxmoz-txt-link-abbreviated"
                  href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>
                Subject: Re: [asterisk-users] Error to install Asterisk‏<br>
                <br>
                Try to set the tmp variable. In your case:<br>
                <br>
                mkdir /var/ext_tmp<br>
                export TMPDIR=/var/ext_tmp<br>
                make<br>
                <br>
                Am 06.03.2013 13:20, schrieb termo termosel:<br>
                <blockquote
                  cite="mid:DUB002-W891D47C32F49AE5A5FBA81A5E40@phx.gbl">
                  <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}


--></style>
                  <div dir="ltr">Hi,<br>
                    <br>
                    I read it but I don't find the solution. How Can I
                    alocate more free space in tmp?<br>
                    <br>
                    Thanks,<br>
                    Jordi<br>
                    <br>
                    <div>
                      <hr id="ecxstopSpelling">Date: Wed, 6 Mar 2013
                      13:12:34 +0100<br>
                      From: <a moz-do-not-send="true"
                        class="ecxmoz-txt-link-abbreviated"
                        href="mailto:tg@ovm-group.com">tg@ovm-group.com</a><br>
                      To: <a moz-do-not-send="true"
                        class="ecxmoz-txt-link-abbreviated"
                        href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>
                      CC: <a moz-do-not-send="true"
                        class="ecxmoz-txt-link-abbreviated"
                        href="mailto:fermito51@hotmail.com">fermito51@hotmail.com</a><br>
                      Subject: Re: [asterisk-users] Error to install
                      Asterisk‏<br>
                      <br>
                      Take a look here:<br>
                      <a moz-do-not-send="true"
                        class="ecxmoz-txt-link-freetext"
href="http://unix.stackexchange.com/questions/16137/encountering-this-error-usr-bin-ld-final-link-failed-no-space-left-on-device"
                        target="_blank">http://unix.stackexchange.com/questions/16137/encountering-this-error-usr-bin-ld-final-link-failed-no-space-left-on-device</a><br>
                      <br>
                      <div class="ecxmoz-cite-prefix">Am 06.03.2013
                        13:00, schrieb termo termosel:<br>
                      </div>
                      <blockquote
                        cite="mid:DUB002-W110352D91EB9EE3448D0593A5E40@phx.gbl">
                        <div dir="ltr">
                          <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}


--></style>
                          <div dir="ltr">Hi,<br>
                            <br>
                            df -h output:<br>
                            <br>
                            <font style="font-size: 12pt;"
                              face="Calibri" size="3"><span
                                style="font-size: 12pt;">
                                <div dir="ltr"><span dir="ltr"><a
                                      moz-do-not-send="true"
                                      class="ecxmoz-txt-link-abbreviated"
href="mailto:root@ubuntu:/home/ubuntu/Downloads/asterisk-11.2.1#">root@ubuntu:/home/ubuntu/Downloads/asterisk-11.2.1#</a>
                                    df -h<br>
                                    S.ficheros            Tam.  Usado
                                    Disp. % Uso Montado en<br>
                                    /cow                   14G  4,5G 
                                    8,7G  34% /<br>
                                    udev                  999M  4,0K 
                                    999M   1% /dev<br>
                                    tmpfs                 403M  860K 
                                    402M   1% /run<br>
                                    /dev/sdb1             799M  693M 
                                    106M  87% /cdrom<br>
                                    /dev/loop0            668M  668M    
                                    0 100% /rofs<br>
                                    tmpfs                1006M   44K
                                    1006M   1% /tmp<br>
                                    none                  5,0M     0 
                                    5,0M   0% /run/lock<br>
                                    none                 1006M  100K
                                    1006M   1% /run/shm<br>
                                    <br>
                                    Jordi<br>
                                  </span></div>
                              </span></font>
                            <div id="ecxmps0_safetyBar"
                              class="ecxReadMsgSafetyBar
                              ecxTextSizeSmall ecxt_sbgc ecxt_amtc
                              ecxSafetyBarPri-low">
                              <table>
                                <tbody>
                                  <tr>
                                  </tr>
                                </tbody>
                              </table>
                            </div>
                          </div>
                        </div>
                      </blockquote>
                    </div>
                  </div>
                </blockquote>
              </div>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>