On 04/30/2013 06:41 PM, Isdren Gineer wrote:
Fellow gnuradio'ers,
I am trying to compile gnuradio from src on a USRP E100 but encounter
a fatal error prior to completion. Specifically, the last few lines of
stdout and stderr output are:
Linking CXX shared module _gnuradio_core_filter.so
[ 39%] Built target _gnuradio_core_filter
Scanning dependencies of target _gnuradio_core_general
[ 39%] Building CXX object
gnuradio-core/src/lib/swig/CMakeFiles/_gnuradio_core_general.dir/gnuradio_core_generalPYTHON_wrap.cxx.o
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: ***
[gnuradio-core/src/lib/swig/CMakeFiles/_gnuradio_core_general.dir/gnuradio_core_generalPYTHON_wrap.cxx.o]
Error 1
make[1]: ***
[gnuradio-core/src/lib/swig/CMakeFiles/_gnuradio_core_general.dir/all]
Error 2
make: *** [all] Error 2
I realize the error says to submit this as a gcc bug but thought
somebody else on this board may have gotten the same error and found
its cause.
The version from the gnuradio repository is 3.6.4.1-185-g8fda7aca.
From /var/log/messages I believe this problem is related to an
out-of-memory error.
The runlevel is 3 and I have the console open as well as one ssh
remote shell from which I executed the make command.
I've attached CMakeCache.txt and the relevant portion of
/var/log/messages.
Any help would be appreciated.
The compiler is running out of virtual memory.
Try building and attaching a swap file of perhaps 200M in size
--
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio