On Saturday 22 October 2011 04:00, Parmenides wrote:
> Hi,
> 
>      I have downloaded the 1.19.2 version busybox and did 'make
> defconfig' to configure it. When compiling, I got these error
> messages:
> 
> ... ... ...
> 
>   CC      miscutils/strings.o
>   CC      miscutils/time.o
>   CC      miscutils/timeout.o
>   CC      miscutils/ttysize.o
>   CC      miscutils/ubi_tools.o
> miscutils/ubi_tools.c: In function 'ubi_tools_main':
> miscutils/ubi_tools.c:133: error: 'UBI_DEV_NUM_AUTO' undeclared (first
> use in this function)
> miscutils/ubi_tools.c:133: error: (Each undeclared identifier is
> reported only once
> miscutils/ubi_tools.c:133: error: for each function it appears in.)
> miscutils/ubi_tools.c:153: error: storage size of 'req' isn't known
> miscutils/ubi_tools.c:161: error: 'UBI_IOCATT' undeclared (first use
> in this function)
> miscutils/ubi_tools.c:153: warning: unused variable 'req'
> miscutils/ubi_tools.c:167: error: 'UBI_IOCDET' undeclared (first use
> in this function)
> make[1]: *** [miscutils/ubi_tools.o] Error 1
> make: *** [miscutils] Error 2
> 
> How can I resolve the problem? Thx.

Remove these lines in .config:

CONFIG_UBIATTACH=y
CONFIG_UBIDETACH=y
CONFIG_UBIMKVOL=y
CONFIG_UBIRMVOL=y
CONFIG_UBIRSVOL=y
CONFIG_UBIUPDATEVOL=y

run "make" and answer N to questions whether you want these applets.

-- 
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to