From owner-freebsd-questions Wed Jan 6 09:22:06 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA08992 for freebsd-questions-outgoing; Wed, 6 Jan 1999 09:22:06 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from guru.phone.net (guru.phone.net [209.157.82.120]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA08983 for ; Wed, 6 Jan 1999 09:22:05 -0800 (PST) (envelope-from mwm@phone.net) Received: (qmail 22044 invoked by uid 100); 6 Jan 1999 17:21:37 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 6 Jan 1999 17:21:37 -0000 Date: Wed, 6 Jan 1999 09:21:37 -0800 (PST) From: Mike Meyer To: "Nguyen, My" cc: "'freebsd-questions@FreeBSD.org'" , "'rfi@sparc.sandiegoca.ncr.com'" , "'rtb@sparcs.sandiegoca.ncr.com'" Subject: Re: System V semaphores supported? In-Reply-To: <199901061710.JAA19892@ncr-sd.SanDiegoCA.NCR.COM> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You've got to have the SYSVSEM option enabled in your kernel. Various things want that, as well as the rest of the SysV shared memory things. You can turn them all on like so: # This provides support for System V shared memory. # options SYSVSHM options SYSVSEM options SYSVMSG Date: Wed, 6 Jan 1999 09:11:26 -0800 > From: "Nguyen, My" > To: "'freebsd-questions@FreeBSD.org'" > Cc: "'rfi@sparc.sandiegoca.ncr.com'" , "'rtb@sparcs.sandiegoca.ncr.com'" > Subject: System V semaphores supported? > > Hi, > > I've looked through the FreeBSD reference pages and it appears that the > semaphore functions are complete without any related bugs documented. > > However, when I tried to compile and execute the "semget" function, I > get the following error message followed by a core dump: > > semget: unsupported service system V system call > > > My main question is, > Does FreeBSD 4.0 support System V semaphores? > If so, are there libraries which needs to be linked or special > installation/configuration needed to get semaphores to work properly? > > Thanks, > -My > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message