Ask questionsFailed to make install on FreeBSD
Failed to install on FreeBSD 12.0-RELEASE. I was running c-lightning v0.7.1-30-ga6516f4 and decided to upgrade to the latest version (v0.7.2.1) from github yesterday. with no luck. To ./configure this time, there were new additional dependencies required: py36-mako and gettext, so i've installed them. After that, ./configure & gmake executed fine, but failed on gmake install.
_/usr/bin/ld: error: undefined symbol: __start_xautodata_db_backends
>>> referenced by db.c:662 (wallet/db.c:662)
>>> wallet/db.o:(db_config_find)
/usr/bin/ld: error: undefined symbol: __stop_xautodata_db_backends
>>> referenced by db.c:662 (wallet/db.c:662)
>>> wallet/db.o:(db_config_find)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [Makefile:390: lightningd/lightningd] Error 1_
Answer
questions
reablaz
gmake actually failed as well with error:
/usr/bin/ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [<builtin>: tools/test/gen_test.c.tmp] Error 1
gmake: *** [tools/test/Makefile:40: tools/test/gen_test.c] Error 1
rm external/libwally-core/src/secp256k1/libsecp256k1.la tools/test/gen_test.c.tmp.c
here's the full trace:
Related questions