Skip to content

Instantly share code, notes, and snippets.

View lorepieri8's full-sized avatar

lorepieri8

View GitHub Profile
lorenzo@MacBook-Air-di-Lorenzo ~/gitHubRepo/zephyr/samples/anyledger/anyledger-wallet/build $ cd trezor-crypto
lorenzo@MacBook-Air-di-Lorenzo ~/gitHubRepo/zephyr/samples/anyledger/anyledger-wallet/build/trezor-crypto $ cd src/trezor-crypto-lib-build/
lorenzo@MacBook-Air-di-Lorenzo ~/gitHubRepo/zephyr/samples/anyledger/anyledger-wallet/build/trezor-crypto/src/trezor-crypto-lib-build $ ninja clean && ninja -v
[1/1] Cleaning all built files...
Cleaning... 29 files.
[1/29] /Users/lorenzo/gcc-arm-none-eabi-7-2018-q2-update/bin/arm-none-eabi-gcc -DUSE_ETHEREUM=1 -DUSE_KECCAK=1 -I/Users/lorenzo/gitHubRepo/zephyr/samples/anyledger/anyledger-wallet/build/thirdparty/trezor-crypto/. -I/Users/lorenzo/gitHubRepo/zephyr/kernel/include -I/Users/lorenzo/gitHubRepo/zephyr/arch/arm/include -I/Users/lorenzo/gitHubRepo/zephyr/soc/arm/nordic_nrf/nrf52 -I/Users/lorenzo/gitHubRepo/zephyr/soc/arm/nordic_nrf/nrf52/include -I/Users/lorenzo/gitHubRepo/zephyr/soc/arm/nordic_nrf/include -I/Users/lorenzo/gitHubRepo/zephyr/boards/arm/nr
[1/243] Preparing syscall dependency handling
[201/243] 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/zephyr/samples/anyledger/anyledger-wallet/build/thirdparty/trezor-crypto/tests/wycheproof'...
Submodule path 'tests/wycheproof': checked out '2904be69e9d666bf3064fdc15093747e695cfae6'
[204/243] Performing configure step for 'trezor-crypto-lib'
lorenzo@MacBook-Air-di-Lorenzo ~/gitHubRepo/nov7Zephyr/zephyr/samples/anyledger/anyledger-wallet/build $ cmake -GNinja -DBOARD=nrf52840_pca10056 -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 nrf52840_pca10056
Zephyr version: 1.13.99
Parsing Kconfig tree in /Users/lorenzo/gitHubRepo/zephyr/Kconfig
Loading /Users/lorenzo/gitHubRepo/zephyr/boards/arm/nrf52840_pca10056/nrf52840_pca10056_defconfig as base
Merging /Users/lorenzo/gitHubRepo/nov7Zephyr/zephyr/samples/anyledger/anyledger-wallet/prj.conf
-- Generating zephyr/include/generated/generated_dts_board.h
nrf52840_pca10056.dts_compiled: Warning (unique_unit_address): /soc/i2c@40003000: duplicate unit-address (also used in node /soc/spi@40003000)
@lorepieri8
lorepieri8 / gist:7155215b698b066e8b806e6cbd4a7864
Created April 5, 2019 23:42
undefined reference to `keccak_256' error
lorenzo@MacBook-Air-di-Lorenzo ~/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/build $ cmake -GNinja -DBOARD=nrf52840_pca10056 -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 nrf52840_pca10056
Zephyr version: 1.13.99
Parsing Kconfig tree in /Users/lorenzo/nov7zephyr/zephyr/Kconfig
Loading /Users/lorenzo/nov7zephyr/zephyr/boards/arm/nrf52840_pca10056/nrf52840_pca10056_defconfig as base
Merging /Users/lorenzo/nov7zephyr/zephyr/samples/anyledger/anyledger-wallet/prj.conf
-- 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
@lorepieri8
lorepieri8 / error8
Created April 12, 2019 13:01
error8
lorenzo@MacBook-Air-di-Lorenzo ~/recentanyl/anyledger-wallet/build $ cmake -GNinja ../
-- Found PythonInterp: /Users/lorenzo/anaconda/bin/python3 (found suitable version "3.6", minimum required is "3")
-- The C compiler identification is AppleClang 9.1.0.9020039
-- The CXX compiler identification is AppleClang 9.1.0.9020039
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
@lorepieri8
lorepieri8 / library not found for -ltrezor-crypto
Created April 12, 2019 13:54
library not found for -ltrezor-crypto
lorenzo@MacBook-Air-di-Lorenzo ~/recentanyl/anyledger-wallet/build $ cmake -GNinja ../
-- Found PythonInterp: /Users/lorenzo/anaconda/bin/python3 (found suitable version "3.6", minimum required is "3")
-- The C compiler identification is AppleClang 9.1.0.9020039
-- The CXX compiler identification is AppleClang 9.1.0.9020039
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
@lorepieri8
lorepieri8 / ninja build error QEMU
Created April 15, 2019 13:21
ninja build error QEMU
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

Keybase proof

I hereby claim:

  • I am lorepieri8 on github.
  • I am lorepieri (https://keybase.io/lorepieri) on keybase.
  • I have a public key ASAbq6HXABpXkjj70ldMC_kaHrGc0Yhw50xkXrCopR9N4wo

To claim this, I am signing this object:

@lorepieri8
lorepieri8 / srdfdom
Created May 7, 2021 20:54
srdfdom error
colcon build --event-handlers desktop_notification- status- --cmake-args -DCMAKE_BUILD_TYPE=Release
Starting >>> urdfdom_headers
Starting >>> geometric_shapes
Starting >>> moveit_msgs
Starting >>> controller_manager_msgs
Starting >>> ros2_control_test_assets
Starting >>> moveit_resources_panda_description
Starting >>> moveit_resources_fanuc_description
Starting >>> moveit_resources_pr2_description
Finished <<< urdfdom_headers [0.28s]
$ colcon build --event-handlers desktop_notification- status- --cmake-args -DCMAKE_BUILD_TYPE=Release
Starting >>> moveit_core
--- stderr: moveit_core
/usr/bin/ld: CMakeFiles/test_distance_field.dir/test/test_distance_field.cpp.o: in function `TestSignedPropagationDistanceField_TestSignedAddRemovePoints_Test::TestBody()':
test_distance_field.cpp:(.text+0x6fa2): undefined reference to `void tf2::fromMsg<geometry_msgs::msg::Pose_<std::allocator<void> >, Eigen::Transform<double, 3, 1, 0> >(geometry_msgs::msg::Pose_<std::allocator<void> > const&, Eigen::Transform<double, 3, 1, 0>&)'
/usr/bin/ld: libmoveit_distance_field.so.2.0.0: undefined reference to `boost::iostreams::zlib::finish'
/usr/bin/ld: libmoveit_distance_field.so.2.0.0: undefined reference to `boost::iostreams::zlib::no_flush'
/usr/bin/ld: libmoveit_distance_field.so.2.0.0: undefined reference to `boost::iostreams::detail::zlib_base::xdeflate(int)'
/usr/bin/ld: libmoveit_distance_field.so.2.0.0: undefined reference to `boost::iostreams::detail::zlib_b