Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!uwvax!persoft!gorgon!dag From: dag@gorgon.uucp (Daniel A. Glasser) Newsgroups: comp.unix.sysv386 Subject: Re: Missing C library functions in INTERACTIVE 386/ix 2.0.2? Message-ID: <1991Jan06.031528.19222@gorgon.uucp> Date: 6 Jan 91 03:15:28 GMT References: <10325@bunny.GTE.COM> Organization: Perseus Reductions (Medusa Division) Lines: 20 In article <10325@bunny.GTE.COM> jdg0@GTE.COM (Jose Diaz-Gonzalez) writes: >My libc.a seems to be missing the functions defined in regcmp(3) (regcmp >and regex). I tried the shared library version with no luck. Nm does not >find it in either one. Any ideas? Cheers, regex/regcmp are found in libPW.a (/lib/libPW.a) and not in libc.a (or libc_s, for that matter.) Tack "-lPW" after your other files in the link stage, and you'll get them. This is true for ISC 2.0.2 and ISC 2.2, and I suspect most other versions. (I don't know about other flavors/versions of SysV, but that's where it was in SysIII too.) Many people will post "RTFM" responses, but actually, the ISC man pages for regex and regcmp don't mention libPW at all. (My sys-3 man pages do list libPW.a in the FILES section.) -- Daniel A. Glasser One of those things that goes dag%gorgon@persoft.com "BUMP! (ouch!)" in the night.