]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package/ltrace: Fix "unmet direct dependencies"
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 3 Aug 2014 11:36:32 +0000 (13:36 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 3 Aug 2014 12:37:04 +0000 (14:37 +0200)
Fixes build error in elfutils
http://autobuild.buildroot.net/results/37f/37f87ad7ba087d42d0001f55305f7468c2a172b6/

eblwstrtab.c:(.text+0x43): undefined reference to `wmempcpy'
eblwstrtab.c:(.text+0x1ba): undefined reference to `wcslen'
eblwstrtab.c:(.text+0x2df): undefined reference to `wmemcmp'

because ltrace did not take into account that elfutils depends on
BR2_LARGEFILE & BR2_USE_WCHAR. This is also visible here:

wget http://autobuild.buildroot.net/results/37f/37f87ad7ba087d42d0001f55305f7468c2a172b6/defconfig
make defconfig BR2_DEFCONFIG=defconfig

warning: (BR2_PACKAGE_LTRACE) selects BR2_PACKAGE_ELFUTILS which has unmet direct
dependencies (BR2_LARGEFILE && BR2_USE_WCHAR && !BR2_avr32 && !BR2_bfin)

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/ltrace/Config.in

index aee14bd001bcb06c1d0520a613dae3b3088e7602..4389210300bec816da61cc4e682536641e76e31c 100644 (file)
@@ -4,6 +4,8 @@ config BR2_PACKAGE_LTRACE
                || BR2_powerpc || BR2_sparc || BR2_x86_64)
        select BR2_PACKAGE_LIBELF
        select BR2_PACKAGE_ELFUTILS
+       depends on BR2_LARGEFILE # elfutils
+       depends on BR2_USE_WCHAR # elfutils
        help
          Debugging program which runs a specified command until it exits.
          While the command is executing, ltrace intercepts and records