Hello,
     We are attempting to compile the SDTS utilities under Solaris 
2.5 and we ran into problems.  We first wrote the gmake4.1 file 
to begin the process.  The following is the printout of our 
attempt.
     I'm afraid this is our first attempt at compiling anything 
and we have no idea what the problem is, only that it doesn't 
complete the process of compiling these utilities.
     Any help would be appreciated.
.................................................................
alb-co-r% cd SDTS
alb-co-r% ls
Gmakefile   OBJ.sun4/   gmake4.1*   libes/      mapdev/     misc/
alb-co-r% gmake4.1
  SRC     = /grass/4.1/src
  CMD     = /grass/4.1/src/CMD
  HEADER  = sol25
  ARCH    = sun4
  GISBASE = /grass/4.1/sun4
  VERSION = 4.1 Spring 1993 Update package 4
#################################################################
/grass/4.1/src.contrib/CERL/SDTS
  make -f OBJ.sun4/make.rules

gmake4.1 ./libes/fips123
  SRC     = /grass/4.1/src
  CMD     = /grass/4.1/src/CMD
  HEADER  = sol25
  ARCH    = sun4
  GISBASE = /grass/4.1/sun4
  VERSION = 4.1 Spring 1993 Update package 4
#################################################################
/grass/4.1/src.contrib/CERL/SDTS/libes/fips123
  make -f OBJ.sun4/make.rules

rm -f OBJ.sun4/a_toe.o
gcc -ansi -O -I./f123inc -DFIPS_BSD -I/grass/4.1/src/include  -c
a_toe.c
In file included from ./f123inc/stc123.h:385,
                 from a_toe.c:48:
./f123inc/fips_bsd.h:7: conflicting types for `div_t'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/stdlib.h:
27: previous declaration of `d
iv_t'
./f123inc/fips_bsd.h:9: conflicting types for `ldiv_t'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/stdlib.h:
32: previous declaration of `l
div_t'
./f123inc/fips_bsd.h:15: conflicting types for `ldiv'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/stdlib.h:
108: previous declaration of `
ldiv'
*** Error code 1
make: Fatal error: Command failed for target `OBJ.sun4/a_toe.o'
Current working directory
/grass/4.1/src.contrib/CERL/SDTS/libes/fips123
*** Error code 1
make: Fatal error: Command failed for target `all'
alb-co-r%
.................................................................

Thanks.
==================================================================
Louis Clarke                           U.S. Army Corps of Engineers 
lclarke@alb-co-r.swa.usace.army.mil    Albuquerque District
voice (505)342-3281                    Regulatory Branch
fax (505)342-3498                      http://www.swa.usace.army.mil/reg/

