shmget: Function not implemented?
Jose Salazar
wwp06d-ars at yahoo.co.uk
Fri Dec 14 17:56:07 UTC 2012
Hello,
I'm using uClibc-0.9.33.2 as the toolchain on my buildroot build and it looks as if functions shmget and shmctl are not implemented!
On browsing through the mailing lists, I heard of a patch that adds this functionality. More browsing led me to uClibc-0.9.33.2/libc/misc/sysvipc/shm.c, where it looks to be implemented.
Here is the strace for the program I ran:
shmget(0x39447, 5288, 0666) = -1 ENOSYS (Function not implemented)
shmget(0x43929, 11128, 0666) = -1 ENOSYS (Function not implemented)
shmget(0x5464e, 1095128, 0666) = -1 ENOSYS (Function not implemented)
semget(0x7e38, 1, IPC_CREAT|0666) = -1 ENOSYS (Function not implemented)
shmget(0x65c15, 441056, 0666) = -1 ENOSYS (Function not implemented)
shmget(0x8aa52, 4264, 0666) = -1 ENOSYS (Function not implemented)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Shared library libuClibc-0.9.33.2.so has the function shmget while the library the program is linked to, ld64-uClibc-0.9.33.2.so, does not.
I think I'm missing something blatant. Any help is appreciated.
Thanks,
Jose
More information about the uClibc
mailing list