Post Go back to editing

Errors when building IIO-oscilloscope on Ubuntu

[  7%] Building C object CMakeFiles/osc.dir/fru.c.o
/home/erwin/iio-oscilloscope/iio_utils.c: In function ‘get_iio_device_label_or_name’:
/home/erwin/iio-oscilloscope/iio_utils.c:148:7: error: implicit declaration of function ‘iio_device_get_label’; did you mean ‘iio_device_get_name’? [-Werror=implicit-function-declaration]
  id = iio_device_get_label(dev);
       ^~~~~~~~~~~~~~~~~~~~
       iio_device_get_name
/home/erwin/iio-oscilloscope/iio_utils.c:148:5: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
  id = iio_device_get_label(dev);
     ^
cc1: all warnings being treated as errors
CMakeFiles/osc.dir/build.make:158: recipe for target 'CMakeFiles/osc.dir/iio_utils.c.o' failed
make[2]: *** [CMakeFiles/osc.dir/iio_utils.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/osc.dir/all' failed
make[1]: *** [CMakeFiles/osc.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

Did anybody see the same? What could be the reason and a solution?

Thanks

Erwin