* shm_open <Shared Memory> in OSF/1 ?
@ 1998-07-02 4:00 onions
1998-07-02 4:00 ` Jeff Denham
0 siblings, 1 reply; 2+ messages in thread
From: onions @ 1998-07-02 4:00 UTC (permalink / raw)
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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: shm_open <Shared Memory> in OSF/1 ?
1998-07-02 4:00 shm_open <Shared Memory> in OSF/1 ? onions
@ 1998-07-02 4:00 ` Jeff Denham
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Denham @ 1998-07-02 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-07-02 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-02 4:00 shm_open <Shared Memory> in OSF/1 ? onions
1998-07-02 4:00 ` Jeff Denham
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox