From: Lawrence MacIntyre <lpz () nautique ! epm ! ornl ! gov>
To: tru64-unix-managers
Subject: using mlock()
Date: Thu, 25 Sep 1997 15:26:48 +0000 [thread overview]
Message-ID: <96078617110590.tru64-unix-managers.marc@archive.invalid> (raw)
Hi:
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
Using the following shell program, I found references to memlk in two
shareable libraries. Does anyone know how to link a program using
mlock?
cd /usr/shlib
foreach file (lib*.so)
>echo $file
>nm $file|grep memlk
>end
It found two:
librt.so
memlk | 0004395912625616 | T | 0000000000000008
libfpxr.so
memlk | 0000002123176608 | T | 0000000000000008
--
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 15:26 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