Hi,
I am encountering the below error on Moses compilation. I have been
able to compile the SRILM, GIZA++, and mkcls properly earlier. Please
let me know how should I overcome this problem.

I am following the instructions as per http://www.statmt.org/wmt09/baseline.html

Thanks in Advance.

-- Sethu

---

se...@sethu-laptop:~/Moses/moses$ ./regenerate-makefiles.sh
Calling ...
Calling ...
Calling ...

You should now be able to configure and build:
   ./configure [--with-srilm=/path/to/srilm]
[--with-irstlm=/path/to/irstlm] [--with-randlm=/path/to/randlm]
   make -j 4

se...@sethu-laptop:~/Moses/moses$ ./configure
--with-srilm=/home/sethu/Moses/srilm
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for ranlib... ranlib
checking how to run the C++ preprocessor... g++ -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking Ngram.h usability... yes
checking Ngram.h presence... yes
checking for Ngram.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating moses/src/Makefile
config.status: creating moses-cmd/src/Makefile
config.status: creating misc/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

se...@sethu-laptop:~/Moses/moses$ make
make  all-recursive
make[1]: Entering directory `/home/sethu/Moses/moses'
Making all in moses/src
make[2]: Entering directory `/home/sethu/Moses/moses/moses/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT ConfusionNet.o -MD -MP
-MF ".deps/ConfusionNet.Tpo" -c -o ConfusionNet.o ConfusionNet.cpp; \
        then mv -f ".deps/ConfusionNet.Tpo" ".deps/ConfusionNet.Po"; else rm
-f ".deps/ConfusionNet.Tpo"; exit 1; fi
ConfusionNet.cpp:205: warning: ignoring #pragma warning
ConfusionNet.cpp:216: warning: ignoring #pragma warning
ConfusionNet.cpp:221: warning: ignoring #pragma warning
In file included from PrefixTree.h:14,
                 from PrefixTreeMap.h:8,
                 from LexicalReorderingTable.h:15,
                 from LexicalReordering.h:16,
                 from Hypothesis.h:36,
                 from TranslationOption.h:29,
                 from TranslationOptionCollection.h:26,
                 from TranslationOptionCollectionConfusionNet.h:4,
                 from ConfusionNet.cpp:9:
FilePtr.h:37: warning: type qualifiers ignored on function return type
FilePtr.h:38: warning: type qualifiers ignored on function return type
FilePtr.h:42: warning: type qualifiers ignored on function return type
ConfusionNet.cpp:212: warning: unused parameter ‘factorsToPrint’
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT DecodeStep.o -MD -MP -MF
".deps/DecodeStep.Tpo" -c -o DecodeStep.o DecodeStep.cpp; \
        then mv -f ".deps/DecodeStep.Tpo" ".deps/DecodeStep.Po"; else rm -f
".deps/DecodeStep.Tpo"; exit 1; fi
In file included from PrefixTree.h:14,
                 from PrefixTreeMap.h:8,
                 from LexicalReorderingTable.h:15,
                 from LexicalReordering.h:16,
                 from Hypothesis.h:36,
                 from SentenceStats.h:29,
                 from StaticData.h:34,
                 from DecodeStep.cpp:25:
FilePtr.h:37: warning: type qualifiers ignored on function return type
FilePtr.h:38: warning: type qualifiers ignored on function return type
FilePtr.h:42: warning: type qualifiers ignored on function return type
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT DecodeStepGeneration.o
-MD -MP -MF ".deps/DecodeStepGeneration.Tpo" -c -o
DecodeStepGeneration.o DecodeStepGeneration.cpp; \
        then mv -f ".deps/DecodeStepGeneration.Tpo"
".deps/DecodeStepGeneration.Po"; else rm -f
".deps/DecodeStepGeneration.Tpo"; exit 1; fi
In file included from PrefixTree.h:14,
                 from PrefixTreeMap.h:8,
                 from LexicalReorderingTable.h:15,
                 from LexicalReordering.h:16,
                 from Hypothesis.h:36,
                 from TranslationOption.h:29,
                 from DecodeStepGeneration.cpp:24:
FilePtr.h:37: warning: type qualifiers ignored on function return type
FilePtr.h:38: warning: type qualifiers ignored on function return type
FilePtr.h:42: warning: type qualifiers ignored on function return type
DecodeStepGeneration.cpp:84: warning: unused parameter ‘toc’
DecodeStepGeneration.cpp:84: warning: unused parameter ‘adhereTableLimit’
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT DecodeStepTranslation.o
-MD -MP -MF ".deps/DecodeStepTranslation.Tpo" -c -o
DecodeStepTranslation.o DecodeStepTranslation.cpp; \
        then mv -f ".deps/DecodeStepTranslation.Tpo"
".deps/DecodeStepTranslation.Po"; else rm -f
".deps/DecodeStepTranslation.Tpo"; exit 1; fi
In file included from PrefixTree.h:14,
                 from PrefixTreeMap.h:8,
                 from LexicalReorderingTable.h:15,
                 from LexicalReordering.h:16,
                 from Hypothesis.h:36,
                 from TranslationOption.h:29,
                 from DecodeStepTranslation.cpp:24:
FilePtr.h:37: warning: type qualifiers ignored on function return type
FilePtr.h:38: warning: type qualifiers ignored on function return type
FilePtr.h:42: warning: type qualifiers ignored on function return type
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT Dictionary.o -MD -MP -MF
".deps/Dictionary.Tpo" -c -o Dictionary.o Dictionary.cpp; \
        then mv -f ".deps/Dictionary.Tpo" ".deps/Dictionary.Po"; else rm -f
".deps/Dictionary.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT DummyScoreProducers.o
-MD -MP -MF ".deps/DummyScoreProducers.Tpo" -c -o
DummyScoreProducers.o DummyScoreProducers.cpp; \
        then mv -f ".deps/DummyScoreProducers.Tpo"
".deps/DummyScoreProducers.Po"; else rm -f
".deps/DummyScoreProducers.Tpo"; exit 1; fi
In file included from PrefixTree.h:14,
                 from PrefixTreeMap.h:8,
                 from LexicalReorderingTable.h:15,
                 from LexicalReordering.h:16,
                 from Hypothesis.h:36,
                 from SentenceStats.h:29,
                 from StaticData.h:34,
                 from DummyScoreProducers.cpp:5:
FilePtr.h:37: warning: type qualifiers ignored on function return type
FilePtr.h:38: warning: type qualifiers ignored on function return type
FilePtr.h:42: warning: type qualifiers ignored on function return type
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT Factor.o -MD -MP -MF
".deps/Factor.Tpo" -c -o Factor.o Factor.cpp; \
        then mv -f ".deps/Factor.Tpo" ".deps/Factor.Po"; else rm -f
".deps/Factor.Tpo"; exit 1; fi
Factor.cpp:28: warning: unused parameter ‘direction’
Factor.cpp:28: warning: unused parameter ‘factorType’
Factor.cpp:35: warning: unused parameter ‘direction’
Factor.cpp:35: warning: unused parameter ‘factorType’
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT FactorCollection.o -MD
-MP -MF ".deps/FactorCollection.Tpo" -c -o FactorCollection.o
FactorCollection.cpp; \
        then mv -f ".deps/FactorCollection.Tpo" ".deps/FactorCollection.Po";
else rm -f ".deps/FactorCollection.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT FactorTypeSet.o -MD -MP
-MF ".deps/FactorTypeSet.Tpo" -c -o FactorTypeSet.o FactorTypeSet.cpp;
\
        then mv -f ".deps/FactorTypeSet.Tpo" ".deps/FactorTypeSet.Po"; else
rm -f ".deps/FactorTypeSet.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT GenerationDictionary.o
-MD -MP -MF ".deps/GenerationDictionary.Tpo" -c -o
GenerationDictionary.o GenerationDictionary.cpp; \
        then mv -f ".deps/GenerationDictionary.Tpo"
".deps/GenerationDictionary.Po"; else rm -f
".deps/GenerationDictionary.Tpo"; exit 1; fi
In file included from PrefixTree.h:14,
                 from PrefixTreeMap.h:8,
                 from LexicalReorderingTable.h:15,
                 from LexicalReordering.h:16,
                 from Hypothesis.h:36,
                 from SentenceStats.h:29,
                 from StaticData.h:34,
                 from GenerationDictionary.cpp:29:
FilePtr.h:37: warning: type qualifiers ignored on function return type
FilePtr.h:38: warning: type qualifiers ignored on function return type
FilePtr.h:42: warning: type qualifiers ignored on function return type
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT hash.o -MD -MP -MF
".deps/hash.Tpo" -c -o hash.o hash.cpp; \
        then mv -f ".deps/hash.Tpo" ".deps/hash.Po"; else rm -f
".deps/hash.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT Hypothesis.o -MD -MP -MF
".deps/Hypothesis.Tpo" -c -o Hypothesis.o Hypothesis.cpp; \
        then mv -f ".deps/Hypothesis.Tpo" ".deps/Hypothesis.Po"; else rm -f
".deps/Hypothesis.Tpo"; exit 1; fi
In file included from PrefixTree.h:14,
                 from PrefixTreeMap.h:8,
                 from LexicalReorderingTable.h:15,
                 from LexicalReordering.h:16,
                 from Hypothesis.h:36,
                 from TranslationOption.h:29,
                 from Hypothesis.cpp:29:
FilePtr.h:37: warning: type qualifiers ignored on function return type
FilePtr.h:38: warning: type qualifiers ignored on function return type
FilePtr.h:42: warning: type qualifiers ignored on function return type
Hypothesis.h: In constructor ‘Moses::Hypothesis::Hypothesis(const
Moses::InputType&, const Moses::TargetPhrase&)’:
Hypothesis.h:86: warning: ‘Moses::Hypothesis::m_transOpt’ will be
initialized after
Hypothesis.h:70: warning:   ‘const Moses::TargetPhrase&
Moses::Hypothesis::m_targetPhrase’
Hypothesis.cpp:51: warning:   when initialized here
Hypothesis.h:88: warning: ‘Moses::Hypothesis::m_id’ will be initialized after
Hypothesis.h:85: warning:   ‘Moses::AlignmentPair
Moses::Hypothesis::m_alignPair’
Hypothesis.cpp:51: warning:   when initialized here
Hypothesis.h: In constructor ‘Moses::Hypothesis::Hypothesis(const
Moses::Hypothesis&, const Moses::TranslationOption&)’:
Hypothesis.h:86: warning: ‘Moses::Hypothesis::m_transOpt’ will be
initialized after
Hypothesis.h:71: warning:   ‘const Moses::Phrase*
Moses::Hypothesis::m_sourcePhrase’
Hypothesis.cpp:78: warning:   when initialized here
Hypothesis.h:82: warning: ‘Moses::Hypothesis::m_ffStates’ will be
initialized after
Hypothesis.h:81: warning:   ‘Moses::ScoreComponentCollection
Moses::Hypothesis::m_scoreBreakdown’
Hypothesis.cpp:78: warning:   when initialized here
Hypothesis.h:88: warning: ‘Moses::Hypothesis::m_id’ will be initialized after
Hypothesis.h:85: warning:   ‘Moses::AlignmentPair
Moses::Hypothesis::m_alignPair’
Hypothesis.cpp:78: warning:   when initialized here
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT HypothesisStack.o -MD
-MP -MF ".deps/HypothesisStack.Tpo" -c -o HypothesisStack.o
HypothesisStack.cpp; \
        then mv -f ".deps/HypothesisStack.Tpo" ".deps/HypothesisStack.Po";
else rm -f ".deps/HypothesisStack.Tpo"; exit 1; fi
In file included from PrefixTree.h:14,
                 from PrefixTreeMap.h:8,
                 from LexicalReorderingTable.h:15,
                 from LexicalReordering.h:16,
                 from Hypothesis.h:36,
                 from HypothesisStack.h:6,
                 from HypothesisStack.cpp:2:
FilePtr.h:37: warning: type qualifiers ignored on function return type
FilePtr.h:38: warning: type qualifiers ignored on function return type
FilePtr.h:42: warning: type qualifiers ignored on function return type
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT InputType.o -MD -MP -MF
".deps/InputType.Tpo" -c -o InputType.o InputType.cpp; \
        then mv -f ".deps/InputType.Tpo" ".deps/InputType.Po"; else rm -f
".deps/InputType.Tpo"; exit 1; fi
InputType.cpp:52: warning: unused parameter ‘start’
InputType.cpp:52: warning: unused parameter ‘end’
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT InputFileStream.o -MD
-MP -MF ".deps/InputFileStream.Tpo" -c -o InputFileStream.o
InputFileStream.cpp; \
        then mv -f ".deps/InputFileStream.Tpo" ".deps/InputFileStream.Po";
else rm -f ".deps/InputFileStream.Tpo"; exit 1; fi
In file included from InputFileStream.cpp:23:
gzfilebuf.h:18: warning: unused parameter ‘c’
gzfilebuf.h:25: warning: unused parameter ‘s’
gzfilebuf.h:25: warning: unused parameter ‘num’
gzfilebuf.h:29: warning: unused parameter ‘sp’
gzfilebuf.h:29: warning: unused parameter ‘which’
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT LMList.o -MD -MP -MF
".deps/LMList.Tpo" -c -o LMList.o LMList.cpp; \
        then mv -f ".deps/LMList.Tpo" ".deps/LMList.Po"; else rm -f
".deps/LMList.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT LVoc.o -MD -MP -MF
".deps/LVoc.Tpo" -c -o LVoc.o LVoc.cpp; \
        then mv -f ".deps/LVoc.Tpo" ".deps/LVoc.Po"; else rm -f
".deps/LVoc.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT LanguageModel.o -MD -MP
-MF ".deps/LanguageModel.Tpo" -c -o LanguageModel.o LanguageModel.cpp;
\
        then mv -f ".deps/LanguageModel.Tpo" ".deps/LanguageModel.Po"; else
rm -f ".deps/LanguageModel.Tpo"; exit 1; fi
In file included from PrefixTree.h:14,
                 from PrefixTreeMap.h:8,
                 from LexicalReorderingTable.h:15,
                 from LexicalReordering.h:16,
                 from Hypothesis.h:36,
                 from SentenceStats.h:29,
                 from StaticData.h:34,
                 from LanguageModel.cpp:33:
FilePtr.h:37: warning: type qualifiers ignored on function return type
FilePtr.h:38: warning: type qualifiers ignored on function return type
FilePtr.h:42: warning: type qualifiers ignored on function return type
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT LanguageModelFactory.o
-MD -MP -MF ".deps/LanguageModelFactory.Tpo" -c -o
LanguageModelFactory.o LanguageModelFactory.cpp; \
        then mv -f ".deps/LanguageModelFactory.Tpo"
".deps/LanguageModelFactory.Po"; else rm -f
".deps/LanguageModelFactory.Tpo"; exit 1; fi
In file included from LanguageModelSRI.h:28,
                 from LanguageModelFactory.cpp:31:
/home/sethu/Moses/srilm/include/Vocab.h: In member function ‘virtual
Boolean Vocab::isNonEvent(VocabIndex) const’:
/home/sethu/Moses/srilm/include/Vocab.h:161: warning: suggest
parentheses around && within ||
LanguageModelFactory.cpp: At global scope:
LanguageModelFactory.cpp:61: warning: unused parameter ‘dub’
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT
LanguageModelMultiFactor.o -MD -MP -MF
".deps/LanguageModelMultiFactor.Tpo" -c -o LanguageModelMultiFactor.o
LanguageModelMultiFactor.cpp; \
        then mv -f ".deps/LanguageModelMultiFactor.Tpo"
".deps/LanguageModelMultiFactor.Po"; else rm -f
".deps/LanguageModelMultiFactor.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT
LanguageModelSingleFactor.o -MD -MP -MF
".deps/LanguageModelSingleFactor.Tpo" -c -o
LanguageModelSingleFactor.o LanguageModelSingleFactor.cpp; \
        then mv -f ".deps/LanguageModelSingleFactor.Tpo"
".deps/LanguageModelSingleFactor.Po"; else rm -f
".deps/LanguageModelSingleFactor.Tpo"; exit 1; fi
In file included from PrefixTree.h:14,
                 from PrefixTreeMap.h:8,
                 from LexicalReorderingTable.h:15,
                 from LexicalReordering.h:16,
                 from Hypothesis.h:36,
                 from SentenceStats.h:29,
                 from StaticData.h:34,
                 from LanguageModelSingleFactor.cpp:32:
FilePtr.h:37: warning: type qualifiers ignored on function return type
FilePtr.h:38: warning: type qualifiers ignored on function return type
FilePtr.h:42: warning: type qualifiers ignored on function return type
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT LanguageModelSkip.o -MD
-MP -MF ".deps/LanguageModelSkip.Tpo" -c -o LanguageModelSkip.o
LanguageModelSkip.cpp; \
        then mv -f ".deps/LanguageModelSkip.Tpo"
".deps/LanguageModelSkip.Po"; else rm -f
".deps/LanguageModelSkip.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT TrellisPath.o -MD -MP
-MF ".deps/TrellisPath.Tpo" -c -o TrellisPath.o TrellisPath.cpp; \
        then mv -f ".deps/TrellisPath.Tpo" ".deps/TrellisPath.Po"; else rm -f
".deps/TrellisPath.Tpo"; exit 1; fi
In file included from PrefixTree.h:14,
                 from PrefixTreeMap.h:8,
                 from LexicalReorderingTable.h:15,
                 from LexicalReordering.h:16,
                 from Hypothesis.h:36,
                 from TrellisPath.h:27,
                 from TrellisPath.cpp:22:
FilePtr.h:37: warning: type qualifiers ignored on function return type
FilePtr.h:38: warning: type qualifiers ignored on function return type
FilePtr.h:42: warning: type qualifiers ignored on function return type
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT TrellisPathCollection.o
-MD -MP -MF ".deps/TrellisPathCollection.Tpo" -c -o
TrellisPathCollection.o TrellisPathCollection.cpp; \
        then mv -f ".deps/TrellisPathCollection.Tpo"
".deps/TrellisPathCollection.Po"; else rm -f
".deps/TrellisPathCollection.Tpo"; exit 1; fi
In file included from PrefixTree.h:14,
                 from PrefixTreeMap.h:8,
                 from LexicalReorderingTable.h:15,
                 from LexicalReordering.h:16,
                 from Hypothesis.h:36,
                 from TrellisPath.h:27,
                 from TrellisPathCollection.h:26,
                 from TrellisPathCollection.cpp:1:
FilePtr.h:37: warning: type qualifiers ignored on function return type
FilePtr.h:38: warning: type qualifiers ignored on function return type
FilePtr.h:42: warning: type qualifiers ignored on function return type
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT LexicalReordering.o -MD
-MP -MF ".deps/LexicalReordering.Tpo" -c -o LexicalReordering.o
LexicalReordering.cpp; \
        then mv -f ".deps/LexicalReordering.Tpo"
".deps/LexicalReordering.Po"; else rm -f
".deps/LexicalReordering.Tpo"; exit 1; fi
In file included from PrefixTree.h:14,
                 from PrefixTreeMap.h:8,
                 from LexicalReorderingTable.h:15,
                 from LexicalReordering.h:16,
                 from LexicalReordering.cpp:1:
FilePtr.h:37: warning: type qualifiers ignored on function return type
FilePtr.h:38: warning: type qualifiers ignored on function return type
FilePtr.h:42: warning: type qualifiers ignored on function return type
LexicalReordering.cpp: In member function ‘Moses::Phrase
Moses::LexicalReordering::auxGetContext(const Moses::Hypothesis*)
const’:
LexicalReordering.cpp:134: warning: comparison between signed and
unsigned integer expressions
LexicalReordering.cpp:139: warning: comparison between signed and
unsigned integer expressions
LexicalReordering.cpp:129: warning: unused variable ‘h’
LexicalReordering.cpp: At global scope:
LexicalReordering.cpp:256: warning: unused parameter ‘prev_state’
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT LexicalReorderingTable.o
-MD -MP -MF ".deps/LexicalReorderingTable.Tpo" -c -o
LexicalReorderingTable.o LexicalReorderingTable.cpp; \
        then mv -f ".deps/LexicalReorderingTable.Tpo"
".deps/LexicalReorderingTable.Po"; else rm -f
".deps/LexicalReorderingTable.Tpo"; exit 1; fi
In file included from PrefixTree.h:14,
                 from PrefixTreeMap.h:8,
                 from LexicalReorderingTable.h:15,
                 from LexicalReorderingTable.cpp:1:
FilePtr.h:37: warning: type qualifiers ignored on function return type
FilePtr.h:38: warning: type qualifiers ignored on function return type
FilePtr.h:42: warning: type qualifiers ignored on function return type
LexicalReorderingTable.cpp: In member function ‘virtual void
Moses::LexicalReorderingTableTree::InitializeForInput(const
Moses::InputType&)’:
LexicalReorderingTable.cpp:301: warning: unused variable ‘s’
LexicalReorderingTable.cpp: In static member function ‘static bool
Moses::LexicalReorderingTableTree::Create(std::istream&, const
std::string&)’:
LexicalReorderingTable.cpp:366: warning: comparison between signed and
unsigned integer expressions
LexicalReorderingTable.cpp:379: warning: comparison between signed and
unsigned integer expressions
LexicalReorderingTable.cpp: In member function ‘IPhrase
Moses::LexicalReorderingTableTree::MakeTableKey(const Moses::Phrase&,
const Moses::Phrase&) const’:
LexicalReorderingTable.cpp:511: warning: comparison between signed and
unsigned integer expressions
LexicalReorderingTable.cpp:525: warning: comparison between signed and
unsigned integer expressions
LexicalReorderingTable.cpp: In member function ‘void
Moses::LexicalReorderingTableTree::auxCacheForSrcPhrase(const
Moses::Phrase&)’:
LexicalReorderingTable.cpp:556: warning: comparison between signed and
unsigned integer expressions
LexicalReorderingTable.cpp: At global scope:
LexicalReorderingTable.cpp:594: warning: unused parameter ‘input’
LexicalReorderingTable.cpp: In member function ‘void
Moses::LexicalReorderingTableTree::Cache(const Moses::Sentence&)’:
LexicalReorderingTable.cpp:602: warning: comparison between signed and
unsigned integer expressions
PrefixTree.h: In member function ‘void Moses::PrefixTreeF<T,
D>::read() [with T = unsigned int, D = long long int]’:
PrefixTree.h:131:   instantiated from ‘Moses::PrefixTreeF<T,
D>::PrefixTreeF(FILE*) [with T = unsigned int, D = long long int]’
LexicalReorderingTable.cpp:425:   instantiated from here
PrefixTree.h:141: warning: ignoring return value of ‘size_t
fread(void*, size_t, size_t, FILE*)’, declared with attribute
warn_unused_result
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/sethu/Moses/srilm/include  -g -O2 -MT Manager.o -MD -MP -MF
".deps/Manager.Tpo" -c -o Manager.o Manager.cpp; \
        then mv -f ".deps/Manager.Tpo" ".deps/Manager.Po"; else rm -f
".deps/Manager.Tpo"; exit 1; fi
In file included from /usr/include/c++/4.3/ext/hash_set:64,
                 from Manager.cpp:25:
/usr/include/c++/4.3/backward/backward_warning.h:33:2: warning:
#warning This file includes at least one deprecated or antiquated
header which may be removed without further notice at a future date.
Please use a non-deprecated interface with equivalent functionality
instead. For a listing of replacement headers and interfaces, consult
the file backward_warning.h. To disable this warning use
-Wno-deprecated.
In file included from PrefixTree.h:14,
                 from PrefixTreeMap.h:8,
                 from LexicalReorderingTable.h:15,
                 from LexicalReordering.h:16,
                 from Hypothesis.h:36,
                 from Manager.h:28,
                 from Manager.cpp:30:
FilePtr.h:37: warning: type qualifiers ignored on function return type
FilePtr.h:38: warning: type qualifiers ignored on function return type
FilePtr.h:42: warning: type qualifiers ignored on function return type
make[2]: *** No rule to make target `md5.o', needed by `libmoses.a'.  Stop.
make[2]: Leaving directory `/home/sethu/Moses/moses/moses/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sethu/Moses/moses'
make: *** [all] Error 2

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to