problem compiling GRASS4.1
Tian Qing
tqing at ics.trieste.it
Thu Apr 24 13:30:53 EDT 1997
Hello,
I met with the following problem when I compile GRASS4.1.
Please help me.
Many thanks.
Tian Qing
ICS,UNIDO
Trieste,Italy
e-mail: tqing at ics.trieste.it
====================================================================
Compiling error
====================================================================
GISBASE=/export/home/grass4.1/sun4
SRC=/export/home/grass4.1/src
CMD=/export/home/grass4.1/src/CMD
HEADER=SUN4
ARCH=sun4
####################################################################
GISGEN Thu Apr 24 19:02:36 MET DST 1997
GISBASE = /export/home/grass4.1/sun4
SRC = /export/home/grass4.1/src
CMD = /export/home/grass4.1/src/CMD
HEADER = SUN4
ARCH = sun4
first step: src/libes/gis
GISGEN: src/libes/gis - Thu Apr 24 19:02:41 MET DST 1997
#################################################################
/export/home/grass4.1/src/libes/gis
make -f OBJ.sun4/make.rules
rm -f OBJ.sun4/intr_char.o
gcc -O -DGETHOSTNAME_OK -I/export/home/grass4.1/src/include -c intr_char.c
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: *** [OBJ.sun4/intr_char.o] Error 1
GISGEN failure at STEP: src/libes/gis
====================================================================
Header file
====================================================================
CC = gcc
ARCH = sun4
GISBASE = /export/home/grass4.1/sun4
UNIX_BIN = /usr/local/bin
DEFAULT_DATABASE = /export/home/grass.data
DEFAULT_LOCATION =
COMPILE_FLAGS = -O
LDFLAGS = -s
XCFLAGS = -D_NO_PROTO
XLDFLAGS =
XINCPATH = -I/usr/openwin/include
XMINCPATH =
XLIBPATH = -L/usr/openwin/lib
XTLIBPATH = -L/usr/lib
XMLIBPATH = -L/usr/lib
XLIB = -lX11
XTLIB = -lXt
XMLIB = -lXm
XEXTRALIBS =
TERMLIB = -ltermlib
CURSES = -lcurses $(TERMLIB)
MATHLIB = -lm
# LIBRULE = ar ruv $@ $?
# LIBRULE = ar ruv $@ $?; ranlib $@
# LIBRULE = ar ruv $@ $?; ar ts $@
# LIBRULE = ar rc $@ `lorder $(OBJ) | tsort`
LIBRULE = ar rc $@ `lorder $(OBJ) | tsort`
USE_TERMIO =
USE_MTIO = -DUSE_MTIO
USE_FTIME = -DUSE_FTIME
DIGITFLAGS = -DUSE_SETREUID -DUSE_SETPRIORITY
VECTLIBFLAGS =
GETHOSTNAME = -DGETHOSTNAME_OK
===================================================================
===================================================================
configurations
===================================================================
SUN sparc 4
Solaris 2.5.1
gcc 2.7.2
make 3.74 (from FSF tools)
===================================================================
More information about the grass-user
mailing list