Hi Andreas,

Do you have build-essentials installed?

sudo apt-get install build-essentials


Kind regards,

Lee Ball
Infrastructure Manager
lee.b...@appliedlanguage.com

Applied Language Solutions
High quality language solutions delivered on time...with a smile!

www.appliedlanguage.com
Tel (UK): +44 (0)845 367 7000
Tel (US): +1 (800) 579-5010

Riverside Court, Huddersfield Road, Delph, Oldham, OL3 5FZ. UK
Registered in the UK 5122429

Pride in everything we do | Respect everyone like a friend
[image: An Environmentally Friendly Company]Think of the environment; please
don't print this e-mail unless you really need to.

[image: Fast Track 100 2009][image: Queens Award for Business]
<http://twitter.com/appliedlanguage>



On 8 March 2011 14:23, Andreas Kull <akul...@googlemail.com> wrote:

> Hi,
>
> I'm trying to compile the scripts on a new system (Ubuntu 10.04 LTS
> 64-bit & gcc 4.4.3) but get an error, Moses r3917:
>
> make[2]: Entering directory
> `/home/user/mosesdecoder/moses/scripts/training/phrase-extract'
> g++ -O6 -g -c consolidate-direct.cpp
> consolidate-direct.cpp: In function ‘int main(int, char**)’:
> consolidate-direct.cpp:91: error: ‘strcmp’ was not declared in this scope
> make[2]: *** [consolidate-direct.o] Error 1
>
> Here is the whole compilation log:
>
> http://pastebin.com/52tYKFVs
>
>
> The issue is described here:
>
> http://gcc.gnu.org/gcc-4.3/porting_to.html
>
>
> Please #include <cstring> to fix this.
>
>
> Regards,
> Andreas
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to