discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Error during compilation of GR-baz


From: Balaji Kolla
Subject: [Discuss-gnuradio] Error during compilation of GR-baz
Date: Mon, 1 Apr 2019 15:09:57 +0530

Hi,

I am trying to install GR-BAZ package to get required blocks in GNURadio.

When i issue a "make" command i am getting the following error.

Can some one suggest in how to resolve this issue.

/home/lekha/sources/gnuradio/gr-baz/lib/baz_file_source.cc:1195:205: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘uint64_t {aka long unsigned int}’ [-Wformat=]
/home/lekha/sources/gnuradio/gr-baz/lib/baz_file_source.cc:1195:205: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 8 has type ‘long unsigned int’ [-Wformat=]
/home/lekha/sources/gnuradio/gr-baz/lib/baz_file_source.cc:1195:205: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 9 has type ‘long unsigned int’ [-Wformat=]
/home/lekha/sources/gnuradio/gr-baz/lib/baz_file_source.cc:1256:52: error: invalid types ‘int[int]’ for array subscript
            int i = d_input_files[d_current_file_idx]->read(size, o); // Might not return all data if hitting EOF in current file
                                                    ^
/home/lekha/sources/gnuradio/gr-baz/lib/baz_file_source.cc:1283:60: error: invalid types ‘int[int]’ for array subscript
         size_t remaining = d_input_files[d_current_file_idx]->samples(true) - d_input_files[d_current_file_idx]->tell();
                                                            ^
/home/lekha/sources/gnuradio/gr-baz/lib/baz_file_source.cc:1283:111: error: invalid types ‘int[int]’ for array subscript
         size_t remaining = d_input_files[d_current_file_idx]->samples(true) - d_input_files[d_current_file_idx]->tell();
                                                                                                               ^
/home/lekha/sources/gnuradio/gr-baz/lib/baz_file_source.cc:1288:51: error: request for member ‘size’ in ‘((gr::baz::file_source_impl*)this)->gr::baz::file_source_impl::d_input_files’, which is of non-class type ‘int’
           if (d_current_file_idx < (d_input_files.size() - 1))
                                                   ^
make[2]: *** [lib/CMakeFiles/gnuradio-baz.dir/baz_file_source.cc.o] Error 1
make[1]: *** [lib/CMakeFiles/gnuradio-baz.dir/all] Error 2
make: *** [all] Error 2


--
Thanks & Regards
Balaji Rao Kolla

reply via email to

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