tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Lawrence MacIntyre <lpz () nautique ! epm ! ornl ! gov>
To: tru64-unix-managers
Subject: (SUMMARY) using mlock()
Date: Thu, 25 Sep 1997 16:37:35 +0000	[thread overview]
Message-ID: <96078617110591.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~1997-09-25 16:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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