The flowwing message appear when I build busybox (with ubiattach and
ubidetach enabled) 1.18.0

--------------------------------
  CC      miscutils/ubi_attach_detach.o
/home/zzs/work/repos/busybox/miscutils/ubi_attach_detach.c: In function 
'ubi_attach_detach_main':
/home/zzs/work/repos/busybox/miscutils/ubi_attach_detach.c:56: error: storage 
size of 'req' isn't known
/home/zzs/work/repos/busybox/miscutils/ubi_attach_detach.c:59: error: 
'UBI_DEV_NUM_AUTO' undeclared (first use in this function)
/home/zzs/work/repos/busybox/miscutils/ubi_attach_detach.c:59: error: (Each 
undeclared identifier is reported only once
/home/zzs/work/repos/busybox/miscutils/ubi_attach_detach.c:59: error: for each 
function it appears in.)
/home/zzs/work/repos/busybox/miscutils/ubi_attach_detach.c:78: error: 
'UBI_IOCATT' undeclared (first use in this function)
/home/zzs/work/repos/busybox/miscutils/ubi_attach_detach.c:83: error: 
'UBI_IOCDET' undeclared (first use in this function)
/home/zzs/work/repos/busybox/miscutils/ubi_attach_detach.c:56: warning: unused 
variable 'req'
make[2]: *** [miscutils/ubi_attach_detach.o] Error 1
make[1]: *** [miscutils] Error 2
make: *** [all] Error 2
--------------------------------

I google it, and get some info : it seems the header files in eldk4.2 are too 
old.

Any suggestion ?

Thanks

-- 
Best Regards,
zzs


_______________________________________________
eldk mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/eldk

Reply via email to