[op25-dev] Beta Test of New Additions - compile error on make

Joseph Cardani jcardani@verizon.net [op25-dev] op25-dev at yahoogroups.com
Wed Nov 18 02:12:53 UTC 2015


Hi Balint,

It blew up when I tried to compile the new blocks. Here’s a copy of the terminal window.

Thanks! 

jcardani at jcardani-ThinkCentre-XXXX ~/gr-baz/build $ cmake ..
-- The CXX compiler identification is GNU 4.8.2
-- The C compiler identification is GNU 4.8.2
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Build type not specified: defaulting to release.
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   system
--   thread
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
Checking for GNU Radio Module: RUNTIME
-- checking for module 'gnuradio-runtime'
--   found gnuradio-runtime, version 3.7.6git
* INCLUDES=/home/jcardani/target/include
* LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
-- Found GNURADIO_RUNTIME: /home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so 
GNURADIO_RUNTIME_FOUND = TRUE
Checking for GNU Radio Module: BLOCKS
-- checking for module 'gnuradio-blocks'
--   found gnuradio-blocks, version 3.7.6git
* INCLUDES=/home/jcardani/target/include
* LIBS=/home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
-- Found GNURADIO_BLOCKS: /home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so 
GNURADIO_BLOCKS_FOUND = TRUE
Checking for GNU Radio Module: DIGITAL
-- checking for module 'gnuradio-digital'
--   found gnuradio-digital, version 3.7.6git
* INCLUDES=/home/jcardani/target/include
* LIBS=/home/jcardani/target/lib/libgnuradio-digital.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
-- Found GNURADIO_DIGITAL: /home/jcardani/target/lib/libgnuradio-digital.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so 
GNURADIO_DIGITAL_FOUND = TRUE
Checking for GNU Radio Module: PMT
-- checking for module 'gnuradio-runtime'
--   found gnuradio-runtime, version 3.7.6git
* INCLUDES=/home/jcardani/target/include
* LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
-- Found GNURADIO_PMT: /home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so 
GNURADIO_PMT_FOUND = TRUE
-- Found UHD: /home/jcardani/target/lib/libuhd.so
-- UHD found - compiling UHD-aware blocks
-- checking for module 'libusb-1.0'
--   found libusb-1.0, version 1.0.17
-- Found libusb-1.0: /usr/include/libusb-1.0, /usr/lib/i386-linux-gnu/libusb-1.0.so
-- libusb found - compiling RTL2832U source block
-- Could NOT find Armadillo (missing:  ARMADILLO_LIBRARY ARMADILLO_INCLUDE_DIR)
-- Armadillo NOT found! NOT compiling MUSIC DOA estimator block
-- Looking for netdb.h
-- Looking for netdb.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for sys/socket.h
-- Looking for sys/socket.h - found
-- Looking for netinet/in.h
-- Looking for netinet/in.h - found
-- Looking for arpa/inet.h
-- Looking for arpa/inet.h - found
-- Looking for windows.h
-- Looking for windows.h - not found
-- Looking for C++ include boost/thread/xtime.hpp
-- Looking for C++ include boost/thread/xtime.hpp - found
-- Looking for CLOCK_MONOTONIC
-- Looking for CLOCK_MONOTONIC - found
-- Looking for boost::xtime_get
-- Looking for boost::xtime_get - found
-- Found SWIG: /usr/bin/swig2.0 (found version "2.0.11")
-- Found PythonLibs: /usr/lib/i386-linux-gnu/libpython2.7.so (found suitable version "2.7.6", minimum required is "2")
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.6", minimum required is "2")
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of size_t
-- Check size of size_t - done
-- Check size of unsigned int
-- Check size of unsigned int - done
-- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE
-- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE - Success
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jcardani/gr-baz/build
jcardani at jcardani-ThinkCentre-XXXX ~/gr-baz/build $ make
Scanning dependencies of target gnuradio-baz
[  1%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_print_char.cc.o
[  3%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_unpacked_to_packed_bb.cc.o
[  5%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_pow_cc.cc.o
[  7%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_delay.cc.o
/home/jcardani/gr-baz/lib/baz_delay.cc: In constructor ‘baz_delay::baz_delay(size_t, int)’:
/home/jcardani/gr-baz/lib/baz_delay.cc:53:101: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
 fprintf(stderr, "[%s<%i>] item size: %d, delay: %d\n", name().c_str(), unique_id(), itemsize, delay);
^
[  9%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_puncture_bb.cc.o
[ 11%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_depuncture_ff.cc.o
[ 13%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_swap_ff.cc.o
[ 15%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_agc_cc.cc.o
[ 17%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_test_counter_cc.cc.o
[ 19%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_udp_source.cc.o
[ 21%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_udp_sink.cc.o
[ 23%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_native_callback.cc.o
[ 25%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_native_mux.cc.o
/home/jcardani/gr-baz/lib/baz_native_mux.cc: In member function ‘virtual int baz_native_mux::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’:
/home/jcardani/gr-baz/lib/baz_native_mux.cc:134:165: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long unsigned int’ [-Wformat=]
        fprintf(stderr, "[%s] Late %d (processed: %d, next time: %d)\n", name().c_str(), ((int)d_samples_processed - (int)next_time), d_samples_processed, next_time);
^
/home/jcardani/gr-baz/lib/baz_native_mux.cc:134:165: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘long unsigned int’ [-Wformat=]
[ 27%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_block_status.cc.o
/home/jcardani/gr-baz/lib/baz_block_status.cc: In constructor ‘baz_block_status::baz_block_status(int, gr::msg_queue::sptr, long unsigned int, long unsigned int)’:
/home/jcardani/gr-baz/lib/baz_block_status.cc:75:138: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long unsigned int’ [-Wformat=]
  fprintf(stderr, "[%s] Size: %d, work iterations: %d, samples processed: %d\n", name().c_str(), size, work_iterations, samples_processed);
^
/home/jcardani/gr-baz/lib/baz_block_status.cc:75:138: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘long unsigned int’ [-Wformat=]
[ 29%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_non_blocker.cc.o
[ 31%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_acars_decoder.cc.o
[ 33%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_tag_to_msg.cc.o
[ 35%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_time_keeper.cc.o
/home/jcardani/gr-baz/lib/baz_time_keeper.cc: In constructor ‘baz_time_keeper::baz_time_keeper(int, int)’:
/home/jcardani/gr-baz/lib/baz_time_keeper.cc:66:114: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
 fprintf(stderr, "[%s<%i>] item size: %d, sample rate: %d\n", name().c_str(), unique_id(), item_size, sample_rate);
^
[ 37%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_burster.cc.o
/home/jcardani/gr-baz/lib/baz_burster.cc: In constructor ‘baz_burster::baz_burster(const baz_burster_config&)’:
/home/jcardani/gr-baz/lib/baz_burster.cc:56:199: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
 fprintf(stderr, "[%s<%i>] item size: %d, sample rate: %d, interval type: %s\n", name().c_str(), unique_id(), config.item_size, config.sample_rate, (d_config.sample_interval ? "samples" : "seconds"));
^
In file included from /usr/include/string.h:32:0,
                from /usr/include/c++/4.8/cstring:42,
                from /usr/include/boost/date_time/posix_time/conversion.hpp:12,
                from /usr/include/boost/thread/xtime.hpp:16,
                from /usr/include/boost/thread/pthread/mutex.hpp:17,
                from /usr/include/boost/thread/mutex.hpp:16,
                from /usr/include/boost/thread/pthread/thread_data.hpp:13,
                from /usr/include/boost/thread/thread_only.hpp:17,
                from /usr/include/boost/thread/thread.hpp:12,
                from /home/jcardani/gr-baz/lib/baz_burster.h:32,
                from /home/jcardani/gr-baz/lib/baz_burster.cc:34:
/home/jcardani/gr-baz/lib/baz_burster.cc:58:57: warning: invalid access to non-static data member ‘baz_burster::d_dummy_zero_last’ of NULL object [-Winvalid-offsetof]
 memset(&d_dummy_zero_first, 0x00, offsetof(baz_burster,d_dummy_zero_last) - offsetof(baz_burster,d_dummy_zero_first));
                                                        ^
/home/jcardani/gr-baz/lib/baz_burster.cc:58:57: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/home/jcardani/gr-baz/lib/baz_burster.cc:58:99: warning: invalid access to non-static data member ‘baz_burster::<anonymous union>::d_dummy_zero_first’  of NULL object [-Winvalid-offsetof]
 memset(&d_dummy_zero_first, 0x00, offsetof(baz_burster,d_dummy_zero_last) - offsetof(baz_burster,d_dummy_zero_first));
^
/home/jcardani/gr-baz/lib/baz_burster.cc:58:99: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/home/jcardani/gr-baz/lib/baz_burster.cc:58:99: warning: invalid access to non-static data member ‘baz_burster::<anonymous>’ of NULL object [-Winvalid-offsetof]
/home/jcardani/gr-baz/lib/baz_burster.cc:58:99: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/home/jcardani/gr-baz/lib/baz_burster.cc: In member function ‘void baz_burster::set_burst_length(int)’:
/home/jcardani/gr-baz/lib/baz_burster.cc:79:119: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
fprintf(stderr, "[%s<%i>] burst length: %i (%i bytes)\n", name().c_str(), unique_id(), length, d_message_buffer_length);
^
/home/jcardani/gr-baz/lib/baz_burster.cc: In member function ‘virtual int baz_burster::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’:
/home/jcardani/gr-baz/lib/baz_burster.cc:185:71: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
fprintf(stderr, "[%s<%i>] updated time\n", name().c_str(), unique_id());
^
/home/jcardani/gr-baz/lib/baz_burster.cc:254:94: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
fprintf(stderr, "[%s<%i>] already in burst #%i\n", name().c_str(), unique_id(), d_burst_count);
^
[ 39%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_radar_detector.cc.o
/home/jcardani/gr-baz/lib/baz_radar_detector.cc: In constructor ‘baz_radar_detector::baz_radar_detector(int, gr::msg_queue::sptr)’:
/home/jcardani/gr-baz/lib/baz_radar_detector.cc:86:88: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
 fprintf(stderr, "[%s<%i>] sample rate: %i\n", name().c_str(), unique_id(), sample_rate);
^
/home/jcardani/gr-baz/lib/baz_radar_detector.cc: In member function ‘void baz_radar_detector::set_threshold(float)’:
/home/jcardani/gr-baz/lib/baz_radar_detector.cc:105:85: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
 fprintf(stderr, "[%s<%i>] threshold %f\n", name().c_str(), unique_id(), d_threshold);
^
/home/jcardani/gr-baz/lib/baz_radar_detector.cc: In member function ‘void baz_radar_detector::set_pulse_plateau(float)’:
/home/jcardani/gr-baz/lib/baz_radar_detector.cc:112:93: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
 fprintf(stderr, "[%s<%i>] pulse plateau %f\n", name().c_str(), unique_id(), d_pulse_plateau);
^
/home/jcardani/gr-baz/lib/baz_radar_detector.cc: In member function ‘bool baz_radar_detector::set_param(const string&, float)’:
/home/jcardani/gr-baz/lib/baz_radar_detector.cc:117:113: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
 fprintf(stderr, "[%s<%i>] setting parameter \"%s\" to: %f\n", name().c_str(), unique_id(), param.c_str(), value);
^
/home/jcardani/gr-baz/lib/baz_radar_detector.cc: In member function ‘void baz_radar_detector::skip(int)’:
/home/jcardani/gr-baz/lib/baz_radar_detector.cc:140:73: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
 fprintf(stderr, "[%s<%i>] skip %i\n", name().c_str(), unique_id(), skip);
^
[ 41%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_fastrak_decoder.cc.o
/home/jcardani/gr-baz/lib/baz_fastrak_decoder.cc: In constructor ‘baz_fastrak_decoder::baz_fastrak_decoder(int)’:
/home/jcardani/gr-baz/lib/baz_fastrak_decoder.cc:73:122: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
 fprintf(stderr, "[%s<%i>] sample rate: %d, oversampling: %d\n", name().c_str(), unique_id(), sample_rate, d_oversampling);
^
/home/jcardani/gr-baz/lib/baz_fastrak_decoder.cc: In member function ‘void baz_fastrak_decoder::set_sync_threshold(float)’:
/home/jcardani/gr-baz/lib/baz_fastrak_decoder.cc:87:117: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
 fprintf(stderr, "[%s<%i>] sync threshold: %f (was: %f)\n", name().c_str(), unique_id(), threshold, d_sync_threshold);
^
[ 43%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_overlap.cc.o
/home/jcardani/gr-baz/lib/baz_overlap.cc: In constructor ‘baz_overlap::baz_overlap(int, int, int, int)’:
/home/jcardani/gr-baz/lib/baz_overlap.cc:83:150: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
 fprintf(stderr, "[%s<%i>] item size: %d, vlen: %d, overlap: %d, sample rate: %d\n", name().c_str(), unique_id(), item_size, vlen, overlap, samp_rate);
^
/home/jcardani/gr-baz/lib/baz_overlap.cc:84:74: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
 fprintf(stderr, "[%s<%i>] rate: %f\n", name().c_str(), unique_id(), rate);
^
/home/jcardani/gr-baz/lib/baz_overlap.cc: In member function ‘virtual int baz_overlap::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’:
/home/jcardani/gr-baz/lib/baz_overlap.cc:122:114: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
  fprintf(stderr, "[%s<%i>] not enough for work: noutput_items: %d\n", name().c_str(), unique_id(), noutput_items);
^
[ 45%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_manchester_decode_bb.cc.o
/home/jcardani/gr-baz/lib/baz_manchester_decode_bb.cc: In constructor ‘baz_manchester_decode_bb::baz_manchester_decode_bb(bool, int, int, bool)’:
/home/jcardani/gr-baz/lib/baz_manchester_decode_bb.cc:77:145: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
 fprintf(stderr, "[%s<%i>] original: %s, threshold: %d, window: %d\n", name().c_str(), unique_id(), (original ? "yes" : "no"), threshold, window);
^
/home/jcardani/gr-baz/lib/baz_manchester_decode_bb.cc: In member function ‘virtual int baz_manchester_decode_bb::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’:
/home/jcardani/gr-baz/lib/baz_manchester_decode_bb.cc:173:92: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
     fprintf(stderr, "[%s<%i>] violation threshold exceeded\n", name().c_str(), unique_id());
^
[ 47%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_sweep.cc.o
/home/jcardani/gr-baz/lib/baz_sweep.cc: In constructor ‘baz_sweep::baz_sweep(float, float, bool)’:
/home/jcardani/gr-baz/lib/baz_sweep.cc:86:169: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
 fprintf(stderr, "[%s<%i>] sample rate: %f, default sweep rate: %f, is duration: %s\n", name().c_str(), unique_id(), samp_rate, sweep_rate, (is_duration ? "yes" : "no"));
^
/home/jcardani/gr-baz/lib/baz_sweep.cc: In member function ‘void baz_sweep::sweep(float, float, bool, bool)’:
/home/jcardani/gr-baz/lib/baz_sweep.cc:112:99: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
 fprintf(stderr, "[%s<%i>] beginning sweep to %f at %f\n", name().c_str(), unique_id(), freq, rate);
^
/home/jcardani/gr-baz/lib/baz_sweep.cc:118:80: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
  fprintf(stderr, "[%s<%i>] already at %f\n", name().c_str(), unique_id(), freq);
^
/home/jcardani/gr-baz/lib/baz_sweep.cc:124:161: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
  fprintf(stderr, "[%s<%i>] sweep already in progress (to %f at %f while asking for %s at %s\n", name().c_str(), unique_id(), d_target, d_sweep_rate, freq, rate);
^
/home/jcardani/gr-baz/lib/baz_sweep.cc:124:161: warning: format ‘%s’ expects argument of type ‘char*’, but argument 7 has type ‘double’ [-Wformat=]
/home/jcardani/gr-baz/lib/baz_sweep.cc:124:161: warning: format ‘%s’ expects argument of type ‘char*’, but argument 8 has type ‘double’ [-Wformat=]
/home/jcardani/gr-baz/lib/baz_sweep.cc:133:79: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
  fprintf(stderr, "[%s<%i>] jumped to %f\n", name().c_str(), unique_id(), freq);
^
/home/jcardani/gr-baz/lib/baz_sweep.cc:153:136: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
 fprintf(stderr, "[%s<%i>] waiting for sweep to %f at %f (starting at %lld)\n", name().c_str(), unique_id(), freq, rate, d_start_sample);
^
/home/jcardani/gr-baz/lib/baz_sweep.cc:157:99: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
 fprintf(stderr, "[%s<%i>] completed sweep to %f at %f\n", name().c_str(), unique_id(), freq, rate);
^
/home/jcardani/gr-baz/lib/baz_sweep.cc: In member function ‘virtual int baz_sweep::work(int, gr_vector_const_void_star&, gr_vector_void_star&)’:
/home/jcardani/gr-baz/lib/baz_sweep.cc:188:85: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
    fprintf(stderr, "[%s<%i>] sweep complete in work\n", name().c_str(), unique_id());
^
[ 49%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_merge.cc.o
/home/jcardani/gr-baz/lib/baz_merge.cc: In constructor ‘baz_merge::baz_merge(int, float, int, bool, const char*, const char*)’:
/home/jcardani/gr-baz/lib/baz_merge.cc:90:220: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
 fprintf(stderr, "[%s<%i>] item size: %d, sample rate: %f, additional streams: %d: length tag: \'%s\', ignore tag: \'%s\'\n", name().c_str(), unique_id(), item_size, samp_rate, additional_streams, length_tag, ignore_tag);
^
/home/jcardani/gr-baz/lib/baz_merge.cc: In member function ‘virtual int baz_merge::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’:
/home/jcardani/gr-baz/lib/baz_merge.cc:195:131: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
    fprintf(stderr, "[%s<%i>] no samples for burst %llu on sample %llu\n", name().c_str(), unique_id(), d_total_burst_count, nread);
^
/home/jcardani/gr-baz/lib/baz_merge.cc:274:236: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
    fprintf(stderr, "[%s<%i>] beginning burst %llu of length %d at sample %llu on input %d (ignoring: %s)\n", name().c_str(), unique_id(), d_total_burst_count, d_items_to_copy, nread, d_selected_input, (d_ignore_current ? "yes" : "no"));
^
[ 50%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_tcp_sink.cc.o
[ 52%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_tcp_source.cc.o
/home/jcardani/gr-baz/lib/baz_tcp_source.cc: In constructor ‘baz_tcp_source::baz_tcp_source(size_t, const char*, short unsigned int, int, bool)’:
/home/jcardani/gr-baz/lib/baz_tcp_source.cc:181:185: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
 fprintf(stderr, "[%s<%i>] item size: %d, host: %s, port: %hu, buffer size: %d, verbose: %s\n", name().c_str(), unique_id(), itemsize, host, port, buffer_size, (verbose ? "yes" : "no"));
^
/home/jcardani/gr-baz/lib/baz_tcp_source.cc: In member function ‘virtual int baz_tcp_source::work(int, gr_vector_const_void_star&, gr_vector_void_star&)’:
/home/jcardani/gr-baz/lib/baz_tcp_source.cc:476:110: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
  fprintf(stderr, "[%s<%i>] accepted connection (socket: %d)\n", name().c_str(), unique_id(), d_client_socket);
^
/home/jcardani/gr-baz/lib/baz_tcp_source.cc:541:100: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
   fprintf(stderr, "[%s<%i>] recv returned 0 - disconnecting client\n", name().c_str(), unique_id());
^
[ 54%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_auto_ber_bf.cc.o
[ 56%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_peak_detector.cc.o
/home/jcardani/gr-baz/lib/baz_peak_detector.cc: In constructor ‘baz_peak_detector::baz_peak_detector(float, int, int, float, float, int)’:
/home/jcardani/gr-baz/lib/baz_peak_detector.cc:86:188: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
 fprintf(stderr, "[%s<%i>] min diff: %f, min len: %d, lockout: %d, drop: %f, alpha: %f, look ahead: %d\n", name().c_str(), unique_id(), min_diff, min_len, lockout, drop, alpha, look_ahead);
^
[ 58%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_burst_tagger_impl.cc.o
/home/jcardani/gr-baz/lib/baz_burst_tagger_impl.cc: In constructor ‘gr::baz::burst_tagger_impl::burst_tagger_impl(const string&, float, unsigned int, unsigned int, bool, bool)’:
/home/jcardani/gr-baz/lib/baz_burst_tagger_impl.cc:56:250: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
 fprintf(stderr, "<%s[%d]> tag name: %s, multiplier: %f, tag front: %d, tag rear: %d, drop residue: %s, verbose: %s\n", name().c_str(), unique_id(), tag_name.c_str(), mult, pad_front, pad_rear, (drop_residue ? "yes" : "no"), (verbose ? "yes" : "no"));
^
/home/jcardani/gr-baz/lib/baz_burst_tagger_impl.cc: In member function ‘virtual int gr::baz::burst_tagger_impl::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’:
/home/jcardani/gr-baz/lib/baz_burst_tagger_impl.cc:284:170: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘std::vector<gr::tag_t>::size_type {aka unsigned int}’ [-Wformat=]
    fprintf(stderr, "[%llu] ! Encountered %lu tags during burst #%llu (work started reading at: %llu, copying: %d)\n", d_work_count, all_tags.size(), d_count, nread, cpy);
^
/home/jcardani/gr-baz/lib/baz_burst_tagger_impl.cc:338:126: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘int’ [-Wformat=]
   if (d_verbose) fprintf(stderr, "Copied %lu items outside burst (after #%llu, work with no tags)\n", noutput_items, d_count);
^
[ 60%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_burst_buffer.cc.o
/home/jcardani/gr-baz/lib/baz_burst_buffer.cc: In constructor ‘baz_burst_buffer::baz_burst_buffer(size_t, int, bool)’:
/home/jcardani/gr-baz/lib/baz_burst_buffer.cc:62:83: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
 fprintf(stderr, "[%s<%i>] item size: %d\n", name().c_str(), unique_id(), itemsize);
^
/home/jcardani/gr-baz/lib/baz_burst_buffer.cc: In member function ‘void baz_burst_buffer::reallocate_buffer()’:
/home/jcardani/gr-baz/lib/baz_burst_buffer.cc:100:97: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
 fprintf(stderr, "[%s<%i>] buffer now: %d samples\n", name().c_str(), unique_id(), d_buffer_size);
^
/home/jcardani/gr-baz/lib/baz_burst_buffer.cc: In member function ‘virtual int baz_burst_buffer::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’:
/home/jcardani/gr-baz/lib/baz_burst_buffer.cc:143:108: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
   fprintf(stderr, "[%s<%i>] Outputting buffer (%d samples)\n", name().c_str(), unique_id(), d_sample_count);
^
/home/jcardani/gr-baz/lib/baz_burst_buffer.cc:153:87: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
   if (d_verbose) fprintf(stderr, "[%s<%i>] Adding SOB\n", name().c_str(), unique_id());
^
/home/jcardani/gr-baz/lib/baz_burst_buffer.cc:164:87: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
   if (d_verbose) fprintf(stderr, "[%s<%i>] Adding EOB\n", name().c_str(), unique_id());
^
/home/jcardani/gr-baz/lib/baz_burst_buffer.cc:182:142: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
   if (d_verbose) fprintf(stderr, "[%s<%i>] Starting flush at head of work (noutput_items: %d)\n", name().c_str(), unique_id(), noutput_items);
^
/home/jcardani/gr-baz/lib/baz_burst_buffer.cc:192:153: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
   if (d_verbose) fprintf(stderr, "[%s<%i>] Finishing flush in work (noutput_items: %d, to_go: %d)\n", name().c_str(), unique_id(), noutput_items, to_go);
^
/home/jcardani/gr-baz/lib/baz_burst_buffer.cc:271:80: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
    fprintf(stderr, "[%s<%i>] Already in burst!\n", name().c_str(), unique_id());
^
/home/jcardani/gr-baz/lib/baz_burst_buffer.cc:275:87: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
    if (d_verbose) fprintf(stderr, "[%s<%i>] Found SOB\n", name().c_str(), unique_id());
^
/home/jcardani/gr-baz/lib/baz_burst_buffer.cc:286:87: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
    if (d_verbose) fprintf(stderr, "[%s<%i>] Found EOB\n", name().c_str(), unique_id());
^
/home/jcardani/gr-baz/lib/baz_burst_buffer.cc:296:78: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
    fprintf(stderr, "[%s<%i>] Not in a burst!\n", name().c_str(), unique_id());
^
/home/jcardani/gr-baz/lib/baz_burst_buffer.cc:304:77: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
   fprintf(stderr, "[%s<%i>] Unexpected tag!\n", name().c_str(), unique_id());
^
/home/jcardani/gr-baz/lib/baz_burst_buffer.cc:322:75: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
  fprintf(stderr, "[%s<%i>] Invalid state!\n", name().c_str(), unique_id());
^
[ 62%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_additive_scrambler_bb.cc.o
/home/jcardani/gr-baz/lib/baz_additive_scrambler_bb.cc: In member function ‘virtual int gr::baz::additive_scrambler_bb_impl::work(int, gr_vector_const_void_star&, gr_vector_void_star&)’:
/home/jcardani/gr-baz/lib/baz_additive_scrambler_bb.cc:244:17: error: ‘stderr’ was not declared in this scope
        fprintf(stderr, "Resetting LFSR at index %d\n", i);
                ^
/home/jcardani/gr-baz/lib/baz_additive_scrambler_bb.cc:244:58: error: ‘fprintf’ was not declared in this scope
        fprintf(stderr, "Resetting LFSR at index %d\n", i);
                                                         ^
make[2]: *** [lib/CMakeFiles/gnuradio-baz.dir/baz_additive_scrambler_bb.cc.o] Error 1
make[1]: *** [lib/CMakeFiles/gnuradio-baz.dir/all] Error 2
make: *** [all] Error 2
jcardani at jcardani-ThinkCentre-XXXX ~/gr-baz/build $
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20151117/30241ad1/attachment.html>


More information about the op25-dev mailing list