<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 9/6/2014 7:10 AM, nimrod d wrote:<br>
    </div>
    <blockquote
      cite="mid:1410012630.98967.YahooMailNeo@web140104.mail.bf1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff;
        font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
        Lucida Grande, sans-serif;font-size:8pt">
        <div style="" class="">Hello,</div>
        <div style="" class=""><br style="" class="">
        </div>
        <div class="" style="color: rgb(0, 0, 0); font-size: 10.6667px;
          font-family: HelveticaNeue,Helvetica
          Neue,Helvetica,Arial,Lucida Grande,sans-serif;
          background-color: transparent; font-style: normal;">When
          drying to build SRILM  make fails for me because it cannot
          find the definition for libincov functions.</div>
        <div class="" style="color: rgb(0, 0, 0); font-size: 10.6667px;
          font-family: HelveticaNeue,Helvetica
          Neue,Helvetica,Arial,Lucida Grande,sans-serif;
          background-color: transparent; font-style: normal;">How can I
          tell SRILM libinconv's location on my computer?</div>
        <div class="" style="color: rgb(0, 0, 0); font-size: 10.6667px;
          font-family: HelveticaNeue,Helvetica
          Neue,Helvetica,Arial,Lucida Grande,sans-serif;
          background-color: transparent; font-style: normal;"><br>
        </div>
        <div class="" style="color: rgb(0, 0, 0); font-size: 10.6667px;
          font-family: HelveticaNeue,Helvetica
          Neue,Helvetica,Arial,Lucida Grande,sans-serif;
          background-color: transparent; font-style: normal;">I'm
          running Ubuntu 14.04 <br style="" class="">
        </div>
        <div class="" style="color: rgb(0, 0, 0); font-size: 10.6667px;
          font-family: HelveticaNeue,Helvetica
          Neue,Helvetica,Arial,Lucida Grande,sans-serif;
          background-color: transparent; font-style: normal;">I have
          libinconv installed at: /nimrod/libinconv-1.14</div>
        <div class="" style="color: rgb(0, 0, 0); font-size: 10.6667px;
          font-family: HelveticaNeue,Helvetica
          Neue,Helvetica,Arial,Lucida Grande,sans-serif;
          background-color: transparent; font-style: normal;">and srilm
          installed at: /nimrod/srilm</div>
        <div class="" style="color: rgb(0, 0, 0); font-size: 10.6667px;
          font-family: HelveticaNeue,Helvetica
          Neue,Helvetica,Arial,Lucida Grande,sans-serif;
          background-color: transparent; font-style: normal;"><br
            style="" class="">
        </div>
        <div class="" style="color: rgb(0, 0, 0); font-size: 10.6667px;
          font-family: HelveticaNeue,Helvetica
          Neue,Helvetica,Arial,Lucida Grande,sans-serif;
          background-color: transparent; font-style: normal;">I do need
          unicode support so I cannot compile with the NO_ICONV flag
          activated.</div>
        <div class="" style="color: rgb(0, 0, 0); font-size: 10.6667px;
          font-family: HelveticaNeue,Helvetica
          Neue,Helvetica,Arial,Lucida Grande,sans-serif;
          background-color: transparent; font-style: normal;"><br
            style="" class="">
        </div>
        <div class="" style="color: rgb(0, 0, 0); font-size: 10.6667px;
          font-family: HelveticaNeue,Helvetica
          Neue,Helvetica,Arial,Lucida Grande,sans-serif;
          background-color: transparent; font-style: normal;">Thank you,</div>
        <div class="" style="color: rgb(0, 0, 0); font-size: 10.6667px;
          font-family: HelveticaNeue,Helvetica
          Neue,Helvetica,Arial,Lucida Grande,sans-serif;
          background-color: transparent; font-style: normal;"><br
            style="" class="">
        </div>
        <div class="" style="color: rgb(0, 0, 0); font-size: 10.6667px;
          font-family: HelveticaNeue,Helvetica
          Neue,Helvetica,Arial,Lucida Grande,sans-serif;
          background-color: transparent; font-style: normal;">following
          is the last part of the output I get for $ Make World<br
            style="" class="">
        </div>
        <div class="" style="color: rgb(0, 0, 0); font-size: 10.6667px;
          font-family: HelveticaNeue,Helvetica
          Neue,Helvetica,Arial,Lucida Grande,sans-serif;
          background-color: transparent; font-style: normal;"><br
            style="" class="">
        </div>
        <div class="" style="color: rgb(0, 0, 0); font-size: 10.6667px;
          font-family: HelveticaNeue,Helvetica
          Neue,Helvetica,Arial,Lucida Grande,sans-serif;
          background-color: transparent; font-style: normal;">g++
          -march=athlon64 -m64 -Wall -Wno-unused-variable
          -Wno-uninitialized -DINSTANTIATE_TEMPLATES -fopenmp   -I.
          -I../../include   -u matherr -L../../lib/i686-m64  -g -O3  -o
          ../bin/i686-m64/ngram ../obj/i686-m64/ngram.o
          ../obj/i686-m64/liboolm.a ../../lib/i686-m64/libflm.a
          ../../lib/i686-m64/libdstruct.a ../../lib/i686-m64/libmisc.a
          ../../lib/i686-m64/libz.a  -lm  -lpthread 2>&1 |
          c++filt<br style="" class="">
        </div>
      </div>
    </blockquote>
    <br>
    The -liconv appears nowhere in the link command, so that's why
    you're getting the undefined references.  Try putting <br>
    <br>
        SYS_LIBRARIES = -L/nimrod/libinconv-1.14 -liconv<br>
    <br>
    in common/Makefile.site.i686-m64 .   Make sure the -L option points
    to the directory that has the libiconv.so or libiconv.a file.<br>
    <br>
    Andreas<br>
    <br>
    <br>
  </body>
</html>