GISGEN failure at STEP: src.contrib/CERL/misc/m.eigensystem

Ben Horner-Johnson ben at earth.nwu.edu
Fri Apr 23 12:31:22 EDT 1999


> From: Jeff Hamann <hamannj at ucs.orst.edu>
> To: <grass at cecer.army.mil>
> Subject: GISGEN failure at STEP: src.contrib/CERL/misc/m.eigensystem

> More compilation problems....
> I've created the shell script for lex and yacc is installed....

> [root at ren CMD]# GISGEN.my
> GISBASE=/usr/local/grass42
> SRC=/usr/local/grass42/src421/src
> CMD=/usr/local/grass42/src421/src/CMD
> HEADER=linux
> ARCH=linux
> ####################################################################
> GISGEN                              Thu Apr 22 20:02:44 PDT 1999
>  GISBASE = /usr/local/grass42
>  SRC     = /usr/local/grass42/src421/src
>  CMD     = /usr/local/grass42/src421/src/CMD
>  HEADER  = linux
>  ARCH    = linux
> 
> first step: src.contrib/CERL/misc/m.eigensystem
> 
> GISGEN: src.contrib/CERL/misc/m.eigensystem - Thu Apr 22 20:02:47 PDT 1999
> 
> #################################################################
> /usr/local/grass42/src421/src.contrib/CERL/misc/m.eigensystem
>   make -f OBJ.linux/make.rules
> 
> g77 -o /usr/local/grass42/etc/bin/contrib/inter/m.eigensystem OBJ.linux/ma
> BJ.linux/balanc.o OBJ.linux/balbak.o OBJ.linux/cdiv.o OBJ.linux/elmhes.o O
> ux/eltran.o OBJ.linux/hqr.o OBJ.linux/hqr2.o OBJ.linux/rg.o
> ld: cannot open -lgcc: No such file or directory
> make: *** [/usr/local/grass42/etc/bin/contrib/inter/m.eigensystem] Error 1
> GISGEN failure at STEP: src.contrib/CERL/misc/m.eigensystem
> [root at ren CMD]#            

It looks like it can't find the libgcc.a file.  It should be in /usr/local/lib
or [in my case] /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.8.1

gcc and g77 should know that location.  If not, add it to the makefile
as one of the compilation flags:
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.8.1

and make sure that flag is ahead of -lgcc.

Look around for your version of linux.

Ben Horner-Johnson
ben at earth.nwu.edu




More information about the grass-user mailing list