* (SUMMARY) using mlock()
@ 1997-09-25 16:37 Lawrence MacIntyre
0 siblings, 0 replies; only message in thread
From: Lawrence MacIntyre @ 1997-09-25 16:37 UTC (permalink / raw)
To: tru64-unix-managers
I wrote:
>I want to use the mlock() and munlock() subroutines. The man page
>doesn't suggest any special linking options, but when I try to link a
>program using them, I get:
>
>nautique> cc -g -o duatmloop duatmloop.c
>ld:
>Unresolved:
>memlk
(and some more stuff)
Randy Hayman <haymanr@icefog.sois.alaska.edu> wrote:
>try:
>
>cc -g -o duatmloop -lrt duatmloop.c
>
>to link with the librt.so version
It works perfectly. Thanks, Randy!
--
Lawrence
~
------------------------------------------------------------------------
Lawrence MacIntyre Oak Ridge National Laboratory 423.574.8696
lpz@ornl.gov http://www.epm.ornl.gov/~lpz lpz@nautique.epm.ornl.gov
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-09-25 16:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-25 16:37 (SUMMARY) using mlock() Lawrence MacIntyre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox