Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to compile incremental_DuDe_ROS #1

Open
Super-Iron-Man opened this issue Aug 19, 2021 · 1 comment
Open

Failed to compile incremental_DuDe_ROS #1

Super-Iron-Man opened this issue Aug 19, 2021 · 1 comment

Comments

@Super-Iron-Man
Copy link

I'm trying to compile incremental_DuDe_ROS with ubuntu18.04 and I can't get pass this error

/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(api_functions.o): relocation R_X86_64_32 against .rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(compute.o): relocation R_X86_64_32 against .rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(data.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(desperate.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(ear_clip.o): relocation R_X86_64_32 against symbol numerics_h_p' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(elapsed.o): relocation R_X86_64_32 against symbol __gxx_personality_v0@@CXXABI_1.3' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(grid.o): relocation R_X86_64_32 against .rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(heap.o): relocation R_X86_64_32 against .rodata' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(io.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(list.o): relocation R_X86_64_32 against .rodata' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(memory.o): relocation R_X86_64_32 against .rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(misc.o): relocation R_X86_64_32 against symbol __gxx_personality_v0@@CXXABI_1.3' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(numerics.o): relocation R_X86_64_32 against .rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(orientation.o): relocation R_X86_64_32 against .rodata' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(quads.o): relocation R_X86_64_32 against .rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(sgo.o): relocation R_X86_64_32 against .bss' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(simple.o): relocation R_X86_64_32 against .rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(statistics.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(triangulate.o): relocation R_X86_64_32 against .rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(vertex.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(write_ipe.o): relocation R_X86_64_32 against .rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(bottleneck.o): relocation R_X86_64_32 against symbol numerics_h_p' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(bridge.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(clean_data.o): relocation R_X86_64_32 against symbol _Z6p_compPKvS0_' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(degenerate.o): relocation R_X86_64_32 against .rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(ipe_io.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(project.o): relocation R_X86_64_32 against .rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: 最后的链结失败: 输出不可表示的节
collect2: error: ld returned 1 exit status
CMakeFiles/inc_dude.dir/build.make:770: recipe for target 'devel/lib/inc_dude/inc_dude' failed
make[2]: *** [devel/lib/inc_dude/inc_dude] Error 1
CMakeFiles/Makefile2:1672: recipe for target 'CMakeFiles/inc_dude.dir/all' failed
make[1]: *** [CMakeFiles/inc_dude.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
`

I've seen that incremental_DuDe_ROS is using FIST.lib directly from a compiled version in the third party

@aaravrav142
Copy link

I have the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants