symbol redefined in curses library

Jay Libove libove at vi.ri.cmu.edu
Mon Sep 5 01:03:38 AEST 1988


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 at andrew.cmu.edu or libove at cs.cmu.edu)
5731 Centre Avenue, Apt 3
Pittsburgh, PA 15206
(412) 362-8983
-- 
Jay Libove (libove at andrew.cmu.edu or libove at cs.cmu.edu)
5731 Centre Avenue, Apt 3
Pittsburgh, PA 15206
(412) 362-8983



More information about the Comp.unix.xenix mailing list