[comp.unix.xenix] symbol redefined in curses library

libove@vi.ri.cmu.edu (Jay Libove) (09/04/88)

On SCO Xenix 2.2.1, with development system 2.2.1, I tried to build a
fairly old distribution of mush 6.3, with CFLAGS:

cc -O -DSYSV -Ml2e -DCURSES -DREGCMP -DUSG -LARGE -c (modules).c

and then to link with:

cc -X -Ml2e -lx -F 4000 *.o -lcurses -ltermcap -o mush

and I got:
loading...
/lib/Llibcurses.a(ttstuff.c) : error '_intr' : symbol defined more than once
 pos: a28f Record type: 90
*** Error code 1

Stop.

When I installed the development system 2.2.1 I told it to make
curses (not termlib) the default routines.

Can anyone suggest how to get around this interesting little problem?
I copied the /lib/Llibcurses.a library and removed ttstuff.o from it
(since ttstuff.c was listed on the error line) and linked with that,
and got mounds and mounds of other multiply defined symbol errors...

Thanks!
Jay Libove (libove@andrew.cmu.edu or libove@cs.cmu.edu)
5731 Centre Avenue, Apt 3
Pittsburgh, PA 15206
(412) 362-8983
-- 
Jay Libove (libove@andrew.cmu.edu or libove@cs.cmu.edu)
5731 Centre Avenue, Apt 3
Pittsburgh, PA 15206
(412) 362-8983