klm on cdec does not compile

25 views
Skip to first unread message

Yang Gao

unread,
Jul 30, 2012, 4:34:36 PM7/30/12
to cdec-...@googlegroups.com
Hi!

I checked out the latest cdec from git. I would like to also be able to call the "query" binary independently, not via cdec, therefore compiling klm

cd klm
$ sh ./compile.sh
lm/build_binary.o: In function `main':
/home/nlg-01/yanggao/tools/cdec/klm/lm/build_binary.cc:130: multiple definition of `main'
/tmp/cc9QSnoY.o:build_binary.cc:(.text+0x940): first defined here
/usr/bin/ld: Warning: size of symbol `main' changed from 2162 in /tmp/cc9QSnoY.o to 2303 in lm/build_binary.o
lm/ngram_query.o: In function `~ModelFacade':
/home/nlg-01/yanggao/tools/cdec/klm/lm/ngram_query.cc:3: multiple definition of `main'
/tmp/cc9QSnoY.o:build_binary.cc:(.text+0x940): first defined here
/usr/bin/ld: Warning: size of symbol `main' changed from 2303 in /tmp/cc9QSnoY.o to 610 in lm/ngram_query.o
collect2: ld returned 1 exit status

what could have been the problem?

cheers,

yang

Reply all
Reply to author
Forward
0 new messages