Yang Gao
unread,Jul 30, 2012, 4:34:36 PM7/30/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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