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

[noetic] build error on RPi #129

Open
zzzzyp-sgg opened this issue Sep 4, 2023 · 1 comment
Open

[noetic] build error on RPi #129

zzzzyp-sgg opened this issue Sep 4, 2023 · 1 comment

Comments

@zzzzyp-sgg
Copy link

Hi, I try to build this program on my RPi4, and my system is Ubuntu20.04 + ROS noetic, when I run "catkin_make", errors will occur
/usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to dladdr@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to sem_trywait@GLIBC_2.34'
/usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to dlclose@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to sem_post@GLIBC_2.34'
/usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to dlerror@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to pthread_mutexattr_init@GLIBC_2.34'
/usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to pthread_key_create@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to pthread_detach@GLIBC_2.34'
/usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to pthread_setspecific@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to sem_close@GLIBC_2.34'
/usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to __libc_single_threaded@GLIBC_2.32' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to pthread_join@GLIBC_2.34'
/usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to pthread_mutex_trylock@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to dlsym@GLIBC_2.34'
/usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to pthread_getspecific@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to std::__throw_bad_array_new_length()@GLIBCXX_3.4.29'
/usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to pthread_key_delete@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to pthread_condattr_setclock@GLIBC_2.34'
/usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to sem_open@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to stat@GLIBC_2.33'
/usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to dlopen@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to pthread_mutexattr_settype@GLIBC_2.34'
/usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to pthread_create@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to pthread_mutexattr_destroy@GLIBC_2.34'
collect2: error: ld returned 1 exit status
make: *** [Makefile:53: Acquisition] Error 1

Do you know how to solve this problem?Thanks!

@zzzzyp-sgg
Copy link
Author

I changed to a lower version of the Spinnaker library and the problem was resolved. The problem was probably caused by the latest library not being compatible with the Raspberry PI ARM64 architecture

@berndpfrommer berndpfrommer changed the title build error on RPi [noetic] build error on RPi Feb 6, 2024
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

1 participant