- 论坛徽章:
- 0
|
[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 ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’
token
raid_io.c:119: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’
token
raid_io.c:214: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’
token
raid_io.c:267: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’
token
raid_io.c:361: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’
token
raid_io.c:519: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 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 编辑 ] |
|