Solution to some errors in compiling the root file system in busybox

Source: Internet
Author: User

Error 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 _ 0''
Miscutils/taskset. C: 124: Warning: Implicit declaration of function 'cpu _ set''

Solution:

Go to make menuconfig:
In miscellaneous utilities --->
[] Taskset
Remove the asterisks.

Error 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

Solution:

Add in networking/interface. c
# Define arphrd_infiniband 32/* InfiniBand */

Error 3:

Mkcramfs not found

Solution:
Aptitude install cramfsprogs

--------------------------------------------------

In arm, check whether the Telnetd service is enabled:
# Netstat-ant
If no telnetd is displayed, the Telnetd service is not enabled.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.