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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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?
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
Then I issue this command:
mount -t shm shmfs /dev/shm
and vector_test works fine.