sem*

Prototypes for semget, semctl, semop are in sys/sem.h but I can’t find them
in any libraries?

  • Mario

Right. This confuses the hell out of configure scripts looking for those…
Been reported and known for ages.

I guess, ‘talk to your sales rep’.

“Mario Charest” postmaster@127.0.0.1 wrote in message
news:cphtpt$jk7$1@inn.qnx.com

Prototypes for semget, semctl, semop are in sys/sem.h but I can’t find
them
in any libraries?

  • Mario

Hi…

…but is there a known solution or workaround? Thanks.

Regards…

Miguel.


Igor Kovalenko wrote:

Right. This confuses the hell out of configure scripts looking for those…
Been reported and known for ages.

I guess, ‘talk to your sales rep’.

“Mario Charest” postmaster@127.0.0.1 wrote in message
news:cphtpt$jk7$> 1@inn.qnx.com> …

Prototypes for semget, semctl, semop are in sys/sem.h but I can’t find

them

in any libraries?

  • Mario

    \

a) Rename the header as useless (but if your software requires them, you
have to hack it away to use POSIX IPC)
b) implement SysV IPC API, put into a library and link with it.

I believe there’s an unofficial partial implementation somewhere in the
download section (semaphores only, AFAIR).

– igor

“Miguel Simon” <simon@ou.edu> wrote in message
news:cpj2fi$dvb$1@inn.qnx.com

Hi…

…but is there a known solution or workaround? Thanks.

Regards…

Miguel.


Igor Kovalenko wrote:
Right. This confuses the hell out of configure scripts looking for
those…
Been reported and known for ages.

I guess, ‘talk to your sales rep’.

“Mario Charest” postmaster@127.0.0.1 wrote in message
news:cphtpt$jk7$> 1@inn.qnx.com> …

Prototypes for semget, semctl, semop are in sys/sem.h but I can’t find

them

in any libraries?

  • Mario
    \

Mario Charest postmaster@127.0.0.1 wrote:

Prototypes for semget, semctl, semop are in sys/sem.h but I can’t find them
in any libraries?

PR 21355 (issued Aug, 2004) describes this problem. It is currently
FIXED-TEST, but I don’t know what/when the update will be available,
but those prototypes have been commented out in the fixed version.

-David

David Gibbs
QNX Training Services
dagibbs@qnx.com