* using mlock()
@ 1997-09-25 15:26 Lawrence MacIntyre
0 siblings, 0 replies; only message in thread
From: Lawrence MacIntyre @ 1997-09-25 15:26 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-09-25 15:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-25 15:26 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