All,
I recently upgraded to Ubuntu 20.04 and am having a problem with cross compiling gr-ettus.
I have successfully done the following:
1. Install UHD on  host (using both gitbranch master and UHD-4.0)
2. Install GNU Radio on host (gitbranch maint-3.8)
3.  Install gr-ettus on host (gitbranch master)
4. Downloaded SDK for UHD4.0.0 (and associated SD image for E310)
5.  Cross compiled UHD
6.  Cross compiled GNU Radio
Attempting to cross compile gr-ettus is the point where cmake of gr-ettus failed.
I executed the following command:  (similar to other cross compile commands)
cmake -DCMAKE_TOOLCHAIN_FILE=~/prefix/gr38/src/gnuradio/cmake/Toolchains/oe-sdk_cross.cmake -DCMAKE_INSTALL_PREFIX=/usr ..
The CMakeError.log first line is this:
Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: And then seems to indicate that it can't compile a test program that uses pthread_create().  This seems something like test for pthread and pthreads.  I think pthread passed and pthreads failed. The log file showed that the last test was for pthread (as indicated by -lpthread on the gcc command)
The error file had -lpthreads on the gcc command
Is this something that needs to be disabled or is there something else wrong with my configuration.  The host installation appears to be working nominally. Thank you for your assistance and if this has already been discussed somewhere please accept my apologies and point me to the prior discussion.

Thanks,

Mike

_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to