discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] MacOS 10.7.3 - mmap or shm_open is not available


From: Steven
Subject: [Discuss-gnuradio] MacOS 10.7.3 - mmap or shm_open is not available
Date: Sun, 8 Apr 2012 20:41:05 +0100

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
  • ....... gr_vmcircbuf_sysv_shm_factory: Doesn't work
  • Testing gr_vmcircbuf_mmap_shm_open_factory...
  • gr_vmcircbuf_mmap_shm_open: mmap or shm_open is not available
  • ....... gr_vmcircbuf_mmap_shm_open_factory: Doesn't work
  • Testing gr_vmcircbuf_mmap_tmpfile_factory...
  • ....... gr_vmcircbuf_mmap_tmpfile_factory: OK
  • gr_vmcircbuf_mmap_shm_open: mmap or shm_open is not available
  • gr_buffer::allocate_buffer: failed to allocate buffer of size 64 KB

  • The full output is at http://pastebin.com/Nk9UQVLh

    I thought because it was tripping up at 

      void *first_copy = shmat (shmid2, 0, 0);
      if (first_copy == (void *) -1){
        perror ("gr_vmcircbuf_sysv_shm: shmat (1)");
        shmctl (shmid_guard, IPC_RMID, 0);
        shmctl (shmid2, IPC_RMID, 0);
        shmctl (shmid1, IPC_RMID, 0);
        throw std::runtime_error ("gr_vmcircbuf_sysv_shm");
      }

    That I should try increasing the OS shared memory allocations but this didn't seem to make any difference.

    Does anyone have any pointers as to where I should be looking?

    Thanks,

    Steven.

    Attachment: smime.p7s
    Description: S/MIME cryptographic signature


    reply via email to

    [Prev in Thread] Current Thread [Next in Thread]