Skip to content

Instantly share code, notes, and snippets.

@jarolrod
Created April 13, 2021 02:00
Show Gist options
  • Save jarolrod/7bf12fcb958e93bac5ff5e2283cbae06 to your computer and use it in GitHub Desktop.
Save jarolrod/7bf12fcb958e93bac5ff5e2283cbae06 to your computer and use it in GitHub Desktop.
ld: warning: ignoring file /Users/xyz/Code/Bitcoin/test-arm-cross/bitcoin/depends/arm-apple-darwin20/lib/libQt5Widgets.a, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
Undefined symbols for architecture x86_64:
"qt_static_plugin_QMinimalIntegrationPlugin()", referenced from:
__GLOBAL__sub_I_conftest.cpp in conftest-21ae14.o
"qRegisterStaticPluginFunction(QStaticPlugin)", referenced from:
__GLOBAL__sub_I_conftest.cpp in conftest-21ae14.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:29416: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Bitcoin Core"
| #define PACKAGE_TARNAME "bitcoin"
| #define PACKAGE_VERSION "21.99.0"
| #define PACKAGE_STRING "Bitcoin Core 21.99.0"
| #define PACKAGE_BUGREPORT "https://github.com/bitcoin/bitcoin/issues"
| #define PACKAGE_URL "https://bitcoincore.org/"
| #define HAVE_CXX17 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define USE_ASM 1
| #define ENABLE_SSE41 1
| #define ENABLE_AVX2 1
| #define ENABLE_SHANI 1
| #define HAVE___INT128 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD 1
| #define HAVE_DECL_STRERROR_R 1
| #define HAVE_STRERROR_R 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_SYS_VMMETER_H 1
| #define HAVE_DECL_GETIFADDRS 1
| #define HAVE_DECL_FREEIFADDRS 1
| #define HAVE_DECL_STRNLEN 1
| #define HAVE_DECL_FORK 1
| #define HAVE_DECL_SETSID 1
| #define HAVE_DECL_PIPE2 0
| #define HAVE_DECL_LE16TOH 0
| #define HAVE_DECL_LE32TOH 0
| #define HAVE_DECL_LE64TOH 0
| #define HAVE_DECL_HTOLE16 0
| #define HAVE_DECL_HTOLE32 0
| #define HAVE_DECL_HTOLE64 0
| #define HAVE_DECL_BE16TOH 0
| #define HAVE_DECL_BE32TOH 0
| #define HAVE_DECL_BE64TOH 0
| #define HAVE_DECL_HTOBE16 0
| #define HAVE_DECL_HTOBE32 0
| #define HAVE_DECL_HTOBE64 0
| #define HAVE_DECL_BSWAP_16 0
| #define HAVE_DECL_BSWAP_32 0
| #define HAVE_DECL_BSWAP_64 0
| #define HAVE_BUILTIN_CLZL 1
| #define HAVE_BUILTIN_CLZLL 1
| #define HAVE_DEFAULT_VISIBILITY_ATTRIBUTE 1
| #define HAVE_THREAD_LOCAL 1
| #define HAVE_GMTIME_R 1
| #define HAVE_GETENTROPY_RAND 1
| #define HAVE_SYSCTL 1
| #define HAVE_FDATASYNC 0
| #define HAVE_O_CLOEXEC 1
| #define HAVE_STD__SYSTEM 1
| #define HAVE_SYSTEM HAVE_STD__SYSTEM || HAVE_WSYSTEM
| #define QT_STATICPLUGIN 1
| /* end confdefs.h. */
|
| #include <QtPlugin>
| Q_IMPORT_PLUGIN(QMinimalIntegrationPlugin)
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:29420: result: no
configure:29430: error: QMinimalIntegrationPlugin not found.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment