lintool / twitter-tools

Twitter Tools
twittertools.cc
218 stars 100 forks source link

trec_eval problem at compile time #44

Open gfenza opened 10 years ago

gfenza commented 10 years ago

Hi, I am on windows machine and I'm using gcc with cygwin64 in order to compile trec_eval. Nevertheless, I have an error about VERSIONID:

trec_eval.c:7:26: error: ‘VERSIONID’ undeclared here (not in a function) static char *VersionID = VERSIONID;

So, I tried to comment VERSIONID and VersionID reference in the trec_eval.c file, but I still have an error (the error message is shown below). Could you kindly hel me to figure out the problem.

Thanks in advance, Giuseppe

Error log:

/tmp/ccQKBOkL.o:trec_eval.c:(.text+0x5e1): riferimento non definito a "te_get_zscores" /tmp/ccQKBOkL.o:trec_eval.c:(.text+0x5e1): rilocazione adattata per troncamento: R_X86_64_PC32 contro il simbolo non definito "te_get_zscores" /tmp/ccQKBOkL.o:trec_eval.c:(.text+0x9d0): riferimento non definito a "te_convert_to_zscore" /tmp/ccQKBOkL.o:trec_eval.c:(.text+0x9d0): rilocazione adattata per troncamento: R_X86_64_PC32 contro il simbolo non definito "te_convert_to_zscore" /tmp/ccQKBOkL.o:trec_eval.c:(.text+0x1324): riferimento non definito a "te_get_zscores_cleanup" /tmp/ccQKBOkL.o:trec_eval.c:(.text+0x1324): rilocazione adattata per troncamento: R_X86_64_PC32 contro il simbolo non definito "te_get_zscores_cleanup" /tmp/ccQKBOkL.o:trec_eval.c:(.rdata$.refptr.te_num_form_inter_procs[.refptr.te_num_form_inter_procs]+0x0): riferimento non definito a "te_num_form_inter_procs" /tmp/ccQKBOkL.o:trec_eval.c:(.rdata$.refptr.te_form_inter_procs[.refptr.te_form_inter_procs]+0x0): riferimento non definito a "te_form_inter_procs" /tmp/ccQKBOkL.o:trec_eval.c:(.rdata$.refptr.te_num_trec_measure_nicknames[.refptr.te_num_trec_measure_nicknames]+0x0): riferimento non definito a "te_num_trec_measure_nicknames" /tmp/ccQKBOkL.o:trec_eval.c:(.rdata$.refptr.te_trec_measure_nicknames[.refptr.te_trec_measure_nicknames]+0x0): riferimento non definito a "te_trec_measure_nicknames" /tmp/ccQKBOkL.o:trec_eval.c:(.rdata$.refptr.te_num_trec_measures[.refptr.te_num_trec_measures]+0x0): riferimento non definito a "te_num_trec_measures" /tmp/ccQKBOkL.o:trec_eval.c:(.rdata$.refptr.te_trec_measures[.refptr.te_trec_measures]+0x0): riferimento non definito a "te_trec_measures" /tmp/ccQKBOkL.o:trec_eval.c:(.rdata$.refptr.te_num_results_format[.refptr.te_num_results_format]+0x0): riferimento non definito a "te_num_results_format" /tmp/ccQKBOkL.o:trec_eval.c:(.rdata$.refptr.te_results_format[.refptr.te_results_format]+0x0): riferimento non definito a "te_results_format" /tmp/ccQKBOkL.o:trec_eval.c:(.rdata$.refptr.te_num_rel_info_format[.refptr.te_num_rel_info_format]+0x0): riferimento non definito a "te_num_rel_info_format" /tmp/ccQKBOkL.o:trec_eval.c:(.rdata$.refptr.te_rel_info_format[.refptr.te_rel_info_format]+0x0): riferimento non definito a "te_rel_info_format" collect2: error: ld returned 1 exit status