Porting GNU Chirp (gr-juha) to Lime (via osmosdr)

Trying to port gnu chirp (gr-juha) to use with lime, but there is no .out files written. Usbtop clearly shows traffic on my Lime… Can somebody look on that code?
Thanks, there is what I got:

https://pastebin.com/GFNHZdED