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

  免費注冊 查看新帖 |

Chinaunix

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

編譯raidtools出錯,盼望各位給出建議 [復制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2008-01-29 10:10 |只看該作者 |倒序瀏覽
[root@GOLD raidtools-1.00.3]# uname -r
2.6.23.1

[root@GOLD raidtools-1.00.3]# make
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o raidstart.o raidstart.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o parser.o parser.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o raidlib.o raidlib.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o version.o version.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o raid_io.o raid_io.c
raidstart.c: In function ‘main’:
raidstart.c:76: warning: pointer targets in passing argument 1 of ‘usage’ differ in signedness
raidstart.c:86: warning: pointer targets in passing argument 1 of ‘usage’ differ in signedness
raidstart.c:91: warning: pointer targets in passing argument 1 of ‘usage’ differ in signedness
raidstart.c:116: warning: pointer targets in passing argument 1 of ‘usage’ differ in signedness
raidstart.c:144: warning: pointer targets in passing argument 1 of ‘usage’ differ in signedness
raidstart.c:165: warning: pointer targets in passing argument 1 of ‘usage’ differ in signedness
raidstart.c:175: warning: pointer targets in passing argument 1 of ‘usage’ differ in signedness
raidstart.c:207: warning: pointer targets in passing argument 1 of ‘usage’ differ in signedness
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o scsi.o scsi.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o reconfiguration.o reconfiguration.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o rrc_common.o rrc_common.c
scsi.c: In function ‘scsi_get_serial_number_page’:
scsi.c:434: warning: pointer targets in passing argument 2 of ‘__builtin_strncpy’ differ in
signedness
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o rrc_raid0.o rrc_raid0.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o rrc_raid5.o rrc_raid5.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o rrc_single.o rrc_single.c
raid_io.c:96: error: expected declaration specifiers or ‘...’ before ‘_llseek’
raid_io.c:96: error: expected declaration specifiers or ‘...’ before ‘fd’
raid_io.c:96: error: expected declaration specifiers or ‘...’ before ‘offset_high’
raid_io.c:97: error: expected declaration specifiers or ‘...’ before ‘offset_low’
raid_io.c:97: error: expected declaration specifiers or ‘...’ before ‘result’
raid_io.c:98: error: expected declaration specifiers or ‘...’ before ‘origin’
raid_io.c:101: warning: return type defaults to ‘int’
raid_io.c: In function ‘_syscall5’:
raid_io.c:102: error: expected ‘=’, ‘,’, ‘;’, ‘a(chǎn)sm’ or ‘__attribute__’ before ‘{’
token
raid_io.c:119: error: expected ‘=’, ‘,’, ‘;’, ‘a(chǎn)sm’ or ‘__attribute__’ before ‘{’
token
raid_io.c:214: error: expected ‘=’, ‘,’, ‘;’, ‘a(chǎn)sm’ or ‘__attribute__’ before ‘{’
token
raid_io.c:267: error: expected ‘=’, ‘,’, ‘;’, ‘a(chǎn)sm’ or ‘__attribute__’ before ‘{’
token
raid_io.c:361: error: expected ‘=’, ‘,’, ‘;’, ‘a(chǎn)sm’ or ‘__attribute__’ before ‘{’
token
raid_io.c:519: error: expected ‘=’, ‘,’, ‘;’, ‘a(chǎn)sm’ or ‘__attribute__’ before ‘{’
token
raid_io.c:96: error: parameter name omitted
raid_io.c:96: error: parameter name omitted
raid_io.c:96: error: parameter name omitted
raid_io.c:97: error: parameter name omitted
raid_io.c:97: error: parameter name omitted
raid_io.c:98: error: parameter name omitted
raid_io.c:539: error: expected ‘{’ at end of input
make: *** [raid_io.o] Error 1
make: *** Waiting for unfinished jobs....
rrc_raid5.c: In function ‘raid5_map_global_to_local’:
rrc_raid5.c:299: warning: pointer targets in passing argument 2 of ‘raid5_compute_sector’
differ in signedness
rrc_raid5.c:299: warning: pointer targets in passing argument 3 of ‘raid5_compute_sector’
differ in signednes

[ 本帖最后由 lfkj_gjm 于 2008-1-29 10:12 編輯 ]

論壇徽章:
0
2 [報告]
發(fā)表于 2008-01-29 10:45 |只看該作者
編譯問題可能要另外談,但是有個問題是:

1. 新式的系統(tǒng)已經(jīng)不用 raidtools,而是使用 mdadm 替代

2. 不管哪種發(fā)行版本,都會收錄現(xiàn)成可用的 raidtools or mdadm package,安裝上即可使用

--

論壇徽章:
0
3 [報告]
發(fā)表于 2008-01-29 16:27 |只看該作者
這個我了解,我linux已經(jīng)有mdadm的rpm安裝包。

這個問題的目的在于:
make時出現(xiàn)的錯誤如何進行解決?我在google上也查了不少,沒有得到什么有益的建議。

論壇徽章:
0
4 [報告]
發(fā)表于 2008-01-30 14:16 |只看該作者
沒人知道還是不屑一顧?

論壇徽章:
0
5 [報告]
發(fā)表于 2008-01-30 17:24 |只看該作者
是不是系統(tǒng)對它的支持有問題啊,還是用mdadm吧,很好用的。
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(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