[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] MacOS 10.7.3 - mmap or shm_open is not available
From: |
Michael Dickens |
Subject: |
Re: [Discuss-gnuradio] MacOS 10.7.3 - mmap or shm_open is not available |
Date: |
Sun, 8 Apr 2012 20:16:29 -0400 |
> Does anyone have any pointers as to where I should be looking?
Hi Steven - First, the humor < http://xkcd.com/138/ >.
Do "ipcs -a" to see how many shared memory attachments are in place. You might
see a lot, given that 'shmat' returns 'too many files open'. Here's the BASH
script I run, very often in my work right now, to try to remove extraneous ones:
for tf in `ipcs -m | sed -e 1d -e 2d -e 3d | awk '{print $2 }'`; do
ipcrm -m $tf ;
done
If all else fails, reboot and see if that doesn't take care of the issue, at
least for now. If the issue persists, it might be a new Lion issue from
10.7.3; I know I've run GNU Radio in 10.7.[0-2]. I'll hopefully have a few
spare cycles later this week to look into GNU Radio on Lion. - MLD
On Apr 8, 2012, at 3:41 PM, Steven wrote:
> I have managed to compile the latest git version on MacOS 10.7.3 by setting
> CC=gcc and CXX=g++.
> The issue now is that most of the tests fail, the first being
> gr-core-test-all.
>
> • "gr-core-test-all" start time: Apr 08 17:00 BST
> • Output:
> • ----------------------------------------------------------
> • 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 (1): Too many open files
> • gr_vmcircbuf_sysv_shm: shmget (1): Invalid argument