I am trying to compile the latest main branch, but the build fails with:
/usr/bin/ld: libpcm.a(libpcm_a-SampleFormat.o): relocation R_X86_64_32S against `.rodata._Z23sample_format_to_string12SampleFormat' can not be used when making a PIE object; recompile with -fPIC
commit 1155a2909620f53237f8cf13056eb31496ee78f6 (HEAD -> master, origin/master, origin/HEAD)
Merge: 030e60394 9c1bf9ac5
Author: Max Kellermann <firstname.lastname@example.org>
Date: Mon Oct 8 21:16:52 2018 +0200
This is on Ubuntu 18.04.1
I'm not sure what other system info would be helpful, but I am happy to provide anything I can.
Running `make clean`
Seems to have worked
Need help with MPD?
2 posts • Page 1 of 1
Maybe you upgraded your toolchain since the previous build, and the new one has different defaults. If anything fails, always rebuild from clean.