亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 2546 | 回復: 0
打印 上一主題 下一主題

cmake 編譯 hiphop-php 失敗, 找不到參數(shù): EXTRA_LIBS [復制鏈接]

論壇徽章:
0
跳轉到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2010-08-10 12:47 |只看該作者 |倒序瀏覽
hiphop-php 需要  cmake 來編譯  ,  但是在編譯過程中:


  1. [root@sys-test-02 hiphop-php]# make
  2. [  1%] Built target timelib
  3. [  2%] Built target xhp
  4. [ 14%] Built target mbfl
  5. [ 14%] Built target sqlite3
  6. [ 14%] Built target afdt
  7. [ 75%] Built target hphp_runtime_static
  8. [ 87%] Built target hphp_analysis
  9. Linking CXX executable hphp
  10. ../../bin/libhphp_runtime.a(ext_iconv.cpp.o): In function
  11. `HPHP::_php_iconv_strlen(unsigned int*, char const*, unsigned long,
  12. char const*)':
  13. ext_iconv.cpp:(.text+0x1dc): undefined reference to `libiconv_open'
  14. ext_iconv.cpp:(.text+0x272): undefined reference to `libiconv'
  15. ext_iconv.cpp:(.text+0x2ca): undefined reference to `libiconv_close'
  16. ../../bin/libhphp_runtime.a(ext_iconv.cpp.o): In function
  17. `HPHP::php_iconv_string(char const*, unsigned long, char**, unsigned
  18. long*, char const*, char const*)':
  19. ext_iconv.cpp:(.text+0x336): undefined reference to `libiconv_open'
  20. ext_iconv.cpp:(.text+0x423): undefined reference to `libiconv'
  21. ext_iconv.cpp:(.text+0x482): undefined reference to `libiconv'
  22. ext_iconv.cpp:(.text+0x495): undefined reference to `libiconv_close'
  23. ext_iconv.cpp:(.text+0x4a5): undefined reference to `libiconv_close'
  24. ../../bin/libhphp_runtime.a(ext_iconv.cpp.o): In function
  25. `HPHP::_php_iconv_strpos(unsigned int*, char const*, unsigned long,
  26. char const*, unsigned long, int, char const*)':
  27. ext_iconv.cpp:(.text+0x5cf): undefined reference to `libiconv_open'
  28. ext_iconv.cpp:(.text+0x67b): undefined reference to `libiconv'
  29. ext_iconv.cpp:(.text+0x73b): undefined reference to `libiconv_close'
  30. ../../bin/libhphp_runtime.a(ext_iconv.cpp.o): In function
  31. `HPHP::_php_iconv_appendl(HPHP::StringBuffer&, char const*, unsigned
  32. long, void*)':
  33. ext_iconv.cpp:(.text+0xa00): undefined reference to `libiconv'
  34. ext_iconv.cpp:(.text+0xadb): undefined reference to `libiconv'
  35. ../../bin/libhphp_runtime.a(ext_iconv.cpp.o): In function
  36. `HPHP::_php_iconv_mime_decode(HPHP::StringBuffer&, char const*,
  37. unsigned long, char const*, char const**, int)':
  38. ext_iconv.cpp:(.text+0xced): undefined reference to `libiconv_open'
  39. ext_iconv.cpp:(.text+0x11e2): undefined reference to `libiconv_close'
  40. ext_iconv.cpp:(.text+0x11ee): undefined reference to `libiconv_close'
  41. ext_iconv.cpp:(.text+0x153f): undefined reference to `libiconv_close'
  42. ext_iconv.cpp:(.text+0x1552): undefined reference to `libiconv_open'
  43. ../../bin/libhphp_runtime.a(ext_iconv.cpp.o): In function
  44. `HPHP::f_iconv_substr(HPHP::String const&, int, int, HPHP::String
  45. const&)':
  46. ext_iconv.cpp:(.text+0x2981): undefined reference to `libiconv_open'
  47. ext_iconv.cpp:(.text+0x2a51): undefined reference to `libiconv'
  48. ext_iconv.cpp:(.text+0x2aef): undefined reference to `libiconv_close'
  49. ext_iconv.cpp:(.text+0x2b09): undefined reference to `libiconv_close'
  50. ext_iconv.cpp:(.text+0x2bd1): undefined reference to `libiconv_open'
  51. ../../bin/libhphp_runtime.a(ext_iconv.cpp.o): In function
  52. `HPHP::f_iconv_mime_encode(HPHP::String const&, HPHP::String const&,
  53. HPHP::Variant const&)':
  54. ext_iconv.cpp:(.text+0x3cda): undefined reference to `libiconv_close'
  55. ext_iconv.cpp:(.text+0x3dd0): undefined reference to `libiconv_open'
  56. ext_iconv.cpp:(.text+0x3e0f): undefined reference to `libiconv_open'
  57. ext_iconv.cpp:(.text+0x45d0): undefined reference to `libiconv'
  58. ext_iconv.cpp:(.text+0x45fb): undefined reference to `libiconv'
  59. ext_iconv.cpp:(.text+0x4624): undefined reference to `libiconv'
  60. ext_iconv.cpp:(.text+0x46a0): undefined reference to `libiconv_close'
  61. ext_iconv.cpp:(.text+0x495e): undefined reference to `libiconv'
  62. ext_iconv.cpp:(.text+0x4982): undefined reference to `libiconv'
  63. ext_iconv.cpp:(.text+0x4b80): undefined reference to `libiconv'
復制代碼
google 一下 "undefined reference to `libiconv_open'",  所以答案都是:    " add   '-liconv'   to   EXTRA_LIBS=...      or
LDFLAGS=... "  ,  但我死活 找不著   "EXTRA_LIBS    LDFLAGS"   這倆參數(shù):

用這條命令查找 沒有結果 。
  1. [root@sys-test-02 hiphop-php]# find . -type f -exec grep -Hni  --col "EXTRA_LIBS" {} \;
復制代碼
ibiconv 應該是裝的了
  1. locate libiconv |head
  2. /home/okooo/apps/php/include/php/ext/iconv/php_have_libiconv.h
  3. /home/okooo/src/php-5.2.6/ext/iconv/php_have_libiconv.h
  4. /usr/local/lib/libiconv.la
  5. /usr/local/lib/libiconv.so
  6. /usr/local/lib/libiconv.so.2
  7. /usr/local/lib/libiconv.so.2.4.0
  8. /usr/local/lib/preloadable_libiconv.so
復制代碼
請問 Cmake 怎么設置 庫參數(shù) 啊?
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復

  

北京盛拓優(yōu)訊信息技術有限公司. 版權所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關心和支持過ChinaUnix的朋友們 轉載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP