I mistakenly took this off-list ... just to let people know that the OP's
problem is solved ...

On Tue, Dec 12, 2023 at 5:24 PM Marco Menchise <marco.mench...@gmail.com>
wrote:

> Hello Jeff.
>
> I'm not sure to understand how python bindings work but the script solved
> my problem.
>
> Many thanks,
>
> Marco
>
> On Tue, Dec 12, 2023 at 9:58 PM Jeff Long <willco...@gmail.com> wrote:
>
>> When the content of a header file changes, the hash in the beginning of
>> the associated Python bindings needs to be updated. The tool
>>
>> gr-utils/bindtool/scripts/binding-hash-hotfixer.zsh
>>
>> can do this update for you, or you can manually enter the md5 hash of the
>> header into the bindings file.
>>
>> On Tue, Dec 12, 2023 at 3:45 PM Marco Menchise <marco.mench...@gmail.com>
>> wrote:
>>
>>> 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