[SRILM User List] Problem with srilm on 64bit machine

Andreas Stolcke stolcke at speech.sri.com
Mon Sep 13 19:05:23 PDT 2010


Veton Kepuska wrote:
>
> Andrea,
>
>  
>
> I have managed to build albeit not fully successfully.
>
> The problem that I am having is in using 64 bit architecture that is 
> not being recognized by your build process.
>
> 1.       I am using virtual machine (Oracle VirtualBox)
>
> 2.       The command line:
> make SRILM=$PWD MACHINE_TYPE=i686 World
>
try
    make SRILM=$PWD MACHINE_TYPE=i686-m64 World

Andreas

> 3.       The error log reports incompatibility of the libraries. This 
> occurs due to incorrect build parameters (see highlighted below).
>
> g++ *-m32 -mtune=pentium3* -Wall -Wno-unused-variable 
> -Wno-uninitialized -DINSTANTIATE_TEMPLATES -D_FILE_OFFSET_BITS=64    
> -I. -I../../include   -u matherr -L../../lib/i686  -g -O3 -o 
> ../bin/i686/ngram-count ../obj/i686/ngram-count.o 
> ../obj/i686/liboolm.a -lm -ldl ../../lib/i686/libflm.a 
> ../../lib/i686/libdstruct.a ../../lib/i686/libmisc.a  -lm 2>&1 | c++filt
>
> /usr/bin/ld: skipping incompatible 
> /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../libdl.so when searching 
> for -ldl
>
> /usr/bin/ld: skipping incompatible 
> /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../libdl.a when searching 
> for -ldl
>
> /usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching 
> for -ldl
>
> /usr/bin/ld: skipping incompatible /usr/lib/libdl.a when searching for 
> -ldl
>
> /usr/bin/ld: cannot find -ldl
>
> collect2: ld returned 1 exit status
>
> Could you please help me sett the parameters right?
>
>  
>
> Thanks
>
>  
>
> --Veton
>
> -- *Dr. Këpuska*
>
> */The learning and knowledge that we have, is, at the most, but little 
> compared with that of which we are ignorant. - Plato/**//*
>
> */"Those that would give up essential liberty to obtain a little 
> temporary safety deserve neither liberty nor safety." - Benjamin 
> Franklin, An Historical Review of Pennsilvanya, 1759/*
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> *Dr. Veton Këpuska, Associate Professor
> *ECE Department
> Florida Institute of Technology
> Olin Engineering Building
> 150 West University Blvd.
> Melbourne, FL 32901-6975
> Tel. (321) 674-7183
> Mob. (321) 759-3157
> E-mail: vkepuska at fit.edu <mailto:vkepuska at fit.edu>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~**
>
> The information transmitted (including attachments) is covered by the 
> Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is 
> intended only for the person(s) or entity/entities to which it is 
> addressed and may contain confidential and/or privileged material. Any 
> review, retransmission, dissemination or other use of, or taking of 
> any action in reliance upon, this information by persons or entities 
> other than the intended recipient(s) is prohibited. If you received 
> this in error, please contact the sender and delete the material from 
> any computer.
>
>  
>



More information about the SRILM-User mailing list