On Sun, Mar 23, 2003 at 01:55:03AM -0800, Hongbo Li wrote: > I just run a example program from the book unp2v2 > written W.Richard Stevens. The program includes a call > to sem_open. The compilation was ok. But when I run it > on FreeBSD 5-current(recent),the system print "Bad > system call (core dumped)". The program code :
I get the same problem. Read the man page for sem(4) which explains the kernel option or kernel module that needs to be used for POSIX semaphores to work. However, I am not sure that this man page is entirely correct, since if I do: kldload sem I get "No such file or directory". -- Craig Rodrigues http://home.attbi.com/~rodrigc [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message