package/nvme: needs dynamic library
PATCH 1/1 package/nvme: needs dynamic library
Buildroot commit f75faf43506e5090857eb4a9d876d430ff34a972 bumped nvme from 1.12 to 2.15 which depends on dynamic library:
../libnvme-wrap.c:8:10: fatal error: dlfcn.h: No such file or directory
8 | #include <dlfcn.h>
Fixes:
https://autobuild.buildroot.net/results/5bc/5bccbbd7ad4ce4a6898f6bcfd0a92c09e61324ca/
Signed-off-by Bernd Kuhls <[email protected]>
--- package/nvme/Config.in | 5 +++++ package/petitboot/Config.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-)
package/nvme/Config.in +5 -0
@@ -1,5 +1,6 @@ config BR2_PACKAGE_NVME bool "nvme" + depends on !BR2_STATIC_LIBS # dlfcn.h depends on BR2_USE_MMU # libnvme select BR2_PACKAGE_LIBNVME help
@@ -7,3 +8,7 @@ config BR2_PACKAGE_NVME Express (optimized PCI Express SSD interface) devices. https://github.com/linux-nvme/nvme-cli + +comment "nvme needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + depends on BR2_USE_MMU
package/petitboot/Config.in +1 -1
@@ -3,7 +3,7 @@ config BR2_PACKAGE_PETITBOOT depends on BR2_PACKAGE_KEXEC_ARCH_SUPPORTS || BR2_PACKAGE_KEXEC_LITE_ARCH_SUPPORTS depends on BR2_USE_MMU # lvm2, agetty depends on BR2_USE_WCHAR # elfutils, kexec-lite - depends on !BR2_STATIC_LIBS # elfutils, kexec-lite, lvm2 + depends on !BR2_STATIC_LIBS # elfutils, kexec-lite, lvm2, nvme depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, kexec-lite, lvm2 depends on BR2_PACKAGE_HAS_UDEV depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 || !BR2_PACKAGE_KEXEC_ARCH_SUPPORTS # kexec
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bernd" == Bernd Kuhls <[email protected]> writes:
Buildroot commit
f75faf43506e5090857eb4a9d876d430ff34a972bumped nvme from 1.12 to 2.15 which depends on dynamic library:
Quoted 7 lines
../libnvme-wrap.c:8:10: fatal error:dlfcn.h: No such file or directory8 | #include <dlfcn.h>Fixes:
https://autobuild.buildroot.net/results/5bc/5bccbbd7ad4ce4a6898f6bcfd0a92c09e61324ca/Signed-off-by Bernd Kuhls <[email protected]>
Committed, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot