Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jan 1999 09:21:37 -0800 (PST)
From:      Mike Meyer <mwm@phone.net>
To:        "Nguyen, My" <myn@exchange.SanDiegoCA.NCR.com>
Cc:        "'freebsd-questions@FreeBSD.org'" <freebsd-questions@FreeBSD.ORG>, "'rfi@sparc.sandiegoca.ncr.com'" <rfi@sparc.sandiegoca.ncr.com>, "'rtb@sparcs.sandiegoca.ncr.com'" <rtb@sparcs.sandiegoca.ncr.com>
Subject:   Re: System V semaphores supported?
Message-ID:  <Pine.BSF.4.05.9901060920130.25797-100000@guru.phone.net>
In-Reply-To: <199901061710.JAA19892@ncr-sd.SanDiegoCA.NCR.COM>

next in thread | previous in thread | raw e-mail | index | archive | help
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

	<mike


On Wed, 6 Jan 1999, Nguyen, My wrote:

> Date: Wed, 6 Jan 1999 09:11:26 -0800
> From: "Nguyen, My" <myn@exchange.SanDiegoCA.NCR.com>
> To: "'freebsd-questions@FreeBSD.org'" <freebsd-questions@FreeBSD.ORG>
> Cc: "'rfi@sparc.sandiegoca.ncr.com'" <rfi@sparc.sandiegoca.ncr.com>,
     "'rtb@sparcs.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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9901060920130.25797-100000>