<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Spyridon and Junxiao,<br>
      <br>
      thanks for the information. I have updated gcc from version 4.6.3
      to 4.8.1lately.<br>
      The reason for the update was that gcc 4.6.x does not support the
      full c++11 standard, which is required to compile NFD.<br>
      <br>
      Greetings,<br>
      Daniel<br>
      <br>
      Am 19.02.2015 um 18:36 schrieb Junxiao Shi:<br>
    </div>
    <blockquote
cite="mid:CAOFH+OZKr7h6eTenPhhp99P4GMsEUAnAwKGY3rqHhbbzkrO9eQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Spyridon
        <div><br>
        </div>
        <div>This is similar to <a moz-do-not-send="true"
            href="https://tahoe-lafs.org/trac/pycryptopp/ticket/78">pycryptopp
            ticket 78</a> and <a moz-do-not-send="true"
            href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667335">Debian
            Bug 667335</a>.</div>
        <div>
          <div>Crypto++ 5.6.1 is incompatible with gcc47 or above.</div>
          <div>Please use gcc46 instead. It comes with build-essential
            package on Ubuntu 12.04.</div>
          <div><br>
          </div>
          <div>Yours, Junxiao</div>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Feb 19, 2015 at 10:05 AM,
          Spyridon (Spyros) Mastorakis <span dir="ltr"><<a
              moz-do-not-send="true"
              href="mailto:spiros.mastorakis@gmail.com" target="_blank">spiros.mastorakis@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Potential
            issue with the ndn-cxx library.<br>
            Originally reported by Daniel Posch in the ndnSIM mailing
            list today.<br>
            <br>
            --<br>
            Spyridon (Spyros) Mastorakis<br>
            Personal Website: <a moz-do-not-send="true"
              href="http://cs.ucla.edu/%7Emastorakis/" target="_blank">http://cs.ucla.edu/~mastorakis/</a><br>
            Internet Research Laboratory<br>
            PhD Computer Science<br>
            UCLA<br>
            <br>
            <br>
            <br>
            <br>
            > Begin forwarded message:<br>
            ><br>
            > Date: February 19, 2015 at 2:25:29 AM PST<br>
            > From: Daniel Posch <<a moz-do-not-send="true"
              href="mailto:poschdaniel2@gmail.com">poschdaniel2@gmail.com</a>><br>
            > To: <a moz-do-not-send="true"
              href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a><br>
            > Subject: [ndnSIM] Error Compiling ndn-cxx on Ubuntu
            12.04 (32Bit)<br>
            ><br>
            > Hello,<br>
            ><br>
            > I have an error compiling ndn-cxx on Ubuntu 12.04.5 LTS
            (32 Bit). The output of the compiler is:<br>
            ><br>
            > In file included from
            /usr/include/cryptopp/filters.h:7:0,<br>
            >                 from /usr/include/cryptopp/asn.h:4,<br>
            >                 from
            ../src/encoding/../security/cryptopp.hpp:29,<br>
            >                 from ../src/encoding/oid.cpp:27:<br>
            > /usr/include/cryptopp/secblock.h: In instantiation of
            ‘CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer
            CryptoPP::AllocatorWithCleanup<T,
            T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T,
            T_Align16>::size_type, const void*) [with T = unsigned
            char; bool T_Align16 = false;
            CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer
            = unsigned char*; CryptoPP::AllocatorWithCleanup<T,
            T_Align16>::size_type = unsigned int]’:<br>
            > /usr/include/cryptopp/secblock.h:247:25:   required
            from ‘CryptoPP::SecBlock<T,
            A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type)
            [with T = unsigned char; A =
            CryptoPP::AllocatorWithCleanup<unsigned char>;
            CryptoPP::SecBlock<T, A>::size_type = unsigned int]’<br>
            > /usr/include/cryptopp/algparam.h:17:2:   required from
            here<br>
            > /usr/include/cryptopp/secblock.h:91:14: error:
            ‘CheckSize’ was not declared in this scope, and no
            declarations were found by argument-dependent lookup at the
            point of instantiation [-fpermissive]<br>
            >   CheckSize(n);<br>
            ><br>
            > I have searched for that error and found #Bug 1700: <a
              moz-do-not-send="true"
              href="http://redmine.named-data.net/issues/1700"
              target="_blank">http://redmine.named-data.net/issues/1700</a><br>
            > The solution provided by Alex in this discussion does
            not work for me. My configure command is:<br>
            ><br>
            > ./waf configure --prefix=/local/users/ndnsim2
            --boost-libs=/usr/lib/i386-linux-gnu --without-pch"<br>
            > Setting top to                           :
            /local/users/ndnsim2/ndnSIM/ndn-cxx<br>
            > Setting out to                           :
            /local/users/ndnsim2/ndnSIM/ndn-cxx/build<br>
            > Checking for 'g++' (C++ compiler)        : /usr/bin/g++<br>
            > Checking supported CXXFLAGS              : -std=c++11<br>
            > Checking supported CXXFLAGS              : -pedantic
            -Wall -O2 -g<br>
            > Checking for program 'doxygen'           : not found<br>
            > Checking for program 'tar'               : /bin/tar<br>
            > Checking for program 'sphinx-build'      : not found<br>
            > Checking for std::is_default_constructible : yes<br>
            > Checking for std::is_move_constructible    : yes<br>
            > Checking for std::is_move_assignable       : yes<br>
            > Checking for friend typename-specifier     : yes<br>
            > Checking for program 'sh'                  : /bin/sh<br>
            > Checking for library pthread               : yes<br>
            > Checking for library rt                    : yes<br>
            > Checking for compiler flags ['-fPIC']      : yes<br>
            > Checking for function getpass              : yes<br>
            > Checking for rtnetlink                     : yes<br>
            > Checking for program 'pkg-config'          :
            /usr/bin/pkg-config<br>
            > Checking for 'sqlite3'                     : yes<br>
            > Checking Crypto++ lib                      : 561<br>
            > Checking if CryptoPP library works         : yes<br>
            > Checking boost includes                    : 1.55.0<br>
            > Checking boost libs                        : ok<br>
            > Checking for boost linkage                 : ok<br>
            > 'configure' finished successfully (1.665s)<br>
            ><br>
            > I have also tried the following configure command
            (which was suggested @ <a moz-do-not-send="true"
              href="http://redmine.named-data.net/issues/1507"
              target="_blank">http://redmine.named-data.net/issues/1507</a>):<br>
            ><br>
            > CXXFLAGS="-DCRYPTOPP_DISABLE_ASM" ./waf configure
            --prefix=/local/users/ndnsim2
            --boost-libs=/usr/lib/i386-linux-gnu --without-pch<br>
            ><br>
            > The code is compiled with gcc version 4.8.1 (Ubuntu
            4.8.1-2ubuntu1~12.04).<br>
            ><br>
            > Best regards,<br>
            > Daniel<br>
            > _______________________________________________<br>
            > ndnSIM mailing list<br>
            > <a moz-do-not-send="true"
              href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>
            > <a moz-do-not-send="true"
              href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim"
              target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
            <br>
            <br>
            _______________________________________________<br>
            Ndn-lib mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Ndn-lib@lists.cs.ucla.edu">Ndn-lib@lists.cs.ucla.edu</a><br>
            <a moz-do-not-send="true"
              href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-lib"
              target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-lib</a><br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
        <tr>
                <td style='border:none;padding:0px 15px 0px 8px'>
                        <a href="http://www.avast.com/">
                                <img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" />
                        </a>
                </td>
                <td>
                        <p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
                                Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
                                <br><a href="http://www.avast.com/">www.avast.com</a>
                        </p>
                </td>
        </tr>
</table>
<br />
</body>
</html>