Compilation error for Solaris 2.3

James Darrell McCauley mccauley at
Thu Oct 13 06:46:16 EDT 1994

Grass package (grass at writes on 5 Oct 94:
>Following the instructions in the grass4.1 installation manual, I managed
>as far as section 7.6, where the actual compilation starts. After a few
>minutes, my GISGEN script returns the following error message and halts:

>intr_char.c: In function `G_intr_char':
>intr_char.c:17: storage size of `buf' isn't known
>intr_char.c:19: `TIOCGETC' undeclared (first use this function)
>intr_char.c:19: (Each undeclared identifier is reported only once
>intr_char.c:19: for each function it appears in.)
>make: Fatal error: Command failed for target `OBJ.sun4/intr_char.o'

sounds like you don't have


in your CMD/head file. You also need:
TERMLIB             = -ltermlib
CURSES              = -lcurses $(TERMLIB)

>Martijn van Leusen


More information about the grass-dev mailing list