<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi, Andreas:</div><div><br></div><div>    I want to rewrite the program ngram to web service, so i can query perplexity on Browser page.</div><div>    in ~/srilm/lm/src directory, i rewrite ngram.cc and named ngramService.cc</div><div>     then i compile it with follow command:</div><div>    g++ -m64 -I ~/srilm/include/ -c ngramService.cc -o ngramService</div><div>    it compile succecced.</div><div>      But when i execute it,</div><div>System prompt£º./ngramService: cannot execute binary file</div><div>even  after chmod +x ngramService command.</div><div><br></div><div>am i miss something in compile command ?</div><div><br></div><div>my machine is 64, when i type unama -a:</div><div>Linux bjzw_48_43 2.6.32-504.23.4.el6.x86_64 #1 SMP Fri May 29 10:16:43 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux</div><div><br></div><br><br><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br><pre>
</pre></div><br><br><span title="neteasefooter"><p> </p></span>