-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I'm getting this error when running mix firmware.
Erlang and Elixir versions:
Erlang/OTP 20 [erts-9.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
Interactive Elixir (1.5.2) - press Ctrl+C to exit (type h() ENTER for help)
My gcc version is:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1
Apple LLVM version 9.0.0 (clang-900.0.39.2)
Target: x86_64-apple-darwin17.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
My make version is:
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
The error I'm seeing:
==> squitter
rm -f priv/modes.so
/Users/robert/.nerves/artifacts/nerves_toolchain_arm_unknown_linux_gnueabihf-0.10.0.darwin-x86_64/bin/arm-unknown-linux-gnueabihf-gcc src/modes.c -I/Users/robert/.nerves/artifacts/nerves_system_rpi3_sdr-0.15.1.arm_unknown_linux_gnueabihf/staging/usr/lib/erlang/erts-9.0/include -I/Users/robert/.nerves/artifacts/nerves_system_rpi3_sdr-0.15.1.arm_unknown_linux_gnueabihf/staging/usr/lib/erlang/lib/erl_interface-3.10/include --sysroot=/Users/robert/.nerves/artifacts/nerves_system_rpi3_sdr-0.15.1.arm_unknown_linux_gnueabihf/staging -dynamiclib -undefined dynamic_lookup -O3 -pedantic -Wall -fPIC -shared -o priv/modes.so
arm-unknown-linux-gnueabihf-gcc: error: dynamic_lookup: No such file or directory
make: *** [priv/modes.so] Error 1
could not compile dependency :squitter, "mix compile" failed. You can recompile this dependency with "mix deps.compile squitter", update it with "mix deps.update squitter" or clean it with "mix deps.clean squitter"
==> squitter_firmware
** (Mix) Could not compile with "make" (exit status: 2).
Depending on your OS, make sure to follow these instructions:
* Mac OS X: You need to have gcc and make installed. Try running the
commands "gcc --version" and / or "make --version". If these programs
are not installed, you will be prompted to install them.
* Linux: You need to have gcc and make installed. If you are using
Ubuntu or any other Debian-based system, install the packages
"build-essential". Also install "erlang-dev" package if not
included in your Erlang/OTP version. If you're on Fedora, run
"dnf group install 'Development Tools'".
Metadata
Metadata
Assignees
Labels
No labels