问题以解决 见这里 http://www.hightman.cn/bbs/showthread.php?tid=963&pid=9081#pid9081
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 能否解决下?
checking if debug is enabled... no checking if zts is enabled... no checking for re2c... re2c checking for re2c version... 0.13.5 (ok) checking for gawk... gawk checking for scws support... yes, shared checking for scws.h... no configure: error: Please download and install scws from http://ww...
错误信息如下 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...
[quote='hightman' pid='3616' dateline='1363966246'] 你缺少基本的编译工具,先装好 g++,gcc,make这些 [/quote] 但是我已经yum install gcc 和 yum install gcc-c++过了,yum不是安装好了吗