Making gr-rds-new work in latest versions of Ubuntu

The gr-rds-new processing block, as it is here:
does not compile under Ubuntu 8.04.

The error is:
/usr/local/bin/swig -c++ -python -I/usr/include/python2.5
-I/usr/local/gnuradio/include/gnuradio -module rds -o rds.i
rds.i:6: Error: Unable to find ‘gnuradio.i’

The way to fix this is to edit the “configure” file in the archive’s
root directory.
In line 408, change “ac_default_prefix=/usr/local” to
Then run the usual “./configure && make”

You should still be getting some warnings like:
warning: deprecated conversion from string constant to ‘char*’

To fix them, edit the file “src/lib/gr_rds_data_decoder.h”, lines 59-63.
Change “static unsigned int” to “static const unsigned int”.
Also, change “static char *” to “static const char * const”.

Finally, you should get two more warnings: warning: multi-character character constant In member function ‘char
gr_rds_data_decoder::transform_char(char)’: warning: overflow in implicit constant

To fix these, edit the file “src/lib/”, line 75:
change the 1st character in the table to a question mark: ‘?’

Note that “make check” still fails, but I haven’t got around to
looking into this yet…

Also, be informed that I have added some of the standard’s
unimplemented features to the code, I will release it when it feels
stable enough…

Dimitris S.
“If you think you’re too small to make a difference, try sleeping with
a mosquito!” - Amnesty International