Re: sem_open / how to use NPTL? [SOLVED]

2004-12-24 Thread Viktor Horvath
From: "Viktor Horvath" <[EMAIL PROTECTED]> [...] Although some otherwise nice texts in the internet like this[1] claim that you don't need to have /dev/shm mounted to have named semaphores, at least my systems really needs it mounted. The second I unmounted it I got the f

Re: sem_open / how to use NPTL? [SOLVED]

2004-12-24 Thread Viktor Horvath
Hi folks, I posted my problem in the debian-glibc mailing list, and Goto Masanori answered a few lines completely solving my problem. You need tmpfs mounted at /dev/shm. Probably most people have this, I didn't, as I didn't want to waste ressources and I didn't see the consequences. So, if anyon

Re: sem_open / how to use NPTL?

2004-12-20 Thread Viktor Horvath
Sorry. Compiled flawlessly. Executes without saying anything. HTH H Hello Hugo, sorry for the delay, I was travelling to my family for Christmas... I'm still stuck with this NPTL issue. Thanks a lot for your command line arguments to g++, but here, it remains the same thing: Compiling works, run

Re: Hardware hassles: Linux vs. Windows

2004-12-15 Thread Viktor Horvath
From: Christian Convey [...] By "easier" I mean, for instance: - All digital photo apps are able to see a camera. Wait a minute. This is a new demand. Here you can see how Debian differs from the mentioned "non-geek" distros, and I'll try to explain that there is no arrogance in this distinction.

Re: sem_open / how to use NPTL?

2004-12-15 Thread Viktor Horvath
Hello Hugo, Compiled flawlessly. I should have been more precise: Compiling works. The interesting question is: Does it *run* with saying nothing (good, NPTL works) or does it say "Function not implemented", which was my problem? Thanks, Viktor. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] wi

Re: sem_open / how to use NPTL?

2004-12-15 Thread Viktor Horvath
Don't know if the the default glibc in Debian ("libc6") supports NPTL, for sure seems that "libc6-i686" does it... Hello Andrea, yes, I know, that's why I installed libc-i686 which is supposed to coexist with libc6. But I must be be doing something wrong, as apparently, I can't use named semaphor

sem_open / how to use NPTL?

2004-12-14 Thread Viktor Horvath
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 min