Hi all-

I just installed Fedora 11 x86_64 which features gcc-4.4. I get compile errors such as:

"gr_fft_filter_ccc.cc: In member function ‘void gr_fft_filter_ccc::compute_sizes(int)’:
gr_fft_filter_ccc.cc:133: error: ‘stderr’ was not declared in this scope
gr_fft_filter_ccc.cc:134: error: ‘fprintf’ was not declared in this scope"

I found this post online at http://osdir.com/ml/debian-bugs-dist/2009-04/msg09184.html

"Your package fails to build with GCC 4.4, which has cleaned up some more
C++ headers. You always have to #include headers directly and cannot
rely for things to be included indirectly."

The patch to fix the problem was to explicitly add cstdio include statements.

Taking that as a clue, I found that if I add "#include <cstdio>" to gr_fft_filter_ccc.cc that fixes the problem, however there are other files which also appear to need the same fix. Perhaps somebody can look into this? The problem appears on subversions 10991 and 11181.

thanks,
eric

************************************
Eric H. Matlis, Ph.D.
Aerospace & Mechanical Engineering Dept.
121 Hessert Center for Aerospace Research
University of Notre Dame
Notre Dame, IN 46556-5684
Phone: (574) 631-6054
Fax:   (574) 631-8355
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to