discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] compile errors with gcc-4.4


From: ematlis
Subject: [Discuss-gnuradio] compile errors with gcc-4.4
Date: Tue, 9 Jun 2009 21:41:49 -0400 (EDT)
User-agent: Alpine 2.00 (LFD 1167 2008-08-23)

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

reply via email to

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