Hello everybody,
forgive me for bothering you, but after hours and hours of searching, I'm
stuck. For my university, I've to program some easy things with POSIX.4
semaphores. I know that I need kernel 2.6 and NPTL for that, and I have
kernel 2.6.7, gcc 3.3.5 and libc6-i686 well installed. But a minimal
program, shown below, compiled with "gcc -o minimal -lpthread minimal.c"
keeps saying "sem_open: function not implemented" as if I were still
using
old LinuxThreads. However, getconf says:
$ getconf _POSIX_SEMAPHORES
1
$ getconf GNU_LIBPTHREAD_VERSION
NPTL 0.60
On Fedora Cora 2 (computer at my university that I connected via ssh), it
works flawlessly. What am I missing?