Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Jeff Denham <jdenham@brighttiger.com>
Subject: Re: shm_open <Shared Memory> in OSF/1 ?
Date: 1998/07/02	[thread overview]
Message-ID: <359B8714.9FC0E0FF@brighttiger.com> (raw)
In-Reply-To: 6nfmm3$dmb$1@news.nuri.net


onions@interpia.net wrote:

> RE: shm_open <Shared Memory> in OSF/1  ?
>
> I need to know how to handle shared memory.
> According to "Guide to Realtime programming" of OSF/1 manual,
> there are functions of shm_open, shm_unlink, etc.
> I found those are good for example and I tried to compile
> one of the sample code from the book.
> Upon compiling of the code, however, I am getting link error.
>
>         $> cc -g digital.c
>         ld:
>         Unresolved:
>         shm_open
>         shm_unlink
>         memlk
>         $>
>
> Do I missing any other Compiling options ?
>
> Any info on this will be appreciated.
> Any code sample will be much appreciated.
>
> onions(onions@doosan.com)

Those functions live in the realtime library. So, add compile
like this:

    $ cc -g digital.c -lrt

__________________________________________________
Jeff Denham (jdenham@brighttiger.com)

Bright Tiger Technologies
SmartCluster� Software for Distributed Web Servers
http://www.brighttiger.com

125 Nagog Park
Acton, MA 01720
Phone: (978) 263-5455 x177
Fax:   (978) 263-5547





      reply	other threads:[~1998-07-02  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-02  4:00 shm_open <Shared Memory> in OSF/1 ? onions
1998-07-02  4:00 ` Jeff Denham [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox