From owner-freebsd-questions Mon Jan 26 02:18:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA06736 for questions-outgoing; Mon, 26 Jan 1998 02:18:10 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA06728 for ; Mon, 26 Jan 1998 02:18:05 -0800 (PST) (envelope-from toor@dyson.iquest.net) Received: (from root@localhost) by dyson.iquest.net (8.8.8/8.8.8) id FAA00468; Mon, 26 Jan 1998 05:17:59 -0500 (EST) (envelope-from toor) Message-Id: <199801261017.FAA00468@dyson.iquest.net> Subject: Re: I cannot excute semaphore parogram. In-Reply-To: <01BD2A8D.AF7B7160@d27.tsu-usr1.nisiq.net> from Yamauchi Koji at "Jan 26, 98 05:30:00 pm" To: yama-ko@mx2.nisiq.net (Yamauchi Koji) Date: Mon, 26 Jan 1998 05:17:59 -0500 (EST) Cc: questions@FreeBSD.ORG From: "John S. Dyson" Reply-To: dyson@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk Yamauchi Koji said: > Hello! I'm Koji Yamauchi in Japan. > > #./sem1 > Bad System Call ( core dumped ) > Jan 26 12:50:26 myname /kernel: cmd sem1 pid 208 tired to use non-present SYSVSEM > Jan 26 12:50:26 myname /kernel: cmd sem1 pid 208 tired to use non-present SYSVSEM > # > > Why can I excute this program. Please tell me. > Thank you for reading my E-mail. > For this to work, you need to add the following line(s) to your kernel config file (might as well add all of them), and rebuild your kernel: options SYSVSHM options SYSVSEM options SYSVMSG Those system calls are not normally provided in the distributed kernel (I guess.) -- John | Never try to teach a pig to sing, dyson@freebsd.org | it just makes you look stupid, jdyson@nc.com | and it irritates the pig.