<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Try and checkout the trunk<br>
    <br>
    $ svn checkout <a class="moz-txt-link-freetext" href="http://www.admb-project.org/svn/trunk">http://www.admb-project.org/svn/trunk</a>
    admb-trunk-readonly<br>
    <br>
    Then follow instruction in README.txt.<br>
    <br>
    <br>
    On 8/5/11 7:23 AM, bigA wrote:
    <blockquote
cite="mid:CADaNgzr25iR2y_wt+twUHQH5A3fPp636zdS3Y4HGh4RA7ZgXbw@mail.gmail.com"
      type="cite">Hi admb, 
      <div><br>
      </div>
      <div>I follow the icc installation instructions and things don't
        seem to work.  It may simply be an error in the instructions, or
        perhaps admb doesn't support icc?</div>
      <div>Below is the output from ./configure and make. I have also
        attached my config.log.  I apologize that I haven't found a
        satisfactory work around, but hopefully it is simple to fix.</div>
      <div>Aaron</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>
        <div> Hey daft ! What is up? debian
          :~/Downloads/admb-10.1$./configure CC=icc CXX=icpc
          BUILD_64BIT=yes</div>
        <div>checking for gcc... icc</div>
        <div>checking whether the C compiler works... yes</div>
        <div>checking for C compiler default output file name... a.out</div>
        <div>checking for suffix of executables...</div>
        <div>checking whether we are cross compiling... no</div>
        <div>checking for suffix of object files... o</div>
        <div>checking whether we are using the GNU C compiler... yes</div>
        <div>checking whether icc accepts -g... yes</div>
        <div>checking for icc option to accept ISO C89... none needed</div>
        <div>checking whether we are using the GNU C++ compiler... yes</div>
        <div>checking whether icpc accepts -g... yes</div>
        <div>checking how to run the C++ preprocessor... icpc -E</div>
        <div>checking for grep that handles long lines and -e...
          /bin/grep</div>
        <div>checking for egrep... /bin/grep -E</div>
        <div>checking for ANSI C header files... yes</div>
        <div>checking for sys/types.h... yes</div>
        <div>checking for sys/stat.h... yes</div>
        <div>checking for stdlib.h... yes</div>
        <div>checking for string.h... yes</div>
        <div>checking for memory.h... yes</div>
        <div>checking for strings.h... yes</div>
        <div>checking for inttypes.h... yes</div>
        <div>checking for stdint.h... yes</div>
        <div>checking for unistd.h... yes</div>
        <div>checking iostream usability... yes</div>
        <div>checking iostream presence... yes</div>
        <div>checking for iostream... yes</div>
        <div>checking for flex... no</div>
        <div>checking for lex... no</div>
        <div>checking for sed... yes</div>
        <div>checking for svnversion... yes</div>
        <div>configure: creating ./config.status</div>
        <div>config.status: creating GNUmakefile</div>
        <div>config.status: creating admb_configure.h</div>
        <div>config.status: creating scripts/admb/admb-bin</div>
        <div><br>
        </div>
        <div>Configure completed for admb-10.1-linux-icc12.0.5-64bit</div>
        <div>To build ADMB, type 'make'</div>
      </div>
      <div><br>
      </div>
      <div>##</div>
      <div>### So I type make.</div>
      <div>###</div>
      <div>
        <div>
          <div>
            <div> Hey daft ! What is up? debian
              :~/Downloads/admb-10.1$make</div>
            <div>CC=icc CXX=icpc CXXFLAGS="-m64"
              LIBPATH=../build/admb-10.1-linux-icc12.0.5-64bit/objects
              DISK=../build/admb-10.1-linux-icc12.0.5-64bit/admb-10.1-linux-icc12.0.5-64bit
              ADMB_CONFIGURE=1 make --directory=src --file=linux.mak</div>
            <div>make[1]: Entering directory
              `/home/daft/Downloads/admb-10.1/src'</div>
            <div>mkdir -p
../build/admb-10.1-linux-icc12.0.5-64bit/admb-10.1-linux-icc12.0.5-64bit/{bin,lib,include,docs,docs/manuals,examples}</div>
            <div>
              mkdir -p
              ../build/admb-10.1-linux-icc12.0.5-64bit/objects/linad99-olp</div>
            <div>mkdir -p
              ../build/admb-10.1-linux-icc12.0.5-64bit/objects/linad99-slp</div>
            <div>mkdir -p
              ../build/admb-10.1-linux-icc12.0.5-64bit/objects/nh99-olp</div>
            <div>mkdir -p
              ../build/admb-10.1-linux-icc12.0.5-64bit/objects/nh99-olp-stub</div>
            <div>mkdir -p
              ../build/admb-10.1-linux-icc12.0.5-64bit/objects/tools99-olp</div>
            <div>mkdir -p
              ../build/admb-10.1-linux-icc12.0.5-64bit/objects/df1b2-separable-slp</div>
            <div>mkdir -p
              ../build/admb-10.1-linux-icc12.0.5-64bit/objects/df1b2-separable-olp</div>
            <div>make --directory=linad99 CXX=icpc CXXFLAGS="-DOPT_LIB
              -c -m64 -O3 -Wall -Wno-deprecated -DUSE_LAPLACE
              -fpermissive -I../df1b2-separable -I../nh99 -I../linad99
              -I../tools99 -D__SPDLL__ -D__GNUDOS__ -Dlinux"
              LIBPATH=../../build/admb-10.1-linux-icc12.0.5-64bit/objects/linad99-olp
              DISKDIR=../../build/admb-10.1-linux-icc12.0.5-64bit/admb-10.1-linux-icc12.0.5-64bit
              -f optg32-rh8-laplace.mak disk</div>
            <div>make[2]: Entering directory
              `/home/daft/Downloads/admb-10.1/src/linad99'</div>
            <div>icpc -DOPT_LIB -c -m64 -O3 -Wall -Wno-deprecated
              -DUSE_LAPLACE -fpermissive -I../df1b2-separable -I../nh99
              -I../linad99 -I../tools99 -D__SPDLL__ -D__GNUDOS__ -Dlinux
              model49.cpp -o
../../build/admb-10.1-linux-icc12.0.5-64bit/objects/linad99-olp/model49.obj</div>
            <div>../linad99/fvar.hpp(6242): warning #858: type qualifier
              on return type is meaningless</div>
            <div>    const int indexmin(void) const { return
              (shape->indexmin());}</div>
            <div>    ^</div>
            <div><br>
            </div>
            <div>../linad99/fvar.hpp(6243): warning #858: type qualifier
              on return type is meaningless</div>
            <div>    const int indexmax(void) const { return
              (shape->indexmax());}</div>
            <div>    ^</div>
            <div><br>
            </div>
            <div>../linad99/fvar.hpp(6244): warning #858: type qualifier
              on return type is meaningless</div>
            <div>    const int size(void) const { return
              (indexmax()-indexmin()+1);}</div>
            <div>    ^</div>
            <div><br>
            </div>
            <div>../linad99/fvar.hpp(6363): warning #858: type qualifier
              on return type is meaningless</div>
            <div>    const int indexmin(void) const { return
              (shape->indexmin());}</div>
            <div>    ^</div>
            <div><br>
            </div>
            <div>../linad99/fvar.hpp(6364): warning #858: type qualifier
              on return type is meaningless</div>
            <div>    const int indexmax(void) const { return
              (shape->indexmax());}</div>
            <div>    ^</div>
            <div><br>
            </div>
            <div>../linad99/fvar.hpp(6365): warning #858: type qualifier
              on return type is meaningless</div>
            <div>    const int size(void) const { return
              (indexmax()-indexmin()+1);}</div>
            <div>    ^</div>
            <div><br>
            </div>
            <div>../linad99/fvar.hpp(6499): warning #858: type qualifier
              on return type is meaningless</div>
            <div>    const int indexmin(void) const { return
              (shape->indexmin());}</div>
            <div>    ^</div>
            <div><br>
            </div>
            <div>../linad99/fvar.hpp(6500): warning #858: type qualifier
              on return type is meaningless</div>
            <div>    const int indexmax(void) const { return
              (shape->indexmax());}</div>
            <div>    ^</div>
            <div><br>
            </div>
            <div>../linad99/fvar.hpp(6501): warning #858: type qualifier
              on return type is meaningless</div>
            <div>    const int size(void) const { return
              (indexmax()-indexmin()+1);}</div>
            <div>    ^</div>
            <div><br>
            </div>
            <div>../linad99/fvar.hpp(6636): warning #858: type qualifier
              on return type is meaningless</div>
            <div>    const int indexmin(void) const { return
              (shape->indexmin());}</div>
            <div>    ^</div>
            <div><br>
            </div>
            <div>../linad99/fvar.hpp(6637): warning #858: type qualifier
              on return type is meaningless</div>
            <div>    const int indexmax(void) const { return
              (shape->indexmax());}</div>
            <div>    ^</div>
            <div><br>
            </div>
            <div>../linad99/fvar.hpp(6638): warning #858: type qualifier
              on return type is meaningless</div>
            <div>    const int size(void) const { return
              (indexmax()-indexmin()+1);}</div>
            <div>    ^</div>
            <div><br>
            </div>
            <div>../linad99/fvar.hpp(6790): warning #858: type qualifier
              on return type is meaningless</div>
            <div>    const int indexmin(void) const { return
              (shape->indexmin());}</div>
            <div>    ^</div>
            <div><br>
            </div>
            <div>../linad99/fvar.hpp(6791): warning #858: type qualifier
              on return type is meaningless</div>
            <div>    const int indexmax(void) const { return
              (shape->indexmax());}</div>
            <div>    ^</div>
            <div><br>
            </div>
            <div>../linad99/fvar.hpp(6792): warning #858: type qualifier
              on return type is meaningless</div>
            <div>    const int size(void) const { return
              (indexmax()-indexmin()+1);}</div>
            <div>    ^</div>
            <div><br>
            </div>
            <div>
              ../linad99/fvar.hpp(6943): warning #858: type qualifier on
              return type is meaningless</div>
            <div>    const int indexmin(void) const { return
              (shape->indexmin());}</div>
            <div>    ^</div>
            <div><br>
            </div>
            <div>../linad99/fvar.hpp(6944): warning #858: type qualifier
              on return type is meaningless</div>
            <div>    const int indexmax(void) const { return
              (shape->indexmax());}</div>
            <div>    ^</div>
            <div><br>
            </div>
            <div>../linad99/fvar.hpp(6945): warning #858: type qualifier
              on return type is meaningless</div>
            <div>    const int size(void) const { return
              (indexmax()-indexmin()+1);}</div>
            <div>    ^</div>
            <div><br>
            </div>
            <div>../tools99/adstring.hpp(250): warning #858: type
              qualifier on return type is meaningless</div>
            <div>    _CONST int indexmin(void) _CONST { return
              shape->indexmin();}</div>
            <div>    ^</div>
            <div><br>
            </div>
            <div>../tools99/adstring.hpp(251): warning #858: type
              qualifier on return type is meaningless</div>
            <div>    _CONST int indexmax(void) _CONST { return
              shape->indexmax();}</div>
            <div>    ^</div>
            <div><br>
            </div>
            <div>../tools99/admb_messages.h(143): error: more than one
              operator "+" matches these operands:</div>
            <div>            built-in operator "integer +
              pointer-to-object"</div>
            <div>            function "operator+(const adstring &,
              const adstring &)"</div>
            <div>            operand types are: adstring + const char
              [24]</div>
            <div>                   + " used for array range ["</div>
            <div>                   ^</div>
            <div><br>
            </div>
            <div>compilation aborted for model49.cpp (code 2)</div>
            <div>make[2]: *** [model49.obj] Error 2</div>
            <div>make[2]: Leaving directory
              `/home/daft/Downloads/admb-10.1/src/linad99'</div>
            <div>make[1]: *** [dist] Error 2</div>
            <div>make[1]: Leaving directory
              `/home/daft/Downloads/admb-10.1/src'</div>
            <div>make: *** [all] Error 2</div>
            <div> Hey daft ! What is up? debian :~/Downloads/admb-10.1$</div>
          </div>
        </div>
      </div>
      <div><br>
      </div>
      <div>Clearly something went wrong. </div>
      <div><br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@admb-project.org">Users@admb-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.admb-project.org/mailman/listinfo/users">http://lists.admb-project.org/mailman/listinfo/users</a></pre>
    </blockquote>
    <br>
  </body>
</html>