Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!batcomputer!itsgw!steinmetz!uunet!auspex!guy From: guy@auspex.UUCP (Guy Harris) Newsgroups: comp.sys.hp Subject: Re: HP X11 include file problem Keywords: It's here! But... Message-ID: <1065@auspex.UUCP> Date: 24 Feb 89 21:04:38 GMT References: <508@mmlai.UUCP> Reply-To: guy@auspex.UUCP (Guy Harris) Organization: Auspex Systems, Santa Clara Lines: 15 >Several of my programs are bombing in compile because the >include file /usr/include/X11/Xos.h is looking for the >file and it can't find it. Hmmm.. This sounds >like a BSD dependancy. It is. declares a bunch of the string-manipulating functions ("strcpy", "strcmp", etc.); the S5 equivalent is . Note that "index" and "rindex" in V7 (and inherited by BSD) were renamed "strchr" and "strrchr" by AT&T; I don't know if HP/UX has "index" and "rindex", and if so whether it's in "libc" or a BSD compatibility library. As such, if the code uses either of them, it may have to be linked with a BSD compatibility library, or compiled with some pre#defined value to map "index" and "rindex" to "strchr" and "strrchr".