Adding swap space of upto 1.5 gb helped.I was able to build GNU Radio. Make
ran successfully.Thanks.

Meanwhile
"make check" gave me this error:

..terminate called after throwing an instance of 'std::invalid_argument'
  what():  data length must be a multiple of vlen
Aborted
FAIL: run_tests



Error Log:

make  check-TESTS
make[4]: Entering directory `/home/root/gnuradio/gnuradio-core/src/tests'
Testing gr_vmcircbuf_createfilemapping_factory...
gr_vmcircbuf_createfilemapping: createfilemapping is not available
....... gr_vmcircbuf_createfilemapping_factory: Doesn't work
Testing gr_vmcircbuf_sysv_shm_factory...
gr_vmcircbuf_sysv_shm: shmat (2): Invalid argument
....... gr_vmcircbuf_sysv_shm_factory: Doesn't work
Testing gr_vmcircbuf_mmap_shm_open_factory...
....... gr_vmcircbuf_mmap_shm_open_factory: OK
Testing gr_vmcircbuf_mmap_tmpfile_factory...
....... gr_vmcircbuf_mmap_tmpfile_factory: OK
gr_vmcircbuf_createfilemapping: createfilemapping is not available
gr_vmcircbuf_sysv_shm: shmat (2): Invalid argument
.................................................................. [generic]
[armv7_a]
. [generic] [armv7_a]
. [generic]
. [generic]
. [generic]
. [generic]
.>>> gr_fir_fff: using armv7_a
..
OK (74 tests)
PASS: test_all
=============
1 test passed
=============
make[4]: Leaving directory `/home/root/gnuradio/gnuradio-core/src/tests'
make[3]: Leaving directory `/home/root/gnuradio/gnuradio-core/src/tests'
Making check in python
make[3]: Entering directory `/home/root/gnuradio/gnuradio-core/src/python'
Making check in gnuradio
make[4]: Entering directory
`/home/root/gnuradio/gnuradio-core/src/python/gnuradio'
Making check in gr
make[5]: Entering directory
`/home/root/gnuradio/gnuradio-core/src/python/gnuradio/gr'
make  check-TESTS
make[6]: Entering directory
`/home/root/gnuradio/gnuradio-core/src/python/gnuradio/gr'
.........
----------------------------------------------------------------------
Ran 9 tests in 0.286s
OK
.
.
.

..terminate called after throwing an instance of 'std::invalid_argument'
  what():  data length must be a multiple of vlen
Aborted
FAIL: run_tests
==================
1 of 1 test failed
==================
make[6]: *** [check-TESTS] Error 1
make[6]: Leaving directory
`/home/root/gnuradio/gnuradio-core/src/python/gnuradio/gr'
make[5]: *** [check-am] Error 2
make[5]: Leaving directory
`/home/root/gnuradio/gnuradio-core/src/python/gnuradio/gr'
make[4]: *** [check-recursive] Error 1
make[4]: Leaving directory
`/home/root/gnuradio/gnuradio-core/src/python/gnuradio'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory `/home/root/gnuradio/gnuradio-core/src/python'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/home/root/gnuradio/gnuradio-core/src'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/root/gnuradio/gnuradio-core'
make: *** [check-recursive] Error 1

Regards,
Ashwin Raut




On Thu, Jul 1, 2010 at 10:08 PM, Philip Balister <phi...@opensdr.com> wrote:

> On 07/02/2010 06:18 AM, George Schaertl wrote:
>
>> [70258.842254] select 1 (init), adj 0, size 58, to kill
>>> [70258.851959] select 1619 (dbus-daemon), adj 0, size 65, to kill
>>> [70258.862396] select 1639 (syslogd), adj 0, size 69, to kill
>>> [70258.872375] select 1649 (avahi-daemon), adj 0, size 91, to kill
>>> [70258.882965] select 6316 (make), adj 0, size 103, to kill
>>> [70258.892852] select 6318 (make), adj 0, size 105, to kill
>>> [70258.902587] select 6578 (make), adj 0, size 108, to kill
>>> [70258.912322] select 14622 (make), adj 0, size 133, to kill
>>> [70258.921966] select 14641 (sh), adj 0, size 208, to kill
>>> [70258.931488] select 14850 (ld), adj 0, size 20812, to kill
>>> [70258.941131] send sigkill to 14850 (ld), adj 0, size 20812
>>> collect2: ld terminated with signal 9 [Killed]
>>> make[5]: *** [libgnuradio-core.la] Error 1
>>>
>>
>> Looks like the low memory killer. Are you trying to build GNU Radio on
>> the BeagleBoard? If so, cross-compiling will save a lot of time in the
>> end.
>>
>>
> We've been building gnuradio on the beagle because we can. Most of the
> time. For small changes it is "easier", after the initial build.
>
> However, lately people have been running into the OOM killer. I'm told
> adding swap will help.
>
> When I get back from Germany, one of my tasks is to set up a cross tool
> chain so we can easily develop code quickly. The idea is to have OE generete
> the cross sdk for us including all the supporting libraries.
>
> Philip
>

Reply via email to