Created
July 13, 2020 21:12
-
-
Save yaahc/4f49493ce853be393c8cc5ea57612ef3 to your computer and use it in GitHub Desktop.
cargo cc compiler error
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
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "depend/bitcoin/src" "-I" "depend/bitcoin/depends/x86_64-unknown-linux-gnu/include" "-Wall" "-Wextra" "-o" "/home/jlusby/git/zfnd/zcashconsensus/target/debug/build/bitcoinconsensus-10d848f2845186e9/out/depend/zcash/src/script/zcashconsensus.o" "-c" "depend/zcash/src/script/zcashconsensus.cpp" | |
cargo:warning=In file included from /usr/include/x86_64-linux-gnu/sys/types.h:176, | |
cargo:warning= from /usr/include/stdlib.h:394, | |
cargo:warning= from /usr/include/c++/9/cstdlib:75, | |
cargo:warning= from /usr/include/c++/9/ext/string_conversions.h:41, | |
cargo:warning= from /usr/include/c++/9/bits/basic_string.h:6493, | |
cargo:warning= from /usr/include/c++/9/string:55, | |
cargo:warning= from /usr/include/c++/9/stdexcept:39, | |
cargo:warning= from depend/bitcoin/src/uint256.h:11, | |
cargo:warning= from depend/bitcoin/src/consensus/params.h:9, | |
cargo:warning= from depend/bitcoin/src/consensus/upgrades.h:8, | |
cargo:warning= from depend/zcash/src/script/zcashconsensus.cpp:8: | |
cargo:warning=depend/bitcoin/src/compat/endian.h:111:17: error: redefinition of ‘uint16_t __bswap_16(uint16_t)’ | |
cargo:warning= 111 | inline uint16_t htobe16(uint16_t host_16bits) | |
cargo:warning= | ^~~~~~~ | |
cargo:warning=In file included from /usr/include/endian.h:35, | |
cargo:warning= from /usr/include/x86_64-linux-gnu/sys/types.h:176, | |
cargo:warning= from /usr/include/stdlib.h:394, | |
cargo:warning= from /usr/include/c++/9/cstdlib:75, | |
cargo:warning= from /usr/include/c++/9/ext/string_conversions.h:41, | |
cargo:warning= from /usr/include/c++/9/bits/basic_string.h:6493, | |
cargo:warning= from /usr/include/c++/9/string:55, | |
cargo:warning= from /usr/include/c++/9/stdexcept:39, | |
cargo:warning= from depend/bitcoin/src/uint256.h:11, | |
cargo:warning= from depend/bitcoin/src/consensus/params.h:9, | |
cargo:warning= from depend/bitcoin/src/consensus/upgrades.h:8, | |
cargo:warning= from depend/zcash/src/script/zcashconsensus.cpp:8: | |
cargo:warning=/usr/include/x86_64-linux-gnu/bits/byteswap.h:34:1: note: ‘__uint16_t __bswap_16(__uint16_t)’ previously defined here | |
cargo:warning= 34 | __bswap_16 (__uint16_t __bsx) | |
cargo:warning= | ^~~~~~~~~~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment