Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

grass-4.2 distribution & subdirectory src.related

0 views
Skip to first unread message

Marco Valagussa

unread,
Mar 19, 1998, 3:00:00 AM3/19/98
to

I have two questions about grass4.2:

Q1 - What are the diffs between version of 3 December 1997 and the new
version of 2 January from Baylor University?

Q2 - Why is not there the subdirectory src.related ?

Thanks in advance!
ciao marco.

------------------------------------------------------------------------------
Valagussa Marco CRCC s.r.l, via Passerini 2, 20052 Monza (MI) ITALY
Tel. +39.39.387998 FAX +39.39.382115
e-mail: ma...@crcc.it
------------------------------------------------------------------------------


Pan Daiyan

unread,
Mar 19, 1998, 3:00:00 AM3/19/98
to

Hello everyone,

When I compiled grass4.2.1(source code from:
http://www.laum.uni-hannover.de/iln/grass/grass42) on SGI irix6.2, I got
the following error message:


GISGEN: src/imagery/i.points - Thu Mar 19 11:49:20 EST 1998

#################################################################
/data1/people/daiyuanp/grass42/src421/src/imagery/i.points
make -f OBJ.sgi/make.rules

cc -s -o
/data1/people/daiyuanp/grasstt/etc/bin/main/inter/i.points OB
J.sgi/main.o OBJ.sgi/ask.o OBJ.sgi/ask_mag.o OBJ.sgi/analyze.o
OBJ.sgi/call.o OB
J.sgi/cell.o OBJ.sgi/cellhd.o OBJ.sgi/conv.o OBJ.sgi/colors.o
OBJ.sgi/curses.o O
BJ.sgi/debug.o OBJ.sgi/digit.o OBJ.sgi/dot.o OBJ.sgi/drawcell.o
OBJ.sgi/driver.o
OBJ.sgi/equ.o OBJ.sgi/find.o OBJ.sgi/graphics.o OBJ.sgi/group.o
OBJ.sgi/input.o
OBJ.sgi/mark.o OBJ.sgi/mouse.o OBJ.sgi/points.o OBJ.sgi/target.o
OBJ.sgi/title.
o OBJ.sgi/tty.o OBJ.sgi/view.o OBJ.sgi/where.o OBJ.sgi/zoom.o
OBJ.sgi/zoom_box.o
OBJ.sgi/zoom_pnt.o
/data1/people/daiyuanp/grass42/src421/src/libes/LIB.sgi/libI
.a /data1/people/daiyuanp/grass42/src421/src/libes/LIB.sgi/libD.a
/data1/people/
daiyuanp/grass42/src421/src/libes/LIB.sgi/libdisplay.a
/data1/people/daiyuanp/gr
ass42/src421/src/libes/LIB.sgi/libraster.a
/data1/people/daiyuanp/grass42/src421
/src/libes/LIB.sgi/libgis.a -lcurses -ltermlib -lm
ld: ERROR 33: Unresolved text symbol "screen" -- 1st referenced by
OBJ.sgi/mark.
o.
ld: INFO 60: Output file removed because of error.
*** Error code 1 (bu21)
GISGEN failure at STEP: src/imagery/i.points

Similar errors also occurred in i.ortho.photo and i.vpoints.
I appreciate your help.

******************************************
Daiyuan Pan
Institut de Recherche en Biologie Végétale
Université de Montréal
4101 est, rue Sherbrooke
Montréal, QC
Canada
H1X 2B2
tél: (514) 8728488
fax: (514) 8729406
daiy...@ere.umontreal.ca
*******************************************

Conn Copas

unread,
Mar 20, 1998, 3:00:00 AM3/20/98
to

Pan Daiyan writes:

>/src/libes/LIB.sgi/libgis.a -lcurses -ltermlib -lm
>ld: ERROR 33: Unresolved text symbol "screen" -- 1st referenced by=20


>OBJ.sgi/mark.
>o.
>ld: INFO 60: Output file removed because of error.
>*** Error code 1 (bu21)
>GISGEN failure at STEP: src/imagery/i.points
>

>Similar errors also occurred in i.ortho.photo and i.vpoints.=20

To compile grass4.2 under Irix6.2, I made the same change in the file mark.c
in all three of those src directories. The function "screen (x,y,button)" is declared as "static". I redefined it as untyped, ie, default type.

Justin Hickey

unread,
Mar 20, 1998, 3:00:00 AM3/20/98
to

Hi Daiyuan

On Mar 19, 12:12pm, Pan Daiyan wrote:
> ld: ERROR 33: Unresolved text symbol "screen" -- 1st referenced by

> OBJ.sgi/mark.
> o.
> ld: INFO 60: Output file removed because of error.
> *** Error code 1 (bu21)
> GISGEN failure at STEP: src/imagery/i.points

One way to solve this error is to declare the screen function before the
function that calls screen like so.

static int screen();

static
get_point2 (east, north)
double *east, *north;
{
...
}

Even though it is declared inside get_point2(). There are other ways, but this
one worked for me.

--
Sincerely,

Jazzman (a.k.a. Justin Hickey) e-mail: jhi...@hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand
==================================================================
People who think they know everything are very irritating to those
of us who do. ---Anonymous

Jazz and Trek Rule!!!
==================================================================

Andrea Giacomelli

unread,
Mar 20, 1998, 3:00:00 AM3/20/98
to

Dear Daiyuan,

at
http://www.crs4.it/~andreag/ENV/GIS/LR/gcsgi.html

You can find the text of an old (but to me fundamental) posting about a few notes for GRASS compilation
on SGI machines. Maybe it can be of interest to you,

Regards,


=========================================
Andrea Giacomelli
Centre for Advanced Studies, Research and
Development in Sardinia
Environment Division

http://www.crs4.it/~andreag
=========================================

Markus Neteler

unread,
Mar 20, 1998, 3:00:00 AM3/20/98
to

Hi Marco,

you were asking for the 4.2 version...
I recommend you get 4.2.1 - there you will find
tons of improvements.
http://www.laum.uni-hannover.de/iln/grass/grass42/

This is the new official version, it will be uploaded
soon to Baylor.

Many greetings
from

Markus Neteler

0 new messages