Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bloom-beacon!gatech!ukma!david From: david@ms.uky.edu (David Herron -- Resident E-mail Hack) Newsgroups: comp.sys.att,comp.bugs.sys5 Subject: /lib/shlib does not have ALL of -lcurses in 3.51 (UNIX_PC) Message-ID: <7306@e.ms.uky.edu> Date: Tue, 22-Sep-87 13:14:43 EDT Article-I.D.: e.7306 Posted: Tue Sep 22 13:14:43 1987 Date-Received: Thu, 24-Sep-87 05:34:27 EDT Organization: U of Ky, Math. Sciences, Lexington KY Lines: 35 Xref: mnetor comp.sys.att:1286 comp.bugs.sys5:246 Problem: In trying to link "sc" (posted recently to comp.sources.unix) I got the following unknown symbols: stdscr wmove, wclrtoeol, wclrtobot, wstandout, wstandend waddstr, clearok, wclear, wgetch, mvprintw These are all nice standard curses things. Grepping in /lib/shlib.ifile I find that those guys aren't listed in there. These guys *are* in /usr/lib/libcurses.a, but if I include this in the linking I get lots and lots of redefined symbols. If I do something else, namely extract the following files from libcurses.a: move.o, cleartoeol.o, clrtobot.o, standout.o, addstr.o, clearok.o clear.o, getch.o, mvprintw.o I get other undefined symbols. I'm sure if I iterate through this some more I'll end up snarfing up all of libcurses.a... sigh. Diagnosis: Well, obviously shlib doesn't have everything... Fix: I've got lots of suggestions: 1. Split shlib out into a number of libraries, shcurses, shc, shm, etc. 2. Set things up like on SysVr3 with -lc_s and friends. 3. Put *all* of libcurses.a into shlib. Any other suggestions? -- <---- David Herron, Local E-Mail Hack, david@ms.uky.edu, david@ms.uky.csnet <---- {rutgers,uunet,cbosgd}!ukma!david, david@UKMA.BITNET <---- <---- Je parle francais comme une vache espagnole.