Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sunybcs!westpt!bill From: bill@westpt.usma.edu (Bill Gunshannon) Newsgroups: comp.lang.c,comp.unix.questions Subject: Re: A little prob with curses. Message-ID: <847@westpt.usma.edu> Date: Thu, 2-Jul-87 10:37:06 EDT Article-I.D.: westpt.847 Posted: Thu Jul 2 10:37:06 1987 Date-Received: Sat, 4-Jul-87 06:34:54 EDT References: <1032@killer.UUCP> Organization: US Military Academy, West Point, NY Lines: 25 Summary: curses -- termlib -- termcap Xref: mnetor comp.lang.c:2778 comp.unix.questions:3048 In article <1032@killer.UUCP>, robertl@killer.UUCP (Robert Lord) writes: > > I issue the command 'cc file.c -lcurses' > and it after a while it says: > > /bin/ld: Unresolved externals: > > _tgoto in file(s): > /lib/Slibcurses.a(cr_tty.c) /lib/Slibcurses.a(cr_put.c) > The problem is that all the routines you need aren't in Slibcurses.a. You will also need to include either Slibtermcap.a or Slibtermlib.a. I have seen either or both on various machines and they are usually just a copy of each other so it doesn't matter which one you use. So, try 'cc file.c -lcurses -ltermlib' and good luck. bill gunshannon UUCP: {philabs,phri}!westpt!bill PHONE: (914)446-7747 US SNAIL: Martin Marietta Data Systems RADIO: KB3YV USMA, Bldg 600, Room 26 AX.25 KB3YV @ WA2RKN West Point, NY 10996