... dateline='1312462730'] 错误信息如下 gcc -Wl,--base-file,.libs/cygscws-1.dll-base -Wl,-e,__cygwin_dll_entry@12 -o .libs/cygscws-1.dll charset.lo crc32.lo pool.lo scws.lo xdict.lo darray.lo rule.lo lock.lo xdb.lo xtree.lo /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../libcygwin.a(libcmain.o):(...
错误信息如下 gcc -Wl,--base-file,.libs/cygscws-1.dll-base -Wl,-e,__cygwin_dll_entry@12 -o .libs/cygscws-1.dll charset.lo crc32.lo pool.lo scws.lo xdict.lo darray.lo rule.lo lock.lo xdb.lo xtree.lo /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../libcygwin.a(libcmain.o):(.text+0xa9): undefined re...
/bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT xdb.lo -MD -MP -MF .deps/xdb.Tpo -c -o xdb.lo xdb.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT xdb.lo -MD -MP -MF .deps/xdb.Tpo -c xdb.c -DDLL_EXPORT -DPIC -o .libs/xdb.o...
...event version... ok checking for event_init in -levent... yes checking for scws.h of scws... yes: /usr/local/xunsearch checking for scws_new in -lscws... yes checking for xapian.h of xapian-core... yes: /usr/local/xunsearch checking for correct xapian version... ok checking for library of xapian-cor...
...取一些品牌:adidas nike。。。对商品名分词后不能从使用scws_get_words()函数来提取指定属性的词,假如品牌的属性设置为pp,因为这些纯英文词的词性切分后都为/en。在非法词过滤时也是如此,不能使用scws_has_word()函数来判断是否有...
新版本SCWS-1.2.2的scws-gen-dict工具没有反向解压功能? 执行 ./scws-gen-dict -i dict.txt -o dict.xdb -c gbk -U 输出: ./scws-gen-dict: invalid option -- 'U' 我查了下help ./scws-gen-dict -h 发现没有这个命令啊 scws-gen-dict (scws-mkdict/1.2.2) Convert the plai...
...rror 1 make[2]: Leaving directory `/root/xunsearch-full-1.4.1/xapian-core-scws-1.2.13' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/root/xunsearch-full-1.4.1/xapian-core-scws-1.2.13' make: *** [install] Error 2 -----
... failed make[2]: *** [xdb.lo] Error 1 make[2]: 离开目录“/usr/local/scws-1.2.1/libscws” Makefile:262: recipe for target `all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: 离开目录“/usr/local/scws-1.2.1” Makefile:192: recipe for target `all' failed make: *** [a...
gcc -o test -I/usr/local/scws/include/scws -L /usr/local/scws/lib test.c -lscws -Wl,--rpath -Wl, /usr/local/scws/lib /usr/bin/ld: cannot find /usr/local/scws/lib: File format not recognized collect2: ld returned 1 exit status Hightman 能否解决下?
现在才发现,scws的源码里有很多地方都没有检测malloc是否成功,如scws.c:1527行附近的下面两行, top = (scws_top_t) malloc(sizeof(struct scws_topword)); top->weight = cur->idf; 182行的下面两行 res = (scws_res_t) malloc(sizeof(struct scws_result)); \ res->off...