Hi everybody…
I hope someone will be able to help me. I have carefully red the
installing guide and after some reflexions, I wisely chose the
build-gnuradio script option. Therefore:
- I have installed Ubuntu 12.10 on my computer (I’m also new to Linux, I
installed it for gnuradio purpose), and - I ran “wget http://www.sbrac.org/files/build-gnuradio && chmod a+x
./build-gnuradio && ./build-gnuradio --verbose” as recommanded - my compiler seems to be gcc 4.7.2.
The process starts normally, until the compiler raise a “Unused but set
variable” warning and crashes:
Scanning dependencies of target _gnuradio_core_general
[ 37%] Building CXX object
gnuradio-core/src/lib/swig/CMakeFiles/_gnuradio_core_general.dir/gnuradio_core_generalPYTHON_wrap.cxx.o
/home/guillaume/gnuradio/build/gnuradio-core/src/lib/swig/gnuradio_core_generalPYTHON_wrap.cxx:
In function ‘void init_gnuradio_core_general()’:
/home/guillaume/gnuradio/build/gnuradio-core/src/lib/swig/gnuradio_core_generalPYTHON_wrap.cxx:323876:21:
attention : variable ‘md’ set but not used [-Wunused-but-set-variable]
By performing on an other terminal the “top” command, I noticed that the
“cc1plus” command is in status “D” which is not very good… After kill
-9 command, I obtained the following messages:
c++: erreur interne du compilateur: Processus arrêté (program cc1plus)
Veuillez soumettre un rapport complet d’anomalies,
avec le source pré-traité si nécessaire.
Consultez <file:///usr/share/doc/gcc-4.7/README.Bugs> pour plus de
détail.
make[2]: ***
[gnuradio-core/src/lib/swig/CMakeFiles/_gnuradio_core_general.dir/gnuradio_core_generalPYTHON_wrap.cxx.o]
Erreur 4
make[1]: ***
[gnuradio-core/src/lib/swig/CMakeFiles/_gnuradio_core_general.dir/all]
Erreur 2
make: *** [all] Erreur 2
make failed
Exiting Gnu Radio build/install
I performed some google searches, gnuradio.org searches and searches on
this forum about
- building gnuradio with gcc 4.7.2 on ubuntu 12.10
- “Unused but set” warning on gcc 4.7,
but I found no useful answers.
Obviously, I could modify by myself the source code in order to remove
this “md” variable but I think this is not a “clean” way of proceeding,
since it’s likely that I’m not the only one to cope with this issue.
The error is obviously due to the compiler and not Gnuradio, but it is
unknown in the gcc bug tracking list.
Have someone here already meet and solved this problem in a gnuradio
context? That would greatly help me since I’m far from being a compiler
expert…
thanks for your help,
- Guillaume