Compiling GRASS 4.1 on Sun Ultra

Sandra Archilli sarchilli.tke at dinonet.it
Fri Nov 29 05:23:13 EST 1996


Hi all,
        I'm a GRASS novice and I'm trying compling GRASS 4.1 update 5 on a
Sun Ultra with Sun Solaris 2.5.1 and related XWindows and Motif. My C
compiler is Sun C 3.0.1.
        I downloaded the source file s5.cpio.Z.* and the installation guide
from the Internet GRASS site. 

        These are my problems:
- the utils/setup script looks for the libXm.a Motif library, but I haven't
it. I have libXm.so.
I made a temporary link named "libXm.a" to libXm.so, so that setup could go.
But now, how can I link the object files using libXm.so? Are there any flags
that I shuold specify to the linker? Or should I also modify the source files?

- I got very much undefined symbol errors (TIOCGETC, chars, TIOCGLTC,
TIOCGETD, OTTYDISC, ODDP, RAW, EVENP, FIONREAD, CREAK, LLITOUT, TIOCLSET).
Have you any idea? I founded out these symbols in ttold.h, iocl.h, filio.h
etc. I included any of them in the source files: the compilation goes, but
what will happen??.

- During the compilation of  $GIS/src/xgrass/libes/Xgi directory, the
following types are unknown: XmMangerClassPart, XmPrimitiveClassPart, etc.
Shuold I include in the involved source files, the corrisponding
Xm/ManagerP.h, Xm/PrimitiveP.h, etc?

        Thanks,
        Sandra Archilli
-------------------------------------------------------------
   Sandra Archilli
   T.K.E. S.r.l
    via Santo Spirito 14
    50125 - Firenze - Italia
    tel. +39-55-28 93 52
    fax. +39-55-28 93 41
--------------------------------------------------------------



More information about the grass-user mailing list