Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!rpi!crdgw1!uunet!bcstec!misty!jsadler From: jsadler@misty.boeing.com (Jim Sadler) Newsgroups: comp.sys.hp Subject: libc.a libresolv.a and strncasecomp() question Message-ID: <1150050@misty.boeing.com> Date: 19 Nov 90 18:01:57 GMT Organization: Boeing Commercial Airplane BCS Support Lines: 42 The bsd version of ftpd has a call to strncasecmp(). On a sun this is in the libresolv.a library. The HP does not have this library, most of the routines in the Sun library are in the /lib/libc.a on the HP. When I look at the libc.a nm shows: Symbols from /lib/libc.a[ruserpass.o]: Name Value Scope Type Subspace $global$ | |undef |data | __filbuf | |undef |code | Stuff deleted. getlong | 1856|sdef |entry |$CODE$ catch | 2480|static|entry |$CODE$ strcasecmp | 2504|static|entry |$CODE$ strncasecmp | 2608|static|entry |$CODE$ $THIS_DATA$ |1073741824|static|data |$DATA$ $THIS_BSS$ |1073742448|static|data |$BSS$ My first question is why does the linker give: ld: Unsatisfied symbols: strncasecmp (code) My second question is how do I get around this ? The reason I'm using the BSD version of ftpd is that it's been modified to provide the logging that we need. jim sadler 206-234-9009 email uunet!bcstec!jsadler | jsadler@misty.boeing.com This service is brought to you by the computing mafia of Boeing (BCS). Oh ya None of the above is an opinion of The Boeing Co. (If they found out that we had opinions they would probally create a new divison to figure out to hire opinionless employee's)