You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The subject says it. It does not look like there's anything special in my environment, it's a pretty stock FreeBSD 11.1 amd64 installation.
After git clone, creating a temp dir and running cmake from it, make cbor is successful, but make cbor_shared fails with:
[ 95%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o
[100%] Linking C shared library libcbor.so
/usr/bin/ld: unrecognized option '-plugin'
/usr/bin/ld: use the --help option for usage information
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
The text was updated successfully, but these errors were encountered:
Hi @tobez , thanks for the report. libcbor's cmake never sets this, so this must be an issue with how cmake is configuring the build for your system. You can try looking at or setting the cmake linker flag variables (CMAKE_EXE_LINKER_FLAGS etc.) to see what is going on.
The subject says it. It does not look like there's anything special in my environment, it's a pretty stock FreeBSD 11.1 amd64 installation.
After git clone, creating a temp dir and running cmake from it, make cbor is successful, but make cbor_shared fails with:
[ 95%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o
[100%] Linking C shared library libcbor.so
/usr/bin/ld: unrecognized option '-plugin'
/usr/bin/ld: use the --help option for usage information
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
The text was updated successfully, but these errors were encountered: