discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Python bindings are out of sync


From: Marco Menchise
Subject: Python bindings are out of sync
Date: Tue, 12 Dec 2023 19:17:45 +0100

Hello,
I'm using Gnuradio 3.10.7.0 on Ubuntu 20.04.6 LTS (ppa version).

Since a couple of days I can't configure oot modules anymore. If I run cmake I get:

Python bindings for myModule.h are out of sync
Call Stack (most recent call first):
  python/modeS/bindings/CMakeLists.txt:33 (GR_PYBIND_MAKE_OOT)

-- Configuring incomplete, errors occurred!
See also "/home/marco/gnuradio/gr-modeS/build/CMakeFiles/CMakeOutput.log".
See also "/home/marco/gnuradio/gr-modeS/build/CMakeFiles/CMakeError.log".

The error log states that ld wast'n able to locate pthreads:

....
Linking C executable cmTC_1a919
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1a919.dir/link.txt --verbose=1
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=pthread_create    CMakeFiles/cmTC_1a919.dir/CheckFunctionExists.c.o  -o cmTC_1a919  -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_1a919.dir/build.make:87: cmTC_1a919] Error 1
make[1]: Leaving directory '/home/marco/gnuradio/gr-modeS/build/CMakeFiles/CMakeTmp'


Last week I was able to compile, run and use the module. I googled a bit for the solution but nothing works in my case. I'm not even sure to have got the exact cause of the problem. Cmake? A typo? Some missing packages?

Any hint?

Thanks,
Marco

reply via email to

[Prev in Thread] Current Thread [Next in Thread]