Hi,
I have same problem compiling with uClibc 0.9.29 as of 1.24 and fixed just adding a define too. util-linux/umount.c: In function 'umount_main': util-linux/umount.c:87: error: 'MNT_DETACH' undeclared (first use in this function) util-linux/umount.c:87: error: (Each undeclared identifier is reported only once util-linux/umount.c:87: error: for each function it appears in.) scripts/Makefile.build:197: recipe for target 'util-linux/umount.o' failed Cheers Rich On Tue, 2015-11-10 at 11:24 -0800, Lélio wrote: > Hello, > > glibc2.2+ is supported according to the FAQ, but the symbol > MNT_DETACH is not defined in sys/mount.h in glibc<2.10 > (this symbol is defined in the kernel (in fs.h) but has not been > ported to glibc). > > This prevents util-linux/umount.c from compiling. This regression has > been introduced by the commit c919d561ad. > > This is already worked around in init/bootchartd.c with a conditional > include. In order to avoid redundant code, it might be better to > fix this define in libbb.h. The attached patch fixes the issue. > > Best, > Lélio > > _______________________________________________ > busybox mailing list > [email protected] > http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
