home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / aix / 9597 < prev    next >
Encoding:
Text File  |  1992-09-11  |  786 b   |  26 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!sun-barr!ames!fxgrp!franco
  3. From: franco@fx.com (Frank Minjarez)
  4. Subject: using kernex.exp
  5. Message-ID: <1992Sep11.230555.12331@fx.com>
  6. Keywords: linking 
  7. Sender: news@fx.com
  8. Organization: FXD/Telerate, Mountain View, CA
  9. Date: Fri, 11 Sep 1992 23:05:55 GMT
  10. Lines: 14
  11.  
  12. This is probably a bonehead question so hopefully I'll get a lot replies.
  13.  
  14. I'm trying to use the kernel extension "pinu" subroutine in an application
  15. to lock a mapped file into memory.  However, the pinu subroutine call causes
  16. a segmentation violation.  My compile/link looks like this:
  17.  
  18.     cc -c test.c
  19.     ld -o test test.o -bI:/lib/kernex.exp
  20.  
  21. If this is totally wrong and I can't link an application like this then
  22. does anyone know of an AIX equivalent to mlock.
  23.  
  24. thanks,
  25. --f
  26.