Question re: curses in SCO Xenix?

Jonathan Bayer jbayer at ispi.UUCP
Fri Mar 10 01:35:07 AEST 1989


In article <574 at sunset.MATH.UCLA.EDU> tony at 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 at ispi.UUCP



More information about the Comp.unix.xenix mailing list