"undefined reference" build errors
NetSysFire opened this issue · comments
I can not get it to build (on Arch Linux) because ld
complains about tons of undefined references. In fact, it is almost 2000 lines so I had to put the output into a separate logfile.
ember-build.log
I used the following commands to build:
cd $srcdir/ember
conan remote add worldforge https://artifactory.ogenvik.org/artifactory/api/conan/conan --force
mkdir -p build && cd build
CONAN_REVISIONS_ENABLED=1 conan install .. --build missing
cmake ..
make all media-download
Which is what the README says. CONAN_REVISIONS_ENABLED=1
is required for conan because otherwise it errors out before installing any modules, I just followed the instructions in the error I got. --force
is also required or it errors out when the remote was already added. -j
is configured somewhere else on my system, so I removed it from the make
command, this has no effect on the outcome.
Sorry I missed this. This is probably because Conan is setup to use the older GCC ABI, which conflicts with the ABI of your compiler.
See https://docs.conan.io/en/latest/howtos/manage_gcc_abi.html on how to fix it.
Thanks! This resolves the build errors. Because I have no idea about conan, is this a pure conan issue or would it make sense to mention that in the installations instructions?
It's a purely Conan issue. I don't really know why they use this older ABI by default; no major distro for the last couple of years have used it.
Alright then. Thanks for the help. I will close this as this is out of scope for this repo.