Closed AngryPenguinPL closed 1 year ago
It tells you how to fix the error: recompile with -fPIC
. So try passing -DCMAKE_POSITION_INDEPENDENT_CODE=ON
to cmake.
Looking at the build log, -DBUILD_SHARED_LIBS:BOOL=ON
is being passed, which looks like it's cargo-culted from somewhere because Drawpile doesn't and has never built shared libraries. It only uses static and object libraries, the latter of which get broken if you pass this flag. Remove the flag and it should work.
Thanks
Hi. When trying to compile Drawpile 2.2.0 beta I see this build error:
Full build log: https://file-store.openmandriva.org/api/v1/file_stores/454a142c4b0261541d8b10f04b5c384c37711820.log?show=true
Last good build was on drawpile 2.2.0 beta3. From beta 4 to 7 the error started popping up.
Details: OS: OpenMandriva Cooker Compiler: LLVM/Clang 16.0.6 Linker: LLD cmake 3.27.3 rust 1.71.1