code: var_dump(scws_version()); scws_has_words($sh, $cutword); 打印输出: string(64) "SCWS (Module version:1.0.0, Library version:1.2.0) - by hightman" Fatal error: Call to undefined function scws_has_words() in /letv/data/www/cutword/index.php on line 15 求帮助
...ib/gcc/i686-pc-cygwin/4.3.4/../../../libcygwin.a(libcmain.o):(.text+0xa9): undefined reference to `_WinMain@16' collect2: ld returned 1 exit status make[2]: *** [libscws.la] Error 1 make[2]: Leaving directory `/home/sundaming/scws-1.1.6/libscws' make[1]: *** [all-recursive] Error 1 gcc -Wl,--...
...ib/gcc/i686-pc-cygwin/4.3.4/../../../libcygwin.a(libcmain.o):(.text+0xa9): undefined reference to `_WinMain@16' collect2: ld returned 1 exit status make[2]: *** [libscws.la] Error 1 make[2]: Leaving directory `/home/sundaming/scws-1.1.6/libscws' make[1]: *** [all-recursive] Error 1 gcc -Wl,--...
非常感谢 我去试试[hr] 加上 --enable-maintainer-zts 参数也不行 php 5.2.13 [root@zjx phpext]# /usr/local/php/bin/phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 [root@zjx phpext]# ./configure --with-scws...
非常感谢大哥指点 我的php编译大致是这样的 ./configure --prefix=/usr/local/php51 --with-config-file-path=/usr/local/php51/etc --with-mysql=/usr/local/mysql51 --with-mysqli=/usr/local/mysql51/bin/mysql_config --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-pn...
...cws.so' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/scws.so: undefined symbol: core_globals_id in Unknown on line 0[/code] 还是这个问题!无法解决! libscws已经安装成功! 安装php扩展: 1. 执行phpize信息: [code]Configuring for: PHP Api Version: ...