Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!romp!auschs!awdprime!chukran.austin.ibm.com!rudy From: rudy@chukran.austin.ibm.com Newsgroups: comp.unix.aix Subject: Re: vn_ routines Message-ID: <5849@awdprime.UUCP> Date: 12 Mar 91 17:39:21 GMT References: <1991Mar8.002636.4940@nmt.edu> Sender: news@awdprime.UUCP Reply-To: rudy@chukran.austin.ibm.com () Organization: IBM Advanced Workstation Division Lines: 25 In article <1991Mar8.002636.4940@nmt.edu>, rmilner@zia.aoc.nrao.edu (Ruth Milner) writes: > > Does anyone know where all the vn_ routines are kept? Only two of them are > described as "kernel services", the rest are all "subroutines". But ld can't > find them in the standard libraries, and despite doing "ar t" on all the .a > files in /lib and /usr/lib, none of them show up anywhere. These routines are in the kernel. To resolve them at link time, you need to add the following option to your link command. -bI:/lib/kernex.exp This tells ld that those symbols contained in that file are resolved from /unix (this is the first line of that file). When the program is loaded those symbols are resolved by the loader. See "Kernel Extension Binding" in info. ********************************************************************* Rudy Chukran | EMAIL: IBM AIX Porting Center | RSCS: CHUKRAN at AUSTIN 11400 Burnet Rd. | AWDnet: rudy@chukran.austin.ibm.com Internal ZIP 2830 | internet: chukran@austin.iinus1.ibm.com Austin, Texas 78758 | Voice: 512-838-4674 Tieline: 678-4674 *********************************************************************