GRASS4.1 & Solaris 2.2
mccauley at ecn.purdue.edu
Wed Aug 11 14:14:06 EDT 1993
Ronald Thomas (ront at niwot.CFNR.ColoState.EDU) writes on 11 Aug 93:
>We are attempting to compile GRASS4.1 on a SPARClassic running Solaris
>2.2, using gcc 2.4.5 as the compiler:. We are getting a failure at
I did it under 2.1 with Sun's C.
>/src/libes/gis , with error messages showing
>intr_char.c: In function 'G_intr_char':
>intr_char.c:17 storage size of 'buf' not known
>intr_char.c:19 'TIOCGETC' undeclared
>*** Error code 1
>make: fatal error: ....
>GISGEN failure at step: /src/libes/GIS
>Any ideas as to why we are bombing out so early in the compilation?
yes, one quick peek at intr_char.c reveals the problem
>We are using the following "head" file:
>COMPILE_FLAGS = -ansi -w
^^^^ this may or may not cause problems later
>XCFLAGS = -D_NO_PROTO
you may need:
XEXTRALIBS = -lsocket -lnsl
depending on which linker you are using
Here's the problem:
USE_TERMIO = -DUSE_TERMIO
Hope this helps.
More information about the grass-user