The building problem of gnuradio 3.2.2 on ubuntu 10.04

my gnuradio 3.2.2 passes through configure on ubuntu 10.04, while there
is a building problem at make.
The error information is as follows:
…/…/…/…/gr-qtgui/src/lib/spectrumdisplayform_moc.cc:14:2: error:
#error “This file was generated using the moc from 4.5.0. It”
…/…/…/…/gr-qtgui/src/lib/spectrumdisplayform_moc.cc:15:2: error:
#error “cannot be used with the include files from this version of Qt.”
…/…/…/…/gr-qtgui/src/lib/spectrumdisplayform_moc.cc:16:2: error:
#error “(The moc has changed too much.)”

you need to go into gnuradio-3.2.2/gr-qtgui/src/lib and delete all the
files ending in moc.cc
and then run
./configure
make
make check
make install

Let me know if that fixes it for you

Alex

2010/7/23 ÁõȨ [email protected]:

It helped me a lot!

Only one small correction - the last line in Alexs code should be:


sudo make install

This fixes the problem.

Thanks Alex!

Nemanja