On Tue, 9 Jun 2009, [email protected] wrote:
gr_fft_filter_ccc.cc:134: error: ‘fprintf’ was not declared in this scope"
Aerospace & Mechanical Engineering Dept.
make[5]: Entering directory
-I…/…/…/…/usrp/firmware/src/common
sdcc -mmcs51 --no-xinit-opt --code-loc 0x0000 --code-size 0x1800
/usr/libexec/sdcc/aslink[0x401219]
3c14200000-3c1421f000 r-xp 00000000 08:08 261633
/lib64/libc-2.10.1.so
7fee1022b000-7fee1022c000 rw-p 7fee1022b000 00:00 0
make[4]: *** [all-recursive] Error 1
`/home/matlis/z.downloads/z.gnuradio/gnuradio_10991’
make: *** [all] Error 2
Not sure what to do about this one… if it should be necessary to use an
earlier compiler, does anybody know how to make the system use an earlier
version of the necessary libraries in Fedora cleanly, using rpm packages
(ie I’d rather not have to manually compile and install tar files, etc)?
thanks,
eric
Second update- I was able to compile gnuradio successfully on Fedora 11.
I had to revert my sdcc from Fedora 11’s 2.9 version to Fedora 10’s
2.8 to eliminate the double free corruption issue I posted about
earlier.
In addition, I had to add "#include " to the following files:
gr_fft_ccc.cc
gr_fft_fff.cc
gr_align_on_samplenumbers_ss.cc
gr_clock_recovery_mm_cc.cc
gr_constellation_decoder_cb.cc
gr_correlate_access_code_bb.cc
gr_dd_mpsk_sync_cc.cc
gr_dpll_bb.cc
gr_fft_vfc.cc
gr_ofdm_frame_acquisition.cc
gr_ofdm_sampler.cc
gr_simple_correlator.cc
gr_stream_mux.cc
mb_worker.cc
qa_bitset.cc
qa_disconnect.cc
usrp_basic.cc
usrp_standard.cc
db_boards.cc
db_dbs_rx.cc
db_xcvr2450.cc
fusb_linux.cc
fusb_linux.cc
eth_buffer.cc **** also add #include “eth_buffer.h”
ethernet.cc *** also add #include “eth_buffer.h”
find.cc
usrp2.cc
find_usrps.cc
rx_streaming_samples.cc
tx_samples.cc
test_mimo_tx
gpio.cc
usrp_sink_base.cc
usrp_source_base.cc
usrp_siggen.cc
I also had to add #include “eth_buffer.h” to eth_buffer.cc and
ethernet.cc.
I also had to change my PYTHONPATH to reflect the change to python2.6
After this, my applications run, although I get this warning:
/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py:14450:
UserWarning: wxPython/wxWidgets release number mismatch
warnings.warn(“wxPython/wxWidgets release number mismatch”)
(using svn checkout 11181).
One other concern: I noticed that with 11181 opengl scopes and gui’s now
work on my system. However, even with my config.conf as below:
[wxgui]
style=gl
#style=nongl
fft_rate=30
waterfall_rate=30
scope_rate=30
number_rate=5
const_rate=5
const_size=2048
trying to send the gui remotely over the network to a remote computer
doesn’t really work; the latencies or delays are too high and the gui is
unresponsive. Any way to make them as snappy as the non-gl versions?
thanks,
eric