g95 on solaris - powf

Alison Boeckmann alisonboeckmann@fastmail.fm
Mon Jun 15 17:45:00 GMT 2009


I am trying to use g95-sparc-solaris.tgz on a Sun workstation:
SunOS c255b 5.8 Generic_117350-20 sun4u sparc SUNW,Sun-Blade-1000

The test program is as follows:

c255b% cat testpow.f
        x=1.0
        y=x**x
        end

c255b% g95 testpow.f
Undefined                       first referenced
 symbol                             in file
powf                                /var/tmp//ccFxwWcc.o
ld: fatal: Symbol referencing errors. No output written to a.out
of
I am using the latest version 
gcc version 4.0.3 (g95 0.92!) Jun  3 2009

But the same thing happens with an older version
gcc version 4.0.3 (g95 0.92!) Apr  1 2008

Are there some libaries that I am missing?

-
-- 
  Alison Boeckmann
  alisonboeckmann@fastmail.fm



More information about the Fortran mailing list