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.