Hi-
I am trying to build the recent version of GRASS on our SGI. I did the
download of the source code from "Markus' Place", incl. the head file.
I had to do the following changes in the source code:
1) comment the 5th line in ../src/raster/r.mapcalc/polish/pol.y
because of redefinition of realloc / malloc
2) comment the 192nd line in ../src.alpha/raster/r.nntool/nntool.c
because of redefinition of *seed48
Unfortunatly, I get stuck in building the "rest" of r.nntool:
ld32: ERROR 33: Unresolved text symbol "ftime" -- 1st referenced by OBJ.sgi/sysdep.o.
ld32: INFO 152: Output file removed because of error.
I changed sysdep.c by including:
#include <sys/timeb.h>
#include <time.h>
to include the definition of ftime, but that did not help...
Does anyone have any suggestion?
Thanks in advance,
Regards,
Stephan
--
------------------------------------------------------------------------
Stephan Eickschen Tel. : +49 (0)251 83-34704
Westfaelische Wilhelms-Universitaet Fax. : +49 (0)251 83-36100
Institute for Geophysics
Research Unit of Physical Glaciology email: eicksch@uni-muenster.de
Corrensstrasse 24
48149 Muenster
Germany
------------------------------------------------------------------------
On Mon, 25 May 1998, Stephan Eickschen wrote:
Hi-
I am trying to build the recent version of GRASS on our SGI. I did the
download of the source code from "Markus' Place", incl. the head file.
I had to do the following changes in the source code:
Hi, I tried to compile GRASS 4.2.1 v16 on my linux/axp machine running
under Stataboware 1.0(A Japanese linux package, extremely stable). By
changing following variable in head/linux
#COMPILE_FLAGS = -O2 -m486
COMPILE_FLAGS = -O2
almost all modules got compiled except serveral src.alpha, src.contrib,
src.garden modules. Another minor problem is the Version is still
4.2.1v15.
The modules I modified or gave up from original lists/GRASS are
-----------------------------------------------------------------------------
src.alpha/raster/r.casc2d
program cc1 got fatal signal 6 during compiling CASC2D.c.
commented out from lists/GRASS
src.alpha/display/d.area
program cc1 got fatal signal 6 during compiling plot.c
commented out from lists/GRASS
src.alpha/raster/r.tiff
parse error at l.225 libtiff/machdep.h
commented out from lists/GRASS
src.contrib/CERL/misc/m.eigensystem
change Gmakefile f77 --> $(FC)
src.garden/answers/raster/r.direct
g77 -c direct_for.f
direct_for.f: In program `MAIN__': direct_for.f:162:
50 IF(SDIR(J,I2).LT.0)DIR(J)=LINK(SDIR(J,I2),ACTIVE(I),SDIR(J+1,I1),
Reference to intrinsic `LINK' at (^) invalid -- one or more arguments
have incorrect type
commented out from lists/GRASS
-----------------------------------------------------------------------------
How about the compilation on Linux/x86?
************************************
* Minjiao Lu (Rick in Japanese) *
* Hydro Atmos Interaction Lab(HAIL)*
* Dept. of Civil & Envir. Eng. *
* Nagaoka Univ. of Tech. *
* Tel & Fax:+81-258-47-9665 *
* E-mail:lu@lmj.nagaokaut.ac.jp *
* http://lmj.nagaokaut.ac.jp/~lu/ *
************************************
Hi-
How about the compilation on Linux/x86?
Nope - Markus' binary version for Linux is excelent! And: I need to have
it on a SGI / IRIX ! This machine is MUCH faster than my PC...
Cheers,
Stephan
--
------------------------------------------------------------------------
Stephan Eickschen Tel. : +49 (0)251 83-34704
Westfaelische Wilhelms-Universitaet Fax. : +49 (0)251 83-36100
Institute for Geophysics
Research Unit of Physical Glaciology email: eicksch@uni-muenster.de
Corrensstrasse 24
48149 Muenster
Germany
------------------------------------------------------------------------