Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 1997 00:25:41 -0600
From:      Gerard Giamberdine <gerard@dimensional.com>
To:        freebsd-questions@freebsd.org
Subject:   Compiling GRASS on FreeBSD 2.2.2
Message-ID:  <338E72E5.41C67EA6@dimensional.com>

next in thread | raw e-mail | index | archive | help
Has anyone ever compiled GRASS on FreeBSD? 
(see http://www.cecer.army.mil/grass/GRASS.main.html for info on GRASS).
I'm getting several errors and am hoping maybe somebody whose been
through the process can offer some pointers.

TIA, Gerard.

------------------------------------------------------------------------
Some of the errors for those interested:
------------------------------------------------------------------------

GISBASE=/usr/local/grass4.1
SRC=/usr/local/grass4.1/src
CMD=/usr/local/grass4.1/src/CMD
HEADER=FreeBSD
ARCH=FreeBSD
####################################################################
GISGEN                              Thu May 29 23:55:53 MDT 1997
 GISBASE = /usr/local/grass4.1
 SRC     = /usr/local/grass4.1/src
 CMD     = /usr/local/grass4.1/src/CMD
 HEADER  = FreeBSD
 ARCH    = FreeBSD

first step: src/libes/gis

GISGEN: src/libes/gis - Thu May 29 23:55:55 MDT 1997

#################################################################
/usr/local/grass4.1/src/libes/gis
  make -f OBJ.FreeBSD/make.rules 

rm -f OBJ.FreeBSD/auto_mask.o
cc -O -DGETHOSTNAME_OK -I/usr/local/grass4.1/src/include  -c auto_mask.c
mv auto_mask.o OBJ.FreeBSD/auto_mask.o
rm -f OBJ.FreeBSD/bres_line.o
cc -O -DGETHOSTNAME_OK -I/usr/local/grass4.1/src/include  -c bres_line.c
mv bres_line.o OBJ.FreeBSD/bres_line.o
rm -f OBJ.FreeBSD/cats.o
cc -O -DGETHOSTNAME_OK -I/usr/local/grass4.1/src/include  -c cats.c
cats.c:386: warning: `get_fmt' was declared implicitly `extern' and
later `static'
cats.c:426: warning: `get_cond' was declared implicitly `extern' and
later `static'
cats.c:602: warning: `cmp' was declared `extern' and later `static'
cats.c:641: warning: `find_cat' was declared implicitly `extern' and
later `static'
mv cats.o OBJ.FreeBSD/cats.o
rm -f OBJ.FreeBSD/cell_stats.o
cc -O -DGETHOSTNAME_OK -I/usr/local/grass4.1/src/include  -c
cell_stats.c
cell_stats.c:115: warning: `init_node' was declared implicitly `extern'
and later `static'
mv cell_stats.o OBJ.FreeBSD/cell_stats.o
rm -f OBJ.FreeBSD/cellstats_eq.o
cc -O -DGETHOSTNAME_OK -I/usr/local/grass4.1/src/include  -c
cellstats_eq.c
mv cellstats_eq.o OBJ.FreeBSD/cellstats_eq.o
rm -f OBJ.FreeBSD/cell_title.o
cc -O -DGETHOSTNAME_OK -I/usr/local/grass4.1/src/include  -c
cell_title.c
mv cell_title.o OBJ.FreeBSD/cell_title.o
rm -f OBJ.FreeBSD/clear_scrn.o
cc -O -DGETHOSTNAME_OK -I/usr/local/grass4.1/src/include  -c
clear_scrn.c
mv clear_scrn.o OBJ.FreeBSD/clear_scrn.o
rm -f OBJ.FreeBSD/closecell.o
cc -O -DGETHOSTNAME_OK -I/usr/local/grass4.1/src/include  -c closecell.c
closecell.c:28: conflicting types for `lseek'
/usr/include/sys/types.h:96: previous declaration of `lseek'
closecell.c:52: warning: `close_old' was declared implicitly `extern'
and later `static'
closecell.c:68: warning: `close_new' was declared implicitly `extern'
and later `static'
*** Error code 1

Stop.
GISGEN failure at STEP: src/libes/gis



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?338E72E5.41C67EA6>