💾 Archived View for bbs.geminispace.org › u › xavi › 14739 captured on 2024-05-26 at 16:16:54. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-05-10)

➡️ Next capture (2024-07-09)

🚧 View Differences

-=-=-=-=-=-=-

Comment by 🎵 xavi

Re: "I'm getting the following error: [100%] Linking C..."

In: s/Lagrange

Make sure to clean your build first (e.g.: with `make clean` or `ninja clean`, depending on which generator was chosen from CMake), then build with `cmake --build <build-dir> -v -j$(nproc --all)`.

🎵 xavi

Feb 06 · 4 months ago

Original Post

🌒 s/Lagrange

I'm getting the following error: [100%] Linking C executable lagrange /usr/bin/ld: lib/harfbuzz/libharfbuzz.a(harfbuzz.cc.o): relocation R_X86_64_32S against `.data' can not be used when making a PIE object; recompile with -fPIE collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/app.dir/build.make:1021: lagrange] Error 1 make[1]: *** [CMakeFiles/Makefile2:120: CMakeFiles/app.dir/all] Error 2 make: *** [Make[file link] all] Error 2 What do I do?

💬 zorg · 3 comments · Feb 04 · 4 months ago