[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: Command `mount -a` causing repeated mounts
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2009-12-11 14:02:36
Message-ID: 1158166a0912110602y13988da0y62458b876081b74d () mail ! gmail ! com
[Download RAW message or body]

> I have a reduced configuration, but which includes mount, which fails at
> linking with
>        undefined reference to `find_mount_point'
> I'll have to try and figure out what's missing and where...  (the link
> failure is quite a confusing babble!)
>
> It looks like libbb/find_mount_point is only linked in on options _DF,
> _MKFS_MINIX, _FSCK_MINIX, guess we need to add _MOUNT.  Try this patch,
> seems to work ok for me:
>
>
> commit 6d9527f44b9d21d6252c9dfd9e85597aa4e13a8c
> Author: Michael Abbott <michael.abbott@diamond.ac.uk>
> Date:   Fri Dec 11 13:40:15 2009 +0000
>
>    Mount: Add dependency on find_mount_point
>
>    Signed-off-by: Michael Abbott <michael.abbott@diamond.ac.uk>
>
> diff --git a/libbb/Kbuild b/libbb/Kbuild
> index 130ad25..c099570 100644
> --- a/libbb/Kbuild
> +++ b/libbb/Kbuild
> @@ -146,6 +146,7 @@ lib-$(CONFIG_FEATURE_HTTPD_AUTH_MD5) += pw_encrypt.o
>  lib-$(CONFIG_DF) += find_mount_point.o
>  lib-$(CONFIG_MKFS_MINIX) += find_mount_point.o
>  lib-$(CONFIG_FSCK_MINIX) += find_mount_point.o
> +lib-$(CONFIG_MOUNT) += find_mount_point.o


Applied, thanks!
--
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic