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

  免費(fèi)注冊 查看新帖 |

Chinaunix

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

[FastDFS] chf99cn:編譯出錯 [復(fù)制鏈接]

論壇徽章:
4
2015年辭舊歲徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:56:11IT運(yùn)維版塊每日發(fā)帖之星
日期:2016-08-11 06:20:00IT運(yùn)維版塊每日發(fā)帖之星
日期:2016-08-15 06:20:00
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2009-02-21 10:19 |只看該作者 |倒序瀏覽
chf99cn:
nm: '/usr/lib/libc_r.so': No such file
cc -O3 -Wall -D_FILE_OFFSET_BITS=64 -DOS_LINUX -o fdfs_trackerd fdfs_trackerd.c  ../common/hash.o ../common/chain.o ../common/shared_func.o ../common/ini_file_reader.o ../common/logger.o ../common/sockopt.o ../common/fdfs_global.o tracker_proto.o tracker_mem.o tracker_service.o tracker_global.o tracker_func.o -L/usr/local/lib  -I../common -I/usr/local/include
fdfs_trackerd.c: In function `main':
fdfs_trackerd.c:136: warning: cast to pointer from integer of different size
../common/shared_func.o(.text+0xd8f): In function `init_pthread_lock':
: undefined reference to `pthread_mutexattr_init'
../common/shared_func.o(.text+0xdcb): In function `init_pthread_lock':
: undefined reference to `pthread_mutexattr_settype'
../common/shared_func.o(.text+0xe26): In function `init_pthread_lock':
: undefined reference to `pthread_mutexattr_destroy'
../common/shared_func.o(.text+0xe97): In function `init_pthread_attr':
: undefined reference to `pthread_attr_getstacksize'
../common/shared_func.o(.text+0xeb4): In function `init_pthread_attr':
: undefined reference to `pthread_attr_setstacksize'
../common/shared_func.o(.text+0x1f1e): In function `create_work_threads':
: undefined reference to `pthread_create'
../common/shared_func.o(.text+0x1fbd): In function `kill_work_threads':
: undefined reference to `pthread_kill'
collect2: ld returned 1 exit status
make: *** [fdfs_trackerd] Error 1
cc -O3 -Wall -D_FILE_OFFSET_BITS=64 -DOS_LINUX -o fdfs_storaged fdfs_storaged.c  ../common/hash.o ../common/chain.o ../common/shared_func.o ../common/ini_file_reader.o ../common/logger.o ../common/sockopt.o ../common/fdfs_global.o ../common/fdfs_base64.o ../tracker/tracker_proto.o tracker_client_thread.o storage_global.o storage_func.o storage_service.o storage_sync.o -L/usr/local/lib  -I../common -I../tracker -I/usr/local/include
fdfs_storaged.c: In function `main':
fdfs_storaged.c:190: warning: cast to pointer from integer of different size
../common/shared_func.o(.text+0xd8f): In function `init_pthread_lock':
: undefined reference to `pthread_mutexattr_init'
../common/shared_func.o(.text+0xdcb): In function `init_pthread_lock':
: undefined reference to `pthread_mutexattr_settype'
../common/shared_func.o(.text+0xe26): In function `init_pthread_lock':
: undefined reference to `pthread_mutexattr_destroy'
../common/shared_func.o(.text+0xe97): In function `init_pthread_attr':
: undefined reference to `pthread_attr_getstacksize'
../common/shared_func.o(.text+0xeb4): In function `init_pthread_attr':
: undefined reference to `pthread_attr_setstacksize'
../common/shared_func.o(.text+0x1f1e): In function `create_work_threads':
: undefined reference to `pthread_create'
../common/shared_func.o(.text+0x1fbd): In function `kill_work_threads':
: undefined reference to `pthread_kill'
tracker_client_thread.o(.text+0x1371): In function `tracker_report_thread_start':
: undefined reference to `pthread_create'
storage_sync.o(.text+0x2505): In function `storage_sync_thread_start':
: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
make: *** [fdfs_storaged] Error 1
cc -O3 -Wall -D_FILE_OFFSET_BITS=64 -DOS_LINUX -o fdfs_monitor fdfs_monitor.c  ../common/hash.o ../common/chain.o ../common/shared_func.o ../common/ini_file_reader.o ../common/logger.o ../common/sockopt.o ../common/fdfs_global.o ../common/fdfs_base64.o ../tracker/tracker_proto.o tracker_client.o client_func.o client_global.o storage_client.o -L/usr/local/lib  -I../common -I../tracker -I/usr/local/include
../common/shared_func.o(.text+0xd8f): In function `init_pthread_lock':
: undefined reference to `pthread_mutexattr_init'
../common/shared_func.o(.text+0xdcb): In function `init_pthread_lock':
: undefined reference to `pthread_mutexattr_settype'
../common/shared_func.o(.text+0xe26): In function `init_pthread_lock':
: undefined reference to `pthread_mutexattr_destroy'
../common/shared_func.o(.text+0xe97): In function `init_pthread_attr':
: undefined reference to `pthread_attr_getstacksize'
../common/shared_func.o(.text+0xeb4): In function `init_pthread_attr':
: undefined reference to `pthread_attr_setstacksize'
../common/shared_func.o(.text+0x1f1e): In function `create_work_threads':
: undefined reference to `pthread_create'
../common/shared_func.o(.text+0x1fbd): In function `kill_work_threads':
: undefined reference to `pthread_kill'
collect2: ld returned 1 exit status
make: *** [fdfs_monitor] Error 1

論壇徽章:
4
2015年辭舊歲徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:56:11IT運(yùn)維版塊每日發(fā)帖之星
日期:2016-08-11 06:20:00IT運(yùn)維版塊每日發(fā)帖之星
日期:2016-08-15 06:20:00
2 [報告]
發(fā)表于 2009-02-21 10:20 |只看該作者
happy_fish100:
你下載的是最新版V1.11嗎?解壓后執(zhí)行./make.sh即可進(jìn)行編譯,./make.sh install進(jìn)行安裝。

chf99cn:
我改了一下 make.sh文件,我是64位的.
if [ -f /usr/lib/libpthread.so ] || [ -f /usr/local/lib/libpthread.so ] || [ -f /usr/lib64/libpthread.so ] ...........
加了一件判斷就好了。
另:好像沒有看到FastDFS在并發(fā)情況下的測試報告?


happy_fish100:
非常感謝!我將這個修改加入到最新版本中。
目前正準(zhǔn)備做一個正式的測試。測試結(jié)果敬請期待。
您需要登錄后才可以回帖 登錄 | 注冊

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

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP