help - compiling grass4.1 on Solaris 2.2 ?

FLAGGS at VTVM1.CC.VT.EDU FLAGGS at VTVM1.CC.VT.EDU
Thu Sep 9 12:33:05 EDT 1993


Hi,
I'm  compiling Grass4.1 on Sun Sparcstation LX running Solaris2.2.

I have problems compiling programs which link -lcurses and -ltermlib
The error message looks as shown below:
=============================================================
/export/home/grass/source/src/display/d.3d
/export/home/grass/source/src/libes/LIB/libvask.a -lcurses -ltermlib -lm

ld: fatal: symbol `Def_term' is multiply defined:
        (file /usr/ucblib/libcurses.a(curses.o) and file
 /usr/ccs/lib/libtermlib.a(setupterm.o));
ld: warning: symbol `ttytype' has differing sizes:
        (file /usr/ucblib/libcurses.a(curses.o) value=0x32; file
 /usr/ccs/lib/libtermlib.a(setupterm.o) value=0x80);
        /usr/ccs/lib/libtermlib.a(setupterm.o) definition taken
ld: fatal: File processing errors.  No output written to
 /export/home/grass/source/etc/bin/main/inter/d.3d
*** Error code 1
make: Fatal error: Command failed for target
 `/export/home/grass/source/etc/bin/main/inter/d.3d'
GISGEN failure at STEP: src/display/d.3d
=============================================================


My setup file looks as shown here :
============================================================
MATHLIB             = -lm
TERMLIB             = -ltermlib
CURSES              = -lcurses

============================================================
Anyone else encounter this problem?  Any help is appreciated.

Thanks
G.K



More information about the grass-user mailing list