Question re: curses in SCO Xenix?

Marty Connor mdc at spt.entity.com
Wed Mar 8 22:58:23 AEST 1989


In article <574 at sunset.MATH.UCLA.EDU> tony at 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 at math.ucla.edu

a
couple
more
lines
for
our
good
friend
rn.




-- 
----------------
Marty Connor
Director of Innovation, The Entity
mdc at entity.com, ...{harvard|uunet}!mit-eddie!spt!mdc



More information about the Comp.unix.xenix mailing list