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
on 2013-02-27 22:13
on 2013-03-19 16:58
Hi Guillaume, did you resolve the problem? I've the same problem in compiling gnuradio on my IGEPv2 with linaro OS. thx Luigi
on 2013-03-22 00:05
Hi Luigi, I still haven't resolved my problem, but I'm still investigating. I found by looking forward on google that It is likely to be a RAM quantity problem due to the size of the currently compiled file (300kloc...) and that the warning appearing at that this very moment is just a coincidence. I'm not yet sur because the new RAM I bought were defectious and I had to send it back, waiting for a new one. problem quite hard to diagnosize, and nobody on the forum have been able to help me, so I feel quite alone! I'll post here if my new RAM works well. For information my former RAM was 512M, and I am currently trying to extend it to 1.2G (I use a HP Pavilion zv 6000 laptop with AMD64 processor, Ubuntu 12.10 in dual boot with windows XP SP2). If you have a similar RAM quantity, please tell me, it would confort me in my diagnostic! bye, - Guillaume
on 2013-04-30 19:10
Even I faced a similar problem with the build getting stuck and then getting aborted at 40% ( of cmake!!). I was installing it on ubuntu 12.04 virtual machine with windows 7 as host. The virtual machine was configured to have 512MB RAM. Taking clue from the above post I increased the RAM to 1200 MB. And voila, the installation went through smoothly. Regards Purush
on 2013-05-03 14:30
Thank You guys for your answers. I still haven't resolved my problem and I think that purush_m gave the correct answer. My problem now is that I can't update RAM because I'm installing GNURadio on IGEPv2 board (http://www.isee.biz/products/processor-boards/igepv2-board). Now I'm trying to create a big swap memory on the microSD and I will tell you the results. Best Regards Luigi
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.