Xref: utzoo comp.sources.d:2963 comp.unix.questions:10294 Path: utzoo!attcan!uunet!convex!killer!texbell!bellcore!faline!thumper!ulysses!att!rutgers!hjuxa!kay From: kay@hjuxa.UUCP (KAY) Newsgroups: comp.sources.d,comp.unix.questions Subject: Re: Gwyn's Directory Library Message-ID: <1068@hjuxa.UUCP> Date: 18 Nov 88 20:37:44 GMT References: <283@ontenv.UUCP> Organization: Digital Equipment Corp, Manalapan NJ Lines: 28 I was going to use mail but it bounced. Sorry if I step on any toes. In article <283@ontenv.UUCP>, soley@ontenv.UUCP (Norman S. Soley) writes: > I've been trying to get Doug Gwyn's BSD/POSIX Directory access library > working on a SVR2 binary licence box (an NCR Tower 32/600 to be exact) > so far with little success. The documentation says that you can add > the object files to the libc.a library (fine OK, I can do this) but > then says some systems may require a rebuild of the symbol table after > doing that and suggests ranlib (which I don't have), I've RTFMed for > ar and ld and can see no answers there, any suggestions? The BSD 'ranlib' utility was incorporated into the standard 'ar' in System V (even before paging etc). If you have any object files in the library, a symbol table that 'ld' can read is written into the pseudo entry "/" in the archive (actually 'ranlib' uses a different name for the pseudo arcive). This is not obvious until the second reading of the code and much later reading of the FM. Since you are adding object files to a object library on SVr2 rather than BSD, this symbol table is automatically updated and the linker _should_ be able to find the routines you have added. There is no other utility to worry about. Relax, be happy! > Thanks, Norm You're welcome. Hope this helps. Good luck on the port. Paul Kay