Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing to cross compile for FreeBSD: fatal error: 'editline/readline.h' file not found #891

Open
zsoerenm opened this issue Nov 7, 2022 · 0 comments

Comments

@zsoerenm
Copy link

zsoerenm commented Nov 7, 2022

I failed to cross compile the freebsd binaries using x86_64-unknown-freebsd.

mkdir host/build
cd host/build
cmake -DCMAKE_INSTALL_PREFIX=$prefix\
  -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TARGET_TOOLCHAIN}\
  -DCMAKE_BUILD_TYPE=Release\
  -DENABLE_BACKEND_LIBUSB=TRUE ..
make

It fails with:

[08:34:32] /workspace/srcdir/bladeRF/host/utilities/bladeRF-cli/src/input/editline.c:23:10: fatal error: 'editline/readline.h' file not found
[08:34:32] #include <editline/readline.h>
[08:34:32]          ^~~~~~~~~~~~~~~~~~~~~
[08:34:32] 1 error generated.
[08:34:32] make[2]: *** [utilities/bladeRF-cli/CMakeFiles/bladeRF-cli.dir/build.make:654: utilities/bladeRF-cli/CMakeFiles/bladeRF-cli.dir/src/input/editline.c.o] Error 1
[08:34:32] make[2]: Leaving directory '/workspace/srcdir/bladeRF/host/build'
[08:34:32] make[1]: *** [CMakeFiles/Makefile2:1325: utilities/bladeRF-cli/CMakeFiles/bladeRF-cli.dir/all] Error 2

@zsoerenm zsoerenm changed the title Failing to cross compile for FreeBSD Failing to cross compile for FreeBSD: fatal error: 'editline/readline.h' file not found Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant