Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jan 1998 05:17:59 -0500 (EST)
From:      "John S. Dyson" <dyson@FreeBSD.ORG>
To:        yama-ko@mx2.nisiq.net (Yamauchi Koji)
Cc:        questions@FreeBSD.ORG
Subject:   Re: I cannot excute semaphore parogram.
Message-ID:  <199801261017.FAA00468@dyson.iquest.net>
In-Reply-To: <01BD2A8D.AF7B7160@d27.tsu-usr1.nisiq.net> from Yamauchi Koji at "Jan 26, 98 05:30:00 pm"

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801261017.FAA00468>