re: installation crash

This is the messages I receive when i try to install:

e/leik/vestbo/grass/grass4.0/source/src/libes/LIB.sun4/libgis.a
ld: Undefined symbol
   ___infinity
   _hypot
*** Error code 2
make: Fatal error: Command failed for target `/home/leik/grass/etc/bin/main/cmd/d.what.vect'
Current working directory /home/leik/vestbo/grass/grass4.0/source/src/display/d.what.vect/cmd
*** Error code 1
make: Fatal error: Command failed for target `all'
GISGEN failure at STEP: display/d.what.vect

Jan.