Created
April 15, 2019 13:21
-
-
Save lorepieri8/c20dd7dd908e2ce8da7d74db38faa050 to your computer and use it in GitHub Desktop.
ninja build error QEMU
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lorenzo@MacBook-Air-di-Lorenzo ~/gitHubRepo/nov7zephyr $ export GNUARMEMB_TOOLCHAIN_PATH="~/opt/gcc-arm-none-eabi-7-2018-q2-update/" | |
lorenzo@MacBook-Air-di-Lorenzo ~/gitHubRepo/nov7zephyr $ export ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb | |
lorenzo@MacBook-Air-di-Lorenzo ~/gitHubRepo/nov7zephyr $ | |
lorenzo@MacBook-Air-di-Lorenzo ~/gitHubRepo/nov7zephyr $ source zephyr-env.sh | |
-bash: zephyr-env.sh: No such file or directory | |
lorenzo@MacBook-Air-di-Lorenzo ~/gitHubRepo/nov7zephyr $ cd zephyr/ | |
lorenzo@MacBook-Air-di-Lorenzo ~/gitHubRepo/nov7zephyr/zephyr $ source zephyr-env.sh | |
lorenzo@MacBook-Air-di-Lorenzo ~/gitHubRepo/nov7zephyr/zephyr $ cd samples/anyledger/anyledger-wallet/ | |
lorenzo@MacBook-Air-di-Lorenzo ~/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet $ cd build/ | |
lorenzo@MacBook-Air-di-Lorenzo ~/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build $ ls | |
lorenzo@MacBook-Air-di-Lorenzo ~/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build $ cmake -GNinja -DBOARD=qemu_cortex_m3 -DBUILD_XCOMPILE=1 ../ | |
-- Found PythonInterp: /Users/lorenzo/anaconda/bin/python3 (found suitable version "3.6", minimum required is "3") | |
-- Found PythonInterp: /Users/lorenzo/anaconda/bin/python3 (found suitable version "3.6", minimum required is "3.4") | |
-- Selected BOARD qemu_cortex_m3 | |
Zephyr version: 1.13.99 | |
Parsing Kconfig tree in /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/Kconfig | |
Loading /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/boards/arm/qemu_cortex_m3/qemu_cortex_m3_defconfig as base | |
Merging /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/prj.conf | |
warning: DHT (defined at drivers/sensor/dht/Kconfig:9) was assigned the value 'y' but got the value | |
'n'. You can check symbol information (including dependencies) in the 'menuconfig' interface (see | |
the Application Development Primer section of the manual), or in the Kconfig reference at | |
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_DHT.html (which is updated regularly | |
from the master branch). See the 'Setting configuration values' section of the Board Porting Guide | |
as well. | |
warning: DHT_NAME (defined at drivers/sensor/dht/Kconfig:35) was assigned the value 'DHT11' but got | |
the value ''. You can check symbol information (including dependencies) in the 'menuconfig' | |
interface (see the Application Development Primer section of the manual), or in the Kconfig | |
reference at http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_DHT_NAME.html (which is | |
updated regularly from the master branch). See the 'Setting configuration values' section of the | |
Board Porting Guide as well. | |
warning: DHT_GPIO_DEV_NAME (defined at drivers/sensor/dht/Kconfig:42) was assigned the value | |
'GPIO_1' but got the value ''. You can check symbol information (including dependencies) in the | |
'menuconfig' interface (see the Application Development Primer section of the manual), or in the | |
Kconfig reference at | |
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_DHT_GPIO_DEV_NAME.html (which is | |
updated regularly from the master branch). See the 'Setting configuration values' section of the | |
Board Porting Guide as well. | |
warning: DHT_GPIO_PIN_NUM (defined at drivers/sensor/dht/Kconfig:49) was assigned the value '10' but | |
got the value ''. You can check symbol information (including dependencies) in the 'menuconfig' | |
interface (see the Application Development Primer section of the manual), or in the Kconfig | |
reference at http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_DHT_GPIO_PIN_NUM.html | |
(which is updated regularly from the master branch). See the 'Setting configuration values' section | |
of the Board Porting Guide as well. | |
warning: the choice symbol DHT_CHIP_DHT11 (defined at drivers/sensor/dht/Kconfig:23) was selected | |
(set =y), but no symbol ended up as the choice selection. You can check symbol information | |
(including dependencies) in the 'menuconfig' interface (see the Application Development Primer | |
section of the manual), or in the Kconfig reference at | |
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_DHT_CHIP_DHT11.html (which is updated | |
regularly from the master branch). See the 'Setting configuration values' section of the Board | |
Porting Guide as well. | |
-- git describe failed: fatal: No names found, cannot describe anything.; "1.13.99" will be used instead | |
-- Generating zephyr/include/generated/generated_dts_board.h | |
-- Cache files will be written to: /Users/lorenzo/Library/Caches/zephyr | |
-- The C compiler identification is GNU 7.3.1 | |
-- The CXX compiler identification is GNU 7.3.1 | |
-- The ASM compiler identification is GNU | |
-- Found assembler: /Users/lorenzo/opt/gcc-arm-none-eabi-7-2018-q2-update/bin/arm-none-eabi-gcc | |
-- Performing Test toolchain_is_ok | |
-- Performing Test toolchain_is_ok - Success | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build | |
lorenzo@MacBook-Air-di-Lorenzo ~/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build $ ninja | |
[167/209] Performing download step (git clone) for 'trezor-crypto-lib' | |
Cloning into 'trezor-crypto'... | |
Already on 'master' | |
Your branch is up to date with 'origin/master'. | |
Submodule 'tests/wycheproof' (https://github.com/google/wycheproof) registered for path 'tests/wycheproof' | |
Cloning into '/Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/thirdparty/trezor-crypto/tests/wycheproof'... | |
Submodule path 'tests/wycheproof': checked out '2904be69e9d666bf3064fdc15093747e695cfae6' | |
[170/209] Performing configure step for 'trezor-crypto-lib' | |
-- The C compiler identification is GNU 7.3.1 | |
-- The CXX compiler identification is AppleClang 9.1.0.9020039 | |
-- Checking whether C compiler has -isysroot | |
-- Checking whether C compiler has -isysroot - yes | |
-- Checking whether C compiler supports OSX deployment target flag | |
-- Checking whether C compiler supports OSX deployment target flag - no | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - failed | |
-- Detecting C compile features | |
-- Detecting C compile features - failed | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/trezor-crypto/src/trezor-crypto-lib-build | |
[171/209] Performing build step for 'trezor-crypto-lib' | |
[1/29] Building C object CMakeFiles/trezor-crypto.dir/address.c.o | |
[2/29] Building C object CMakeFiles/trezor-crypto.dir/base32.c.o | |
[3/29] Building C object CMakeFiles/trezor-crypto.dir/base58.c.o | |
[4/29] Building C object CMakeFiles/trezor-crypto.dir/bip39.c.o | |
/Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/thirdparty/trezor-crypto/bip39.c: In function 'mnemonic_to_seed': | |
/Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/thirdparty/trezor-crypto/bip39.c:187:23: warning: implicit declaration of function 'strnlen'; did you mean 'strlen'? [-Wimplicit-function-declaration] | |
int passphraselen = strnlen(passphrase, 256); | |
^~~~~~~ | |
strlen | |
[5/29] Building C object CMakeFiles/trezor-crypto.dir/cash_addr.c.o | |
[6/29] Building C object CMakeFiles/trezor-crypto.dir/curves.c.o | |
[7/29] Building C object CMakeFiles/trezor-crypto.dir/blake256.c.o | |
[8/29] Building C object CMakeFiles/trezor-crypto.dir/bip32.c.o | |
[9/29] Building C object CMakeFiles/trezor-crypto.dir/hasher.c.o | |
[10/29] Building C object CMakeFiles/trezor-crypto.dir/hmac.c.o | |
[11/29] Building C object CMakeFiles/trezor-crypto.dir/memzero.c.o | |
[12/29] Building C object CMakeFiles/trezor-crypto.dir/bignum.c.o | |
[13/29] Building C object CMakeFiles/trezor-crypto.dir/nist256p1.c.o | |
[14/29] Building C object CMakeFiles/trezor-crypto.dir/blake2s.c.o | |
[15/29] Building C object CMakeFiles/trezor-crypto.dir/nem.c.o | |
[16/29] Building C object CMakeFiles/trezor-crypto.dir/rand.c.o | |
[17/29] Building C object CMakeFiles/trezor-crypto.dir/rc4.c.o | |
[18/29] Building C object CMakeFiles/trezor-crypto.dir/pbkdf2.c.o | |
[19/29] Building C object CMakeFiles/trezor-crypto.dir/rfc6979.c.o | |
[20/29] Building C object CMakeFiles/trezor-crypto.dir/script.c.o | |
[21/29] Building C object CMakeFiles/trezor-crypto.dir/secp256k1.c.o | |
[22/29] Building C object CMakeFiles/trezor-crypto.dir/ecdsa.c.o | |
[23/29] Building C object CMakeFiles/trezor-crypto.dir/segwit_addr.c.o | |
[24/29] Building C object CMakeFiles/trezor-crypto.dir/groestl.c.o | |
[25/29] Building C object CMakeFiles/trezor-crypto.dir/sha3.c.o | |
[26/29] Building C object CMakeFiles/trezor-crypto.dir/ripemd160.c.o | |
[27/29] Building C object CMakeFiles/trezor-crypto.dir/sha2.c.o | |
[28/29] Building C object CMakeFiles/trezor-crypto.dir/blake2b.c.o | |
[29/29] Linking C static library libtrezor-crypto.a | |
[172/209] Performing install step for 'trezor-crypto-lib' | |
[0/1] Install the project... | |
-- Install configuration: "" | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/lib/libtrezor-crypto.a | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/address.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/base32.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/base58.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/bignum.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/bip32.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/bip39.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/bip39_english.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/blake256.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/blake2_common.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/blake2b.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/blake2s.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/cash_addr.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/check_mem.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/curves.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/ecdsa.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/groestl.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/groestl_internal.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/hasher.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/hmac.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/memzero.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/nem.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/nist256p1.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/options.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/pbkdf2.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/rand.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/rc4.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/rfc6979.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/ripemd160.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/script.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/secp256k1.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/segwit_addr.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/sha2.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/sha3.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/chacha20poly1305/chacha20poly1305.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/chacha20poly1305/ecrypt-config.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/chacha20poly1305/ecrypt-machine.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/chacha20poly1305/ecrypt-portable.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/chacha20poly1305/ecrypt-sync.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/chacha20poly1305/ecrypt-types.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/chacha20poly1305/poly1305-donna-32.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/chacha20poly1305/poly1305-donna.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/chacha20poly1305/rfc7539.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/ed25519-donna/curve25519-donna-32bit.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/ed25519-donna/curve25519-donna-helpers.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/ed25519-donna/curve25519-donna-scalarmult-base.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/ed25519-donna/ed25519-donna-32bit-tables.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/ed25519-donna/ed25519-donna-basepoint-table.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/ed25519-donna/ed25519-donna-impl-base.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/ed25519-donna/ed25519-donna-portable.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/ed25519-donna/ed25519-donna.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/ed25519-donna/ed25519-hash-custom-keccak.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/ed25519-donna/ed25519-hash-custom-sha3.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/ed25519-donna/ed25519-hash-custom.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/ed25519-donna/ed25519-keccak.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/ed25519-donna/ed25519-sha3.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/ed25519-donna/ed25519.h | |
-- Installing: /Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/install/include/trezor-crypto/ed25519-donna/modm-donna-32bit.h | |
[202/209] Building C object CMakeFiles/app.dir/zephyr/keyfile.c.obj | |
zephyr/keyfile.c:1:9: note: #pragma message: PRIVATE KEY GENERATED USING random.random(). NOT SUITABLE FOR PRODUCTION USE | |
#pragma message("PRIVATE KEY GENERATED USING random.random(). NOT SUITABLE FOR PRODUCTION USE") | |
^~~~~~~ | |
[204/209] Linking C executable zephyr/zephyr_prebuilt.elf | |
FAILED: zephyr/zephyr_prebuilt.elf | |
: && ccache /Users/lorenzo/opt/gcc-arm-none-eabi-7-2018-q2-update/bin/arm-none-eabi-gcc zephyr/CMakeFiles/zephyr_prebuilt.dir/misc/empty_file.c.obj -o zephyr/zephyr_prebuilt.elf -T zephyr/linker.cmd -Wl,-Map=/Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/zephyr/zephyr.map -u_OffsetAbsSyms -u_ConfigAbsSyms -Wl,--whole-archive libapp.a zephyr/libzephyr.a zephyr/arch/arm/core/libarch__arm__core.a zephyr/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a zephyr/lib/libc/minimal/liblib__libc__minimal.a zephyr/subsys/net/libsubsys__net.a zephyr/subsys/net/l2/ethernet/libsubsys__net__l2__ethernet.a zephyr/subsys/net/ip/libsubsys__net__ip.a zephyr/subsys/net/lib/lwm2m/libsubsys__net__lib__lwm2m.a zephyr/subsys/net/lib/config/libsubsys__net__lib__config.a zephyr/subsys/net/lib/http/libsubsys__net__lib__http.a zephyr/drivers/serial/libdrivers__serial.a -Wl,--no-whole-archive zephyr/kernel/libkernel.a zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj -L"/Users/lorenzo/opt/gcc-arm-none-eabi-7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7-m" -L/Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/zephyr -lgcc -Wl,--print-memory-usage libwallet.a eth/libeth.a helpers/libhelpers.a -ltrezor-crypto -nostdlib -static -no-pie -Wl,-X -Wl,-N -Wl,--gc-sections -Wl,--build-id=none -Wl,--orphan-handling=warn && : | |
/Users/lorenzo/opt/gcc-arm-none-eabi-7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld: cannot find -ltrezor-crypto | |
collect2: error: ld returned 1 exit status | |
ninja: build stopped: subcommand failed. | |
lorenzo@MacBook-Air-di-Lorenzo ~/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build $ cp -a trezor-crypto/src/trezor-crypto-lib-build/libtrezor-crypto.a zephyr/ | |
lorenzo@MacBook-Air-di-Lorenzo ~/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build $ ninja | |
[1/6] Linking C executable zephyr/zephyr_prebuilt.elf | |
FAILED: zephyr/zephyr_prebuilt.elf | |
: && ccache /Users/lorenzo/opt/gcc-arm-none-eabi-7-2018-q2-update/bin/arm-none-eabi-gcc zephyr/CMakeFiles/zephyr_prebuilt.dir/misc/empty_file.c.obj -o zephyr/zephyr_prebuilt.elf -T zephyr/linker.cmd -Wl,-Map=/Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/zephyr/zephyr.map -u_OffsetAbsSyms -u_ConfigAbsSyms -Wl,--whole-archive libapp.a zephyr/libzephyr.a zephyr/arch/arm/core/libarch__arm__core.a zephyr/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a zephyr/lib/libc/minimal/liblib__libc__minimal.a zephyr/subsys/net/libsubsys__net.a zephyr/subsys/net/l2/ethernet/libsubsys__net__l2__ethernet.a zephyr/subsys/net/ip/libsubsys__net__ip.a zephyr/subsys/net/lib/lwm2m/libsubsys__net__lib__lwm2m.a zephyr/subsys/net/lib/config/libsubsys__net__lib__config.a zephyr/subsys/net/lib/http/libsubsys__net__lib__http.a zephyr/drivers/serial/libdrivers__serial.a -Wl,--no-whole-archive zephyr/kernel/libkernel.a zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj -L"/Users/lorenzo/opt/gcc-arm-none-eabi-7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7-m" -L/Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/zephyr -lgcc -Wl,--print-memory-usage libwallet.a eth/libeth.a helpers/libhelpers.a -ltrezor-crypto -nostdlib -static -no-pie -Wl,-X -Wl,-N -Wl,--gc-sections -Wl,--build-id=none -Wl,--orphan-handling=warn && : | |
Memory region Used Size Region Size %age Used | |
FLASH: 191300 B 256 KB 72.98% | |
SRAM: 50004 B 64 KB 76.30% | |
IDT_LIST: 56 B 2 KB 2.73libapp.a(compat.c.obj): In function `random32': | |
/Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build/../zephyr/compat.c:26: undefined reference to `sys_rand32_get' | |
zephyr/libzephyr.a(coap.c.obj): In function `coap_next_token': | |
/Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/subsys/net/lib/coap/coap.c:1484: undefined reference to `sys_rand32_get' | |
/Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/subsys/net/lib/coap/coap.c:1485: undefined reference to `sys_rand32_get' | |
zephyr/libzephyr.a(slip.c.obj): In function `slip_iface_init': | |
/Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/drivers/net/slip.c:488: undefined reference to `sys_rand32_get' | |
zephyr/subsys/net/ip/libsubsys__net__ip.a(net_context.c.obj): In function `find_available_port': | |
/Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/subsys/net/ip/net_context.c:98: undefined reference to `sys_rand32_get' | |
zephyr/subsys/net/ip/libsubsys__net__ip.a(net_if.c.obj):/Users/lorenzo/gitHubRepo/nov7zephyr/zephyr/subsys/net/ip/net_if.c:2008: more undefined references to `sys_rand32_get' follow | |
collect2: error: ld returned 1 exit status | |
% | |
ninja: build stopped: subcommand failed. | |
lorenzo@MacBook-Air-di-Lorenzo ~/gitHubRepo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment