Header for Solaris 2.5

Iwao NODA noda12 at ffpri-kys.affrc.go.jp
Thu Oct 3 08:00:00 EDT 1996



Dear Gerhard:
I was also in the same trouble. But even now the trouble does not solved
completely.
In my case, I made a progress when I changed the compiler from
SPARCcompiler C4.0 to GCC2.7.2.
The detail of my experience is written in the bollowing mail which I sent
to the grassu on Sep 2.

I solved the above problem by using GCC compiler. Compiling GRASS4.1.5 on
Solaris2.5(SPARC-20) and others for installing it were may be normally
terminated.
But I warried about the blowing warning messages which executing '% sh
GISGEN.head' gave me.
I wander if I could get the correct GRASS4.1.5.
And the command ps.map does not work due to core dump. In the case of SUN
IPX, I normally can use ps.map of GRASS4.1.5 . 

I want to install GRASS4.1.5 onto Solaris2.5(SPARC-20)  halliedly to do jobs.
Please help me.   Thank you for your kindness.
***  This is  lines of logs of  '% sh GISGEN.head' including of WARNINGs. *****
(But  the process was normally done.)
------------------------------------
.....
GISGEN: src/libes/vask - 1996..... JST

#################################################################
/export/home/grass415/src/libes/vask
  mkdir OBJ
  make -f OBJ/make.rules 

rm -f OBJ/V_call.o
gcc -O  -I/export/home/grass415/src/include -DUSE_TERMIO -c V_call.c
V_call.c:390: warning: `fmt' was declared implicitly `extern' and later `static
'
V_call.c:409: warning: `centered' was declared implicitly `extern' and
later `static'
mv V_call.o OBJ/V_call.o
rm -f OBJ/V_clear.o
gcc -O  -I/export/home/grass415/src/include -DUSE_TERMIO -c V_clear.c
mv V_clear.o OBJ/V_clear.o
.....
rm -f OBJ/get.o
gcc -O  -I/export/home/grass415/src/include -DUSE_TERMIO -c get.c
mv get.o OBJ/get.o
rm -f OBJ/get_row.o
gcc -O  -I/export/home/grass415/src/include -DUSE_TERMIO -c get_row.c
mv get_row.o OBJ/get_row.o
rm -f OBJ/init.o
gcc -O  -I/export/home/grass415/src/include -DUSE_TERMIO -c init.c
init.c:34: warning: `read_int' was declared implicitly `extern' and later
`static'
mv init.o OBJ/init.o
rm -f OBJ/pagein.o
gcc -O  -I/export/home/grass415/src/include -DUSE_TERMIO -c pagein.c
pagein.c:55: warning: `segment_select' was declared implicitly `extern' and
later `static'
mv pagein.o OBJ/pagein.o
rm -f OBJ/pageout.o
gcc -O  -I/export/home/grass415/src/include -DUSE_TERMIO -c pageout.c
mv pageout.o OBJ/pageout.o
rm -f OBJ/put.o
.......
rm -f OBJ/io.o
gcc -O -I/export/home/grass415/src/display/devices/lib
-I/export/home/grass415/src/include -DUSE_TERMIO -c io.c
io.c:290: warning: `fifoto' was declared implicitly `extern' and later `static'
io.c: In function `fifoto':
io.c:296: warning: passing arg 2 of `signal' from incompatible pointer type
io.c:300: warning: passing arg 2 of `signal' from incompatible pointer type
io.c:305: warning: passing arg 2 of `signal' from incompatible pointer type
io.c:309: warning: passing arg 2 of `signal' from incompatible pointer type
io.c: At top level:
io.c:322: warning: `sync_driver' was declared implicitly `extern' and later
`static'
io.c: In function `sync_driver':
io.c:340: warning: passing arg 2 of `signal' from incompatible pointer type
io.c:362: warning: passing arg 2 of `signal' from incompatible pointer type
io.c:371: warning: passing arg 2 of `signal' from incompatible pointer type
io.c: At top level:
io.c:380: warning: `dead' was declared `extern' and later `static'
io.c: In function `_hold_signals':
io.c:396: warning: passing arg 2 of `signal' from incompatible pointer type
io.c:397: warning: passing arg 2 of `signal' from incompatible pointer type
io.c: At top level:
io.c:443: warning: `lockfile' was declared implicitly `extern' and later
`static'
.....


At  8:28 AM 10/2/96 +0200, Gerhard Smiatek wrote:
>who can help me with the header file for
>Solaris 2.5 (SUN ULTRA 1) ? The Solaris header from
>GRASS FAQ Cooperative Development Project does not work with some 
>GRASS programs such as d.3d:
>------------
>ld: fatal: symbol `Def_term' is multiply defined:
>        (file /usr/ucblib/libcurses.a(curses.o) and file 
>/usr/ccs/lib/libtermlib.a(setupterm.o));
>ld: warning: symbol `ttytype' has differing sizes:
>        (file /usr/ucblib/libcurses.a(curses.o) value=0x32; file 
>/usr/ccs/lib/libtermlib.a(setupterm.o) value=0x400);
>        /usr/ccs/lib/libtermlib.a(setupterm.o) definition taken
>ld: fatal: File processing errors.  No output written to 
>/arc/smiatek/soft/Grass4.1/etc/bin/main/inter/d.3d
>*** Error code 1
>make: Fatal error: Command failed for target 
>`/arc/smiatek/soft/Grass4.1/etc/bin/main/inter/d.3d'
>GISGEN failure at STEP: src/display/d.3d
----
Iwao Noda 
Research Scientist
Forest Management and Economics Laboratory
Kyushu Research Center
Forestry & Forest Products Research Institute
Kurokami 4-11-16, Kumamoto 860, JAPAN
Fax: JAPAN(096)344-5054
Internet  :  noda12 at ffpri-kys.affrc.go.jp






More information about the grass-user mailing list