Busybox build problem

Denis Vlasenko vda.linux at googlemail.com
Thu Feb 1 22:21:40 UTC 2007


On Thursday 01 February 2007 07:26, Brion Finlay wrote:
> This seems like it should be a simple question that other people have had
> problems with, but I cannot get Busybox to build.  I have tried google-ing
> for similar problems, searching the mail archives, and reading the FAQs and
> all of the documentation, but I cannot figure out what is going on.
> 
> I am using a fairly fresh install of Ubuntu 6.1, and I have installed enough
> of the development packages to build a custom kernel.  (I mention this
> because Ubuntu does not preinstall many development packages, so it is
> possible I am still missing some, but I have installed quite a few.)
> 
> The GCC version is 4.1.2.
> sed is GNU Sed version 4.1.5
>
> Here are the compile problems that I get:
> 
> Busybox 1.4.1
> # make defconfig; make
> 
> ...
> include/bbconfigopts.h:1088: error: missing terminating " character
> (repeated for each line)
> include/bbconfigopts.h:1089: error: expected expression before ';' token
> make[1]: *** [miscutils/bbconfig.o] Error 1
> make: *** [miscutils] Error 2

gcc 4.1.1, glibc 2.4, gnu sed 4.1.5, bbox 1.4.1: 

# make defconfig; make
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  HOSTCC  scripts/kconfig/mconf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -d Config.in
/.local/tmp/busybox-1.4.1/scripts/defconfig:351:warning: trying to assign nonexistent symbol E2FSCK
/.local/tmp/busybox-1.4.1/scripts/defconfig:354:warning: trying to assign nonexistent symbol MKE2FS
/.local/tmp/busybox-1.4.1/scripts/defconfig:355:warning: trying to assign nonexistent symbol TUNE2FS
/.local/tmp/busybox-1.4.1/scripts/defconfig:356:warning: trying to assign nonexistent symbol E2LABEL
/.local/tmp/busybox-1.4.1/scripts/defconfig:357:warning: trying to assign nonexistent symbol FINDFS
/.local/tmp/busybox-1.4.1/scripts/defconfig:635:warning: symbol value '' invalid for FEATURE_COMMAND_HISTORY
*
* Busybox Configuration
*
*
* Busybox Settings
*
*
* General Configuration
*
See lots more (probably unnecessary) configuration options. (NITPICK) [N/y/?] n
Enable options for full-blown desktop systems (DESKTOP) [N/y/?] n
...
envdir (ENVDIR) [Y/n/?] y
softlimit (SOFTLIMIT) [Y/n/?] y
  SPLIT   include/autoconf.h -> include/config/*
  GEN     include/bbconfigopts.h
  HOSTCC  applets/usage
  GEN     include/usage_compressed.h
  CC      applets/applets.o
  CC      applets/busybox.o
...
  CC      util-linux/switch_root.o
  CC      util-linux/umount.o
  AR      util-linux/lib.a
  LINK    busybox_unstripped

include/bbconfigopts.h from build tree is attached.
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bbconfigopts.h
Type: text/x-chdr
Size: 16270 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070201/6425a36c/attachment-0002.h 


More information about the busybox mailing list