aloof-angle-91616
04/30/2020, 1:56 AM= note: ld: warning: ignoring file /Users/dmcclanahan/tools/p1/src/rust/engine/target/debug/build/engine_cffi-0cfc0b2057922e53/out/libnative_engine_ffi.a, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 )
Undefined symbols for architecture x86_64:
"_wrapped_PyInit_native_engine", referenced from:
_PyInit_native_engine in engine_cffi.2e9skz2skowhnlv2.rcgu.o
"_wrapped_initnative_engine", referenced from:
_initnative_engine in engine_cffi.2e9skz2skowhnlv2.rcgu.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
does anyone know when this might happen? for what it's worth, libnative_engine_ffi.a
is a normal ar
archive, and it contains native_engine.so
, which is definitely a mach-o x86_64 file:
X> file /Users/dmcclanahan/tools/p1/src/rust/engine/target/debug/build/engine_cffi-0cfc0b2057922e53/out/src/cffi/native_engine.o
/Users/dmcclanahan/tools/p1/src/rust/engine/target/debug/build/engine_cffi-0cfc0b2057922e53/out/src/cffi/native_engine.o: Mach-O 64-bit object x86_64
not sure if this is possibly due to missing macosx-version-min
value? investigating