crypt.h: No such file or directory

Xabier Oneca -- xOneca xoneca at gmail.com
Fri Jul 12 22:37:13 UTC 2019


Hello Doug,

> 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.

I have crypt.h in /usr/include, provided by libxcrypt-devel package.
That package name is from OpenSUSE, not sure how it's named in Yocto.

HTH,

Xabier Oneca_,,_


More information about the busybox mailing list