Menu

shared memory test fails

Help
jmears
2004-10-20
2013-02-27
  • jmears

    jmears - 2004-10-20

    I have installed and compiled allocator. I then changed into the test directory and typed make. Some tests passed OK, but it fails on this one:

    ----------------------------------------
    ./shared
    ----------------------------------------
    Shared memory class test.
            Allocate test
    0xbfffe8d0make: *** [run_test] Aborted

    Any ideas? I am using mandrake 9.2.

    John

     
    • jmears

      jmears - 2004-10-20

      Digging a little deeper, I find that the call to shm_open in shared_memory.h (line 913) fails, with this error (as printed by strerror):

      Function not implemented

      Any ideas?

       
      • Marc Bumble

        Marc Bumble - 2004-10-20

        John,

        Ulrich Drepper started implementing shm_open in one of the newer versions of glibc.  Its a newish POSIX standard call to access shared memory across a variety of Unix implementations.  Perhaps your version of mandrake is not using a version of glibc which include shm_open?

        Can you do a man on shm_open?

        Marc

         
    • jmears

      jmears - 2004-10-20

      Then I issue this command:

      mount -t shm shmfs /dev/shm

      and vector_test works fine.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.