Skip to content

Failed <<< stereo_image_proc /usr/bin/ld: /usr/local/lib/libtinyxml2.a(tinyxml2.cpp.o): relocation R_X86_64_PC32 #106

@liyang53719

Description

@liyang53719

when I was install krs, after source
colcon build --merge-install

log:


Finished <<< image_proc [43.5s]
Starting >>> perception_2nodes
Starting >>> stereo_image_proc
Starting >>> image_pipeline_examples
Starting >>> image_proc_adaptive
Finished <<< perception_2nodes [0.83s]
Starting >>> perception_3nodes
Finished <<< image_proc_adaptive [1.48s]
Finished <<< perception_3nodes [1.50s]
Finished <<< image_pipeline_examples [6.60s]
--- stderr: stereo_image_proc
/usr/bin/ld: /usr/local/lib/libtinyxml2.a(tinyxml2.cpp.o): warning: relocation against _ZN8tinyxml27XMLUtil14writeBoolFalseE' in read-only section .text'
/usr/bin/ld: /usr/local/lib/libtinyxml2.a(tinyxml2.cpp.o): relocation R_X86_64_PC32 against symbol `_ZN8tinyxml27XMLUtil13writeBoolTrueE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/stereo_image_proc.dir/build.make:337: libstereo_image_proc.so] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:141: CMakeFiles/stereo_image_proc.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

Failed <<< stereo_image_proc [14.5s, exited with code 2]

Summary: 33 packages finished [1min 2s]
1 package failed: stereo_image_proc
8 packages had stderr output: accelerated_doublevadd_publisher accelerated_vadd_publisher camera_calibration image_proc image_publisher image_rotate stereo_image_proc vitis_common
1 package not processed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions