crypt.h: No such file or directory
Doug Abbott
doug at intellimetrix.us
Fri Jul 12 21:35:44 UTC 2019
Hi all,
I'm trying to build BusyBox 1.30.1 defconfig for a Raspberry Pi 3 using
a cross tool chain from the Yocto project. Here are the last few lines
of the build:
CC libbb/perror_nomsg_and_die.o
CC libbb/pidfile.o
CC libbb/platform.o
CC libbb/print_flags.o
CC libbb/print_numbered_lines.o
CC libbb/printable.o
CC libbb/printable_string.o
CC libbb/process_escape_sequence.o
CC libbb/procps.o
CC libbb/progress.o
CC libbb/ptr_to_globals.o
CC libbb/pw_encrypt.o
libbb/pw_encrypt.c:9:10: fatal error: crypt.h: No such file or directory
#include <crypt.h>
^~~~~~~~~
compilation terminated.
make[1]: *** [libbb/pw_encrypt.o] Error 1
make: *** [libbb] Error 2
CROSS_COMPILER_PREFIX = arm-poky-linux-gnueabi-
SYSROOT = /opt/arm/sysroots/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi
EXTRA_CFLAGS = -march=armv7ve -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard
-mcpu=cortex-a7
Indeed, there is no crypt.h in the include path. I even tried turning on
USE_PORTABLE_CODE to no avail.
TIA, Doug
--
Doug Abbott
Principal Consultant, Intellimetrix
Linux for the Real World
575-590-2788
www.intellimetrix.us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20190712/65b77c66/attachment.html>
More information about the busybox
mailing list