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

error adding symbols: File in wrong format #71

Open
Wingmore opened this issue Aug 26, 2020 · 1 comment
Open

error adding symbols: File in wrong format #71

Wingmore opened this issue Aug 26, 2020 · 1 comment

Comments

@Wingmore
Copy link

Wingmore commented Aug 26, 2020

I'm having a great deal of trouble trying to install svo.
I've managed to get to this stage through a lot of googling, but now im treated with the following:

Running catkin build:

Found '6' packages in 0.1 seconds.
Starting ==> catkin_simple
Starting ==> cv_bridge
Starting ==> image_geometry
Starting ==> opencv_tests
Starting ==> vision_opencv
Finished <== catkin_simple [ 1.7 seconds ]
Finished <== opencv_tests [ 2.1 seconds ]
Finished <== vision_opencv [ 2.4 seconds ]
Finished <== image_geometry [ 6.7 seconds ]
Finished <== cv_bridge [ 11.0 seconds ]
Starting ==> svo_ros

[svo_ros] ==> '/home/bravo/svo_install_overlay_ws/build/svo_ros/build_env.sh /usr/bin/make --jobserver-fds=3,5 -j' in '/home/bravo/svo_install_overlay_ws/build/svo_ros'
make: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
[ 0%] Built target svo_msgs_generate_messages_cpp
[ 0%] Built target topic_tools_generate_messages_nodejs

...

[ 0%] Built target tf2_msgs_generate_messages_nodejs
[ 0%] Built target bond_generate_messages_nodejs
[ 11%] Linking CXX shared library /home/bravo/svo_install_overlay_ws/devel/lib/libsvo_ros.so
/home/bravo/svo_install_ws/install/lib/libsvo.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
CMakeFiles/svo_ros.dir/build.make:423: recipe for target '/home/bravo/svo_install_overlay_ws/devel/lib/libsvo_ros.so' failed
make[2]: *** [/home/bravo/svo_install_overlay_ws/devel/lib/libsvo_ros.so] Error 1
CMakeFiles/Makefile2:419: recipe for target 'CMakeFiles/svo_ros.dir/all' failed
make[1]: *** [CMakeFiles/svo_ros.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
[svo_ros] <== '/home/bravo/svo_install_overlay_ws/build/svo_ros/build_env.sh /usr/bin/make --jobserver-fds=3,5 -j' failed with return code '2'

Failed <== svo_ros [ 10.9 seconds ]
[build] There were '1' errors:

Failed to build package 'svo_ros' because the following command:

Command to reproduce:

cd /home/bravo/svo_install_overlay_ws/build/svo_ros && /home/bravo/svo_install_overlay_ws/build/svo_ros/build_env.sh /usr/bin/make --jobserver-fds=3,5 -j; cd -

Path to log:

cat /home/bravo/svo_install_overlay_ws/build/build_logs/svo_ros.log

Exited with return code: 2

The error seems to be this line:
/home/bravo/svo_install_ws/install/lib/libsvo.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status

@loseyourself-gan
Copy link

Hello, I have the same problem. Have you solved it?

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