Compiling tangent contrib ...

bob at math.umn.edu bob at math.umn.edu
Tue Dec 28 16:15:27 EST 1999


Howdy.

FYI I got this compiling 5.0beta5 on a Linux 2.0.38 machine:


make[1]: Entering directory `/var/tmp/grass5.0beta/src.contrib/SCS/raster/r.tangent'
/var/tmp/grass5.0beta/src/CMD/gmake5.0 -all
#################################################################
/var/tmp/grass5.0beta/src.contrib/SCS/raster/r.tangent/cmd
  mkdir OBJ.i686-linux-elf
  make -f OBJ.i686-linux-elf/make.rules 

make[2]: Entering directory `/var/tmp/grass5.0beta/src.contrib/SCS/raster/r.tangent/cmd'
rm -f OBJ.i686-linux-elf/r.in.tang.o
gcc -g -O2   -I/var/tmp/grass5.0beta/src/include  -c r.in.tang.c
r.in.tang.c: In function `main':
r.in.tang.c:19: parse error before `u_short'
r.in.tang.c:19: warning: no semicolon at end of struct or union
r.in.tang.c:20: `u_short' undeclared (first use in this function)
r.in.tang.c:20: (Each undeclared identifier is reported only once
r.in.tang.c:20: for each function it appears in.)
r.in.tang.c: At top level:
r.in.tang.c:34: warning: data definition has no type or storage class
r.in.tang.c:35: parse error before `hdr'
r.in.tang.c:35: warning: data definition has no type or storage class
r.in.tang.c:36: parse error before `dummy'
r.in.tang.c:36: warning: data definition has no type or storage class
r.in.tang.c:42: parse error before `['
r.in.tang.c:42: warning: data definition has no type or storage class
r.in.tang.c:43: conflicting types for `inopt'
r.in.tang.c:39: previous declaration of `inopt'
r.in.tang.c:43: warning: initialization makes integer from pointer without a cast
r.in.tang.c:43: initializer element is not constant
r.in.tang.c:43: warning: data definition has no type or storage class
r.in.tang.c:44: parse error before `->'
r.in.tang.c:50: conflicting types for `outopt'
r.in.tang.c:39: previous declaration of `outopt'
r.in.tang.c:50: warning: initialization makes integer from pointer without a cast
r.in.tang.c:50: initializer element is not constant
r.in.tang.c:50: warning: data definition has no type or storage class
r.in.tang.c:51: parse error before `->'
r.in.tang.c:57: conflicting types for `vflag'
r.in.tang.c:40: previous declaration of `vflag'
r.in.tang.c:57: warning: initialization makes integer from pointer without a cast
r.in.tang.c:57: initializer element is not constant
r.in.tang.c:57: warning: data definition has no type or storage class
r.in.tang.c:58: parse error before `->'
r.in.tang.c:64: invalid type argument of `->'
r.in.tang.c:64: warning: data definition has no type or storage class
r.in.tang.c:66: invalid type argument of `->'
r.in.tang.c:66: warning: data definition has no type or storage class
r.in.tang.c:67: warning: initialization makes integer from pointer without a cast
r.in.tang.c:67: initializer element is not constant
r.in.tang.c:67: warning: data definition has no type or storage class
r.in.tang.c:68: parse error before `if'
r.in.tang.c:70: parse error before `&'
r.in.tang.c:70: warning: data definition has no type or storage class
r.in.tang.c:71: parse error before `&'
r.in.tang.c:71: warning: data definition has no type or storage class
r.in.tang.c:74: parse error before `&'
r.in.tang.c:74: conflicting types for `fread'
/usr/include/stdio.h:124: previous declaration of `fread'
r.in.tang.c:76: parse error before `&'
r.in.tang.c:76: warning: data definition has no type or storage class
r.in.tang.c:77: parse error before `.'
r.in.tang.c:78: parse error before `&'
r.in.tang.c:78: warning: data definition has no type or storage class
r.in.tang.c:79: parse error before `.'
r.in.tang.c:80: parse error before `&'
r.in.tang.c:80: warning: data definition has no type or storage class
r.in.tang.c:81: parse error before `.'
r.in.tang.c:82: parse error before `&'
r.in.tang.c:82: warning: data definition has no type or storage class
r.in.tang.c:83: parse error before `.'
r.in.tang.c:84: parse error before `&'
r.in.tang.c:84: warning: data definition has no type or storage class
r.in.tang.c:85: parse error before `.'
r.in.tang.c:90: conflicting types for `factor'
r.in.tang.c:37: previous declaration of `factor'
r.in.tang.c:90: request for member `output_density' in something not a structure or union
r.in.tang.c:90: initializer element is not constant
r.in.tang.c:90: warning: data definition has no type or storage class
r.in.tang.c:91: parse error before `if'
r.in.tang.c:113: parse error before `0'
r.in.tang.c:113: conflicting types for `exit'
/usr/include/stdlib.h:260: previous declaration of `exit'
r.in.tang.c:113: warning: data definition has no type or storage class
make[2]: *** [OBJ.i686-linux-elf/r.in.tang.o] Error 1
make[2]: Leaving directory `/var/tmp/grass5.0beta/src.contrib/SCS/raster/r.tangent/cmd'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/var/tmp/grass5.0beta/src.contrib/SCS/raster/r.tangent'
GISGEN failure at STEP: src.contrib/SCS/raster/r.tangent
make: *** [do-install] Error 1



Disabling the offending files permitted completion of the make install.

Adios,
Chris
-- 
C.S. Cornuelle 
School of Mathematics/MCIM, University of Minnesota
206 Church St. SE, Minneapolis, MN 55455
(612) 626-8930v, (612) 624-2333f, bob at math.umn.edu
Ferventer Vestite



More information about the grass-user mailing list