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_at_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_at_ornl.gov http://www.epm.ornl.gov/~lpz lpz_at_nautique.epm.ornl.gov
Received on Thu Sep 25 1997 - 19:07:54 NZST