[Clfs-support] busybox-1.18.4 compile error.

Andrew Bradford bradfa at gmail.com
Wed Nov 9 04:03:42 PST 2011


Israr,

Since you're building Busybox, does that mean you've overcome the
previous issues you were having with building GCC?
If so, could you please reply to that thread and list what you found.
Others may have the same issue and providing your solution would be
helpful.

For this situation, please provide information about what
configuration you are using.

Thanks,
Andrew

On Sun, Nov 6, 2011 at 3:51 PM, sayed israr <sd.israr at gmail.com> wrote:
>
> hello all !
>
>    i am using clfs-embedded book for building my toolchain and busybox, in
> that i am using busybox-1.18.4 and as i try to compile i get the following
> error:
> [ i have built gcc-4.6.0 as well as uClibc-0.9.31.] :
>
> clfs at israr:/mnt/clfs/sources/
> busybox-1.18.4$ make CROSS_COMPILE="${CLFS_TARGET}-"
>   SPLIT   include/autoconf.h -> include/config/*
>   GEN     include/bbconfigopts.h
>   HOSTCC  applets/usage
> applets/usage.c: In function 'main':
> applets/usage.c:52: warning: ignoring return value of 'write', declared with
> attribute warn_unused_result
>   GEN     include/usage_compressed.h
>   HOSTCC  applets/applet_tables
> applets/applet_tables.c: In function 'main':
> applets/applet_tables.c:138: warning: ignoring return value of 'fgets',
> declared with attribute warn_unused_result
>   GEN     include/applet_tables.h
>   CC      applets/applets.o
> In file included from include/libbb.h:13:0,
>                  from include/busybox.h:10,
>                  from applets/applets.c:9:
> include/platform.h:164:23: fatal error: byteswap.h: No such file or
> directory
> compilation terminated.
> make[1]: *** [applets/applets.o] Error 1
> make: *** [applets_dir] Error 2
> /*********************************************/
>  plz help , thanks in advance
>
> israr



More information about the Clfs-support mailing list