错误1:
miscutils/taskset.c:15:error: parse error before ''*'' token
miscutils/taskset.c:16: warning: function declaration isn''t a prototype
miscutils/taskset.c: In function `from_cpuset'':
miscutils/taskset.c:19: error: `CPU_SETSIZE'' undeclared (first use in thisfunction)
miscutils/taskset.c:19: error: (Each undeclared identifier is reported onlyonce
miscutils/taskset.c:19: error: for each function it appears in.)
miscutils/taskset.c:25: warning: implicit declaration of function `CPU_ISSET''
miscutils/taskset.c:25: error: `mask'' undeclared (first use in this function)
miscutils/taskset.c: In function `taskset_main'':
miscutils/taskset.c:67: error: `cpu_set_t'' undeclared (first use in thisfunction)
miscutils/taskset.c:67: error: parse error before "mask"
miscutils/taskset.c:100: error: `mask'' undeclared (first use in this function)
miscutils/taskset.c:118: error: `CPU_SETSIZE'' undeclared (first use in thisfunction)
miscutils/taskset.c:118: error: enumerator value for `CNT_BIT'' not integerconstant
miscutils/taskset.c:120: warning: implicit declaration of function `CPU_ZERO''
miscutils/taskset.c:124: warning: implicit declaration of function `CPU_SET''
解决办法:
进入make menuconfig:
在 Miscellaneous Utilities --->
[ ] taskset
将其前的星号去掉即可。
错误2:
networking/interface.c:818:error: `ARPHRD_INFINIBAND'' undeclared here (not in a function)
networking/interface.c:818: error: initializer element is not constant
networking/interface.c:818: error: (near initialization for `ib_hwtype.type'')
make[1]: *** [networking/interface.o] Error 1
make: *** [networking] Error 2
解决办法:
networking/interface.c中添加
#define ARPHRD_INFINIBAND 32 /* InfiniBand */
错误3:
找不到mkcramfs
解决办法:
aptitude install cramfsprogs
--------------------------------------------------
在arm中查看telnetd服务是否开启办法:
#netstat -ant
显示没有telnetd,则telnetd服务没有开启