Path: utzoo!utgpu!watmath!att!tut.cis.ohio-state.edu!bloom-beacon!athena.mit.edu!jstravis From: jstravis@athena.mit.edu (John S. Travis) Newsgroups: comp.windows.x Subject: Re: Linking Libraries/Undefined variables Message-ID: <13493@bloom-beacon.MIT.EDU> Date: 15 Aug 89 00:16:34 GMT References: <12086@orstcs.CS.ORST.EDU> <13489@bloom-beacon.MIT.EDU> Sender: daemon@bloom-beacon.MIT.EDU Reply-To: jstravis@athena.mit.edu (John S. Travis) Organization: Massachusetts Institute of Technology Lines: 17 I wrote.... w20-575-59% compile oneline.c -lXw -lXt -lX11 -g Undefined: _tempnam )What the heck is tempnam????!!! I have fgrep almost every file I can think of for it and it is NOWHERE! I'll include the code below. But, I'm going crazy trying to eliminate this error. (Probably a real stupid mistake...but TELL me I can take it.Thanks) Well, the search narrows. Tmpnam or Tempnam supposedly a program in the C lib, that is called by the HP widgets. However, tmpnam is not in OUR C lib at MIT as far as I can tell. Is is a common function on most systems. And would someone send the code for it so I can include it in my program, sincle C lin doesn't have it? Thanks in advance. john travis jstravvis@athena.mit.edu