Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!ht!spt!mdc From: mdc@spt.entity.com (Marty Connor) Newsgroups: comp.unix.xenix Subject: Re: Question re: curses in SCO Xenix? Message-ID: <200@spt.entity.com> Date: 8 Mar 89 12:58:23 GMT References: <574@sunset.MATH.UCLA.EDU> Reply-To: mdc@spt.UUCP (Marty Connor) Distribution: usa Organization: Hacks 'R' Us, Cambridge, MA Lines: 41 In article <574@sunset.MATH.UCLA.EDU> tony@MATH.UCLA.EDU () writes: > >cc -Ml -LARGE -s -SEG256 admin.o chg_dir.o curses.o d_delete.o ... ... >x_menu.o x_rcv.o x_send.o x_win.o xmodem.o -o pcomm -ltermlib -lcurses >/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 >Pcomm source files. I also did a strings * | grep nap in /usr/lib hoping >that I was linking in the wrong library but the only thing I got was >an argentinapeso. Try adding "-lx" to your list of libraries. The nap() function takes a long arg of 'milliseconds to sleep' and suspends a process for at least that amount of time. >Tony Lei >tony@math.ucla.edu a couple more lines for our good friend rn. -- ---------------- Marty Connor Director of Innovation, The Entity mdc@entity.com, ...{harvard|uunet}!mit-eddie!spt!mdc