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

  免費注冊 查看新帖 |

Chinaunix

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

[FastDFS] solaris平臺怎么編譯? [復制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2009-03-16 22:39 |只看該作者 |倒序瀏覽
下面是編譯日志
cc -O3 -Wall -D_FILE_OFFSET_BITS=64 -c -o ../common/shared_func.o ../common/shared_func.c  -I../common -I/usr/local/include
../common/shared_func.c: In function `getAppAbsolutePath':
../common/shared_func.c:112: warning: implicit declaration of function `rindex'
../common/shared_func.c: In function `load_allow_hosts':
../common/shared_func.c:1282: error: `INADDR_NONE' undeclared (first use in this function)
../common/shared_func.c:1282: error: (Each undeclared identifier is reported only once
../common/shared_func.c:1282: error: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `../common/shared_func.o'
cc -O3 -Wall -D_FILE_OFFSET_BITS=64 -c -o ../common/shared_func.o ../common/shared_func.c  -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include
../common/shared_func.c: In function `getAppAbsolutePath':
../common/shared_func.c:112: warning: implicit declaration of function `rindex'
../common/shared_func.c: In function `load_allow_hosts':
../common/shared_func.c:1282: error: `INADDR_NONE' undeclared (first use in this function)
../common/shared_func.c:1282: error: (Each undeclared identifier is reported only once
../common/shared_func.c:1282: error: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `../common/shared_func.o'
cc -O3 -Wall -D_FILE_OFFSET_BITS=64 -c -o ../common/shared_func.o ../common/shared_func.c  -I../common -I../tracker -I/usr/local/include
../common/shared_func.c: In function `getAppAbsolutePath':
../common/shared_func.c:112: warning: implicit declaration of function `rindex'
../common/shared_func.c: In function `load_allow_hosts':
../common/shared_func.c:1282: error: `INADDR_NONE' undeclared (first use in this function)
../common/shared_func.c:1282: error: (Each undeclared identifier is reported only once
../common/shared_func.c:1282: error: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `../common/shared_func.o'

論壇徽章:
4
2015年辭舊歲徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:56:11IT運維版塊每日發(fā)帖之星
日期:2016-08-11 06:20:00IT運維版塊每日發(fā)帖之星
日期:2016-08-15 06:20:00
2 [報告]
發(fā)表于 2009-03-17 09:36 |只看該作者

回復 #1 gqf2008 的帖子

目前只在Linux和FreeBSD下編譯通過并進行了測試。
我沒有solaris的環(huán)境。
我定位了一下這個問題,應該修正了這個問題。
通過svn checkout代碼,然后重新編譯試試。
svn checkout http://fastdfs.googlecode.com/svn/trunk/ fastdfs-read-only

論壇徽章:
0
3 [報告]
發(fā)表于 2009-03-17 11:09 |只看該作者
unix體驗中心有solaris www.unix-center.net

論壇徽章:
0
4 [報告]
發(fā)表于 2009-03-17 11:14 |只看該作者
重新checkout后編譯:
cc -O3 -Wall -D_FILE_OFFSET_BITS=64 -c -o ../common/shared_func.o ../common/shared_func.c  -I../common -I/usr/local/include
../common/shared_func.c: In function `load_allow_hosts':
../common/shared_func.c:1285: error: `INADDR_NONE' undeclared (first use in this function)
../common/shared_func.c:1285: error: (Each undeclared identifier is reported only once
../common/shared_func.c:1285: error: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `../common/shared_func.o'
cc -O3 -Wall -D_FILE_OFFSET_BITS=64 -c -o ../common/shared_func.o ../common/shared_func.c  -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include
../common/shared_func.c: In function `load_allow_hosts':
../common/shared_func.c:1285: error: `INADDR_NONE' undeclared (first use in this function)
../common/shared_func.c:1285: error: (Each undeclared identifier is reported only once
../common/shared_func.c:1285: error: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `../common/shared_func.o'
cc -O3 -Wall -D_FILE_OFFSET_BITS=64 -c -o ../common/shared_func.o ../common/shared_func.c  -I../common -I../tracker -I/usr/local/include
../common/shared_func.c: In function `load_allow_hosts':
../common/shared_func.c:1285: error: `INADDR_NONE' undeclared (first use in this function)
../common/shared_func.c:1285: error: (Each undeclared identifier is reported only once
../common/shared_func.c:1285: error: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `../common/shared_func.o'

論壇徽章:
4
2015年辭舊歲徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:56:11IT運維版塊每日發(fā)帖之星
日期:2016-08-11 06:20:00IT運維版塊每日發(fā)帖之星
日期:2016-08-15 06:20:00
5 [報告]
發(fā)表于 2009-03-17 14:41 |只看該作者
原帖由 gqf2008 于 2009-3-17 11:09 發(fā)表
unix體驗中心有solaris www.unix-center.net


我已經(jīng)申請到了帳號,這個環(huán)境真不錯。幦≡赟olaris上build一個版本出來。

論壇徽章:
4
2015年辭舊歲徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:56:11IT運維版塊每日發(fā)帖之星
日期:2016-08-11 06:20:00IT運維版塊每日發(fā)帖之星
日期:2016-08-15 06:20:00
6 [報告]
發(fā)表于 2009-03-17 16:47 |只看該作者

回復 #4 gqf2008 的帖子

在solaris環(huán)境下編譯通過,并進行了簡單測試。
你通過svn checkout代碼,然后重新編譯試試。
svn checkout http://fastdfs.googlecode.com/svn/trunk/ fastdfs-read-only

論壇徽章:
0
7 [報告]
發(fā)表于 2009-03-17 21:55 |只看該作者
yeah!

編譯通過了,稍后附上測試報告,嘿嘿!
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(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的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP