|
|

楼主 |
发表于 2008-8-13 21:39:26
|
显示全部楼层
非常感谢楼上的朋友!我用的是2.6.18-4-686版本的,我现在重新安装后又试了一下出来这样的提示!
make install
make[1]: Entering directory `/mxdrv/utility'
cd diag;\
make install
make[2]: Entering directory `/mxdrv/utility/diag'
cc -O -c -DLINUX diag.c
diag.c:11:19: stdio.h: ?????????
diag.c:12:19: fcntl.h: ?????????
In file included from diag.c:16:
../global.h:40: error: syntax error before "ushort"
../global.h:40: warning: no semicolon at end of struct or union
../global.h:41: warning: data definition has no type or storage class
../global.h:42: warning: data definition has no type or storage class
../global.h:47: error: syntax error before "ulong"
../global.h:47: warning: no semicolon at end of struct or union
../global.h:49: error: syntax error before "pciInfo"
../global.h:49: warning: data definition has no type or storage class
../global.h:50: warning: data definition has no type or storage class
diag.c: In function `main':
diag.c:34: error: syntax error before "moxa_boards"
diag.c:40: error: `O_RDWR' undeclared (first use in this function)
diag.c:40: error: (Each undeclared identifier is reported only once
diag.c:40: error: for each function it appears in.)
diag.c:60: error: `moxa_boards' undeclared (first use in this function)
make[2]: *** [diag.o] Error 1
make[2]: Leaving directory `/mxdrv/utility/diag'
make[1]: *** [diag_install] Error 2
make[1]: Leaving directory `/mxdrv/utility'
make: *** [utility_install] Error 2 |
|