compile with errors
Cristian Ionescu-Idbohrn
cristian.ionescu-idbohrn at axis.com
Sat Oct 22 09:22:51 UTC 2011
On Sat, 22 Oct 2011, Parmenides wrote:
> 2011/10/22 Denys Vlasenko <vda.linux at googlemail.com>:
> > But kernel HEADERS are not.
>
> I have installed the kernel headers by executing
>
> make headers_install
>
> command within the top level directory of kernel source. Then, I went
> back to compile busybox and the above problem remains.
Inspired of:
http://lkml.org/lkml/2011/6/12/9
one way to resolve that could be:
--- a/miscutils/ubi_tools.c
+++ b/miscutils/ubi_tools.c
@@ -60,6 +60,10 @@
//kbuild:lib-$(CONFIG_UBIUPDATEVOL) += ubi_tools.o
#include "libbb.h"
+
+#ifndef __packed
+#define __packed __attribute__((packed))
+#endif
#include <mtd/ubi-user.h>
#define OPTION_M (1 << 0)
Cheers,
--
Cristian
More information about the busybox
mailing list