add httpd to busybox

60 views
Skip to first unread message

TianJian Wu

unread,
Jan 24, 2018, 6:39:38 AM1/24/18
to Android-x86
Hi ,

Does anyone know how to add busybox command?  In my case I want to add httpd.

I tried 'make menuconfig' in external/busybox but it does not work. 


Antony Stone

unread,
Jan 24, 2018, 6:52:00 AM1/24/18
to andro...@googlegroups.com
According to https://busybox.net/FAQ.html#configure you should do "make
defconfig" or "make allnoconfig" followed by "make menuconfig".

If that doesn't help, give us a bit more detail about what happens rather than
just "it does not work".


Antony.

--
"It would appear we have reached the limits of what it is possible to achieve
with computer technology, although one should be careful with such statements;
they tend to sound pretty silly in five years."

- John von Neumann (1949)

Please reply to the list;
please *don't* CC me.

TianJian Wu

unread,
Jan 24, 2018, 10:16:43 PM1/24/18
to Android-x86
in external/busybox/README it says, "
- lunch your device to prepare the environment
- edit the wanted config profile (ie busybox-full.config)
- type "mma" in external/busybox to build with the dependencies  "

>. build/envsetup.sh
>  lunch android_x86_64-eng
> cd external/busybox ; mma

In file included from scripts/kconfig/zconf.tab.c:152:0:
scripts/kconfig/zconf.hash.c:155:43: warning: ‘kconf_id_strings_contents’ is static but used in inline function ‘kconf_id_lookup’ which is not static
 #define kconf_id_strings ((const char *) &kconf_id_strings_contents)
                                           ^
scripts/kconfig/zconf.hash.c:222:44: note: in expansion of macro ‘kconf_id_strings’
               register const char *s = o + kconf_id_strings;
                                            ^
scripts/kconfig/zconf.hash.c:215:26: warning: ‘kconf_id_hash’ is static but used in inline function ‘kconf_id_lookup’ which is not static
       register int key = kconf_id_hash (str, len);
                          ^
scripts/kconfig/zconf.hash.c:171:26: warning: ‘wordlist’ is static but declared in inline function ‘kconf_id_lookup’ which is not static
   static struct kconf_id wordlist[] =
                          ^
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -s Config.in
***
*** You have not yet configured busybox!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make defconfig").
***


Antony Stone於 2018年1月24日星期三 UTC+8下午7時52分00秒寫道:
Reply all
Reply to author
Forward
0 new messages