XDRIVER & Solaris2.2 : reprise
Ronald Thomas
ront at niwot.CFNR.ColoState.EDU
Thu Aug 12 13:07:17 EDT 1993
GRASSuser's;
Thanks to some advice received yesterday, I was able to compile MOST of
GRASS4.1 on a SPARClassic running Solaris2.2. I integrated the update
code prior to compilation.
<HOWEVER>
I am not able to compile the ../../XDRIVER/XDRIVER directory:
a more COMPLETE form of this error message follows my signature block.
-----------------------------------------------------
SRC = /data2/grass4.1.code/src
CMD = /data2/grass4.1.code/src/CMD
HEADER = classic
ARCH = classic
GISBASE = /opt/grass4.1
VERSION = 4.1 Spring 1993 Update package 1
#################################################################
/data2/grass4.1.code/src/display/devices/XDRIVER/XDRIVER
make -f OBJ.classic/make.rules
rm -f OBJ.classic/SWITCHER.o
gcc -O2 -w -D_NO_PROTO -DX11R3 -I/usr/openwin/share/include -I/data2/grass4.1.code/src/include -DUSE_TERMIO -c SWITCHER.c
SWITCHER.c: In function `main':
SWITCHER.c:159: too many arguments to function `setpgrp'
*** Error code 1
make: Fatal error: Command failed for target `OBJ.classic/SWITCHER.o'
----------------------------------------------
I am using these options in the "head" file
----------------------------------------------
CC = gcc
ARCH = classic
GISBASE = /opt/grass4.1
UNIX_BIN = /opt/grass4.1/local/bin
DEFAULT_DATABASE = /data2/romo
DEFAULT_LOCATION = working
COMPILE_FLAGS = -O2 -w
LDFLAGS = -s
XCFLAGS = -D_NO_PROTO
XLDFLAGS =
XINCPATH = -L/usr/openwin/share/include
XMINCPATH =
XLIBPATH = -L/usr/openwin/lib
XTLIBPATH = -L/usr/lib
XMLIBPATH = -L/usr/lib
XLIB = -lX11
XTLIB = -lXt
XMLIB = -lXm
XEXTRALIBS = -lsocket -lnsl
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 ruv $@ $?
USE_TERMIO = -DUSE_TERMIO
USE_MTIO = -DUSE_MTIO
USE_FTIME =
DIGITFLAGS =
VECTLIBFLAGS = -DPORTABLE_3
GETHOSTNAME = -DGETHOSTNAME_UNAME
----------------------------------------------------------
Once agian, THANK YOU for any help offered!!
^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^
Ronald Thomas ^ ront at meeker.cfnr.colostate.edu
Natural Resources Spec. (GIS) ^
Resources Management Division ^ Phone: 303-586-3565 x285
Rocky Mountain National Park ^ 700-323-7285 (FTS)
Estes Park, CO 80517 ^ FAX: 303-586-4702
^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^
------------------------------------------------------------------
All error messages that show in the failure of XDRIVER compilation
------------------------------------------------------------------
/opt/grass4.1/local/bin/gmake4.1 XDRIVER
#################################################################
/data2/grass4.1.code/src/display/devices/XDRIVER/XDRIVER
make -f OBJ.classic/make.rules
rm -f OBJ.classic/SWITCHER.o
gcc -O2 -D_NO_PROTO -DX11R3 -I/usr/openwin/share/include -I/data2/grass4.1.code/src/include -DUSE_TERMIO -c SWITCHER.c
SWITCHER.c: In function `main':
SWITCHER.c:159: too many arguments to function `setpgrp'
SWITCHER.c:162: warning: passing arg 2 of `signal' from incompatible pointer type
SWITCHER.c:164: warning: passing arg 2 of `signal' from incompatible pointer type
SWITCHER.c:183: warning: passing arg 2 of `signal' from incompatible pointer type
SWITCHER.c: At top level:
SWITCHER.c:866: warning: `get_command' was declared implicitly `extern' and later `static'
SWITCHER.c:894: warning: `timeout' was declared `extern' and later `static'
SWITCHER.c:899: warning: `rec' was declared implicitly `extern' and later `static'
SWITCHER.c:915: warning: `rectext' was declared implicitly `extern' and later `static'
SWITCHER.c:928: warning: `_rectext' was declared implicitly `extern' and later `static'
SWITCHER.c:939: warning: `get1' was declared implicitly `extern' and later `static'
SWITCHER.c:967: warning: `read1' was declared implicitly `extern' and later `static'
SWITCHER.c:981: warning: `send' was declared implicitly `extern' and later `static'
SWITCHER.c:988: warning: `sendtext' was declared implicitly `extern' and later `static'
SWITCHER.c:994: warning: `catch' was declared `extern' and later `static'
SWITCHER.c: In function `catch':
SWITCHER.c:995: warning: passing arg 2 of `signal' from incompatible pointer type
SWITCHER.c: At top level:
SWITCHER.c:1014: warning: `RESULT' was declared implicitly `extern' and later `static'
SWITCHER.c:1094: warning: `invent_pad' was declared implicitly `extern' and later `static'
SWITCHER.c:1170: warning: `free_item' was declared implicitly `extern' and later `static'
SWITCHER.c:1189: warning: static declaration for `find_item' follows non-static
SWITCHER.c:1205: warning: static declaration for `new_item' follows non-static
SWITCHER.c:1230: warning: `close_mon' was declared `extern' and later `static'
*** Error code 1
make: Fatal error: Command failed for target `OBJ.classic/SWITCHER.o'
Current working directory /data2/grass4.1.code/src/display/devices/XDRIVER/XDRIVER
*** Error code 1
make: Fatal error: Command failed for target `all'
GISGEN failure at STEP: src/display/devices/XDRIVER
More information about the grass-user
mailing list