Re: Bad system call (core dumped)

From: Joseph Koshy <joseph.koshy_at_gmail.com>
Date: Tue, 14 Feb 2006 11:10:51 +0530
bd>    800 xchat    CALL  ksem_init(0xbfbfd40c,0x1)
bd>    800 xchat    RET   ksem_init -1 errno 78 Function not implemented
bd>    800 xchat    PSIG  SIGSYS SIG_DFL
bd>    800 xchat    NAMI  "xchat.core"

bd> Like, I have no some "ksem_init" function in my.... kernel or something?

dx> You should include "options  P1003_1B_SEMAPHORES" in kernel config
dx> file, I don't know why such a basic is not in GENERIC.

sys/conf/NOTES marks it as being 'very experimental'.

There are three calls to ksem_init() in our library code.   Userland code
should be checking for kernel support for features before attempting to
use them.

--
FreeBSD Volunteer,     http://people.freebsd.org/~jkoshy
Received on Tue Feb 14 2006 - 04:40:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:52 UTC