Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!sun!pitstop!sundc!seismo!uunet!ispi!jbayer From: jbayer@ispi.UUCP (Jonathan Bayer) Newsgroups: comp.unix.xenix Subject: Re: Question re: curses in SCO Xenix? Message-ID: <484@ispi.UUCP> Date: 9 Mar 89 15:35:07 GMT References: <574@sunset.MATH.UCLA.EDU> Reply-To: jbayer@ispi.UUCP (Jonathan Bayer) Distribution: usa Organization: Intelligent Software Products, Inc. Lines: 34 In article <574@sunset.MATH.UCLA.EDU> tony@MATH.UCLA.EDU () writes: > >I managed to get Pcomm2 to compile but am now having a problem during >the linking phase. I get the following when I try to link: [deleted] >/bin/ld: Unresolved externals: > > >_nap in file(s): > /lib/Llibcurses.a(getch.c) >*** Error code 1 > >Stop. > > >My question is what is _nap? I could not find it in any of the I have said it before, I will say it again. RTFM RTFM RTFM. By examining the output you will see that _nap is referenced in the curses library. By looking in the Programmers Reference Manual for "nap" you will find a manual page for it. On that page you will see that it has to be linked in with the linker option "-lx" JB -- Jonathan Bayer Beware: The light at the end of the Intelligent Software Products, Inc. tunnel may be an oncoming dragon 19 Virginia Ave. ...uunet!ispi!jbayer Rockville Centre, NY 11570 (516) 766-2867 jbayer@ispi.UUCP