도와주세요!!
글 수 15,339
2007.08.28 09:45:46 (*.186.44.95)
8182
이 오류에 대한 설명을 듣고 싶습니다.
왜 이러한 오류가 나는지 알고 싶네요.
root@heya-com:~/com/linux-2.4.19/test_dio# make
io.c: In function `armdio_int_read_handler':
io.c:93: invalid suffix on integer constant
io.c:93: parse error before numeric constant
io.c:95: warning: implicit declaration of function `readw'
io.c:95: `oxFF' undeclared (first use in this function)
io.c:95: (Each undeclared identifier is reported only once
io.c:95: for each function it appears in.)
io.c:98: invalid suffix on integer constant
io.c:98: invalid lvalue in assignment
io.c:98: invalid suffix on integer constant
io.c:98: invalid suffix on integer constant
io.c:98: parse error before ')' token
io.c:100: invalid suffix on integer constant
io.c:100: invalid suffix on integer constant
io.c:102: invalid suffix on integer constant
io.c:103: invalid suffix on integer constant
io.c: At top level:
io.c:115: parse error before '}' token
io.c:118: parse error before '(' token
io.c: In function `armdio_int_write_handler':
io.c:132: warning: implicit declaration of function `sava_flags_cli'
io.c:133: warning: implicit declaration of function `writew'
io.c:124: warning: unused variable `state'
io.c:125: warning: unused variable `wake_flag'
io.c: In function `armdio_int_handler':
io.c:153: `TIMER_TICK_100uSEC' undeclared (first use in this function)
io.c:147: warning: unused variable `flags'
io.c:148: warning: unused variable `state'
io.c: In function `armdio_open':
io.c:190: warning: implicit declaration of function `kmalloc'
io.c:203: structure has no member named `privae_data'
io.c:205: `TIMER_TICK_100uSEC' undeclared (first use in this function)
io.c:207: `MOD_INC_USE_CONUT' undeclared (first use in this function)
io.c:210: warning: implicit declaration of function `kfree'
io.c:213: warning: label `err1' defined but not used
io.c:183: label `errl' used but not defined
io.c: In function `armdio_read':
io.c:244: invalid suffix on integer constant
io.c:244: parse error before numeric constant
io.c:257: parse error before '!=' token
io.c:269: invalid suffix on integer constant
io.c:269: invalid lvalue in assignment
io.c:269: invalid suffix on integer constant
io.c:269: invalid suffix on integer constant
io.c:269: parse error before ')' token
io.c:271: invalid suffix on integer constant
io.c:271: invalid suffix on integer constant
io.c:271: invalid suffix on integer constant
io.c:271: invalid suffix on integer constant
io.c:271: `__p' undeclared (first use in this function)
io.c:271: invalid suffix on integer constant
io.c:241: warning: unused variable `flags'
io.c:271: warning: statement with no effect
io.c: At top level:
io.c:271: parse error before ')' token
io.c: In function `armdio_poll':
io.c:313: `armdio_mng' undeclared (first use in this function)
io.c:313: `data' undeclared (first use in this function)
io.c:325: `maks' undeclared (first use in this function)
io.c: At top level:
io.c:336: `armdio_write' undeclared here (not in a function)
io.c:336: initializer element is not constant
io.c:336: (near initialization for `armdio_fops.write')
왜 이러한 오류가 나는지 알고 싶네요.
root@heya-com:~/com/linux-2.4.19/test_dio# make
io.c: In function `armdio_int_read_handler':
io.c:93: invalid suffix on integer constant
io.c:93: parse error before numeric constant
io.c:95: warning: implicit declaration of function `readw'
io.c:95: `oxFF' undeclared (first use in this function)
io.c:95: (Each undeclared identifier is reported only once
io.c:95: for each function it appears in.)
io.c:98: invalid suffix on integer constant
io.c:98: invalid lvalue in assignment
io.c:98: invalid suffix on integer constant
io.c:98: invalid suffix on integer constant
io.c:98: parse error before ')' token
io.c:100: invalid suffix on integer constant
io.c:100: invalid suffix on integer constant
io.c:102: invalid suffix on integer constant
io.c:103: invalid suffix on integer constant
io.c: At top level:
io.c:115: parse error before '}' token
io.c:118: parse error before '(' token
io.c: In function `armdio_int_write_handler':
io.c:132: warning: implicit declaration of function `sava_flags_cli'
io.c:133: warning: implicit declaration of function `writew'
io.c:124: warning: unused variable `state'
io.c:125: warning: unused variable `wake_flag'
io.c: In function `armdio_int_handler':
io.c:153: `TIMER_TICK_100uSEC' undeclared (first use in this function)
io.c:147: warning: unused variable `flags'
io.c:148: warning: unused variable `state'
io.c: In function `armdio_open':
io.c:190: warning: implicit declaration of function `kmalloc'
io.c:203: structure has no member named `privae_data'
io.c:205: `TIMER_TICK_100uSEC' undeclared (first use in this function)
io.c:207: `MOD_INC_USE_CONUT' undeclared (first use in this function)
io.c:210: warning: implicit declaration of function `kfree'
io.c:213: warning: label `err1' defined but not used
io.c:183: label `errl' used but not defined
io.c: In function `armdio_read':
io.c:244: invalid suffix on integer constant
io.c:244: parse error before numeric constant
io.c:257: parse error before '!=' token
io.c:269: invalid suffix on integer constant
io.c:269: invalid lvalue in assignment
io.c:269: invalid suffix on integer constant
io.c:269: invalid suffix on integer constant
io.c:269: parse error before ')' token
io.c:271: invalid suffix on integer constant
io.c:271: invalid suffix on integer constant
io.c:271: invalid suffix on integer constant
io.c:271: invalid suffix on integer constant
io.c:271: `__p' undeclared (first use in this function)
io.c:271: invalid suffix on integer constant
io.c:241: warning: unused variable `flags'
io.c:271: warning: statement with no effect
io.c: At top level:
io.c:271: parse error before ')' token
io.c: In function `armdio_poll':
io.c:313: `armdio_mng' undeclared (first use in this function)
io.c:313: `data' undeclared (first use in this function)
io.c:325: `maks' undeclared (first use in this function)
io.c: At top level:
io.c:336: `armdio_write' undeclared here (not in a function)
io.c:336: initializer element is not constant
io.c:336: (near initialization for `armdio_fops.write')