Ubuntu8.10 compilation busybox1.2.0 Error

Source: Internet
Author: User
An error occurred while compiling busybox1.2.0 in Ubuntu8.10. After makemenuconfig is configured, make has the following error: GENinclude/bbconfigopts. hGEN. depend/media/Files/temp/linuette/busybox-1.2.0/include/bbconfigopts. h: 13hmm, unterminatedmak

An error occurred while compiling busybox1.2.0 in Ubuntu 8.10.

After make menuconfig is configured, the following error occurs in make:

GEN include/bbconfigopts. h

GEN. depend

/Media/Files/temp/linuette/busybox-1.2.0/include/bbconfigopts. h: 13 hmm, unterminated

Make [1]: *** [. depend] Error 1

Make: *** [_ all] Error 2

This is because of the awk/sed version of Ubuntu. Make the following changes:

Modify the file busybox-1.2.0/scripts/config/mkconfigs

Set

Echo "'sed's/\"/\\\\ "/G' $ config | grep" ^ #\? \? CONFIG _ "| awk '{print" \ "" $0 "\ n \\"";}''"

Change

# Echo "'sed's/\"/\\\\ "/G' $ config | grep" ^ #\? \? CONFIG _ "| awk '{print" \ "" $0 "\\"";}''"

OK.

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.