Question re: curses in SCO Xenix?

tony at joshua.math.ucla.edu tony at joshua.math.ucla.edu
Wed Mar 8 08:31:29 AEST 1989


Hello Netland,

I'd like to start by thanking Rich Skrenta <skrenta at blekko.home.nwu.edu>
for the following to my inquiry regarding the heap space error:

>Try adding the option -LARGE to the cc line which is bombing.  In all
>but the most recent versions of Xenix this will invoke a version of the
>compiler that -- I guess -- has more heap space.  I got some version
>of procomm to work under xenix, I don't remember which one...

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:

cc -Ml -LARGE -s -SEG256   admin.o chg_dir.o curses.o d_delete.o  
d_lib.o d_manual.o d_menu.o d_print.o d_prompt.o d_revise.o  data_log.o 
di_delay.o di_win.o dial.o expand.o help.o info.o  init.o line_set.o list_dir.o
ls_menu.o m_lib.o macro.o main.o  n_shell.o p_lib.o passthru.o pexit.o port.o 
redial.o s_axfer.o  s_gen.o s_menu.o s_modem.o s_prompt.o s_term.o s_tty.o 
screen.o  st_line.o strings.o terminal.o x_ascii.o x_batch.o x_extrnl.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.

I hope someone out there can explain this.

Thanks in advance.


Tony Lei
tony at math.ucla.edu



More information about the Comp.unix.xenix mailing list