compilation problem: undefined reference

ppanta ppanta9@hotmail.com
Thu Aug 2 18:47:00 GMT 2007


The update works and it seems to compile through the % operator without a
problem.
However, once it goes through the %, the undefined reference is back again.
=======
AAmainRain.o: In function `MAIN__':
AAmainRain.F:(.text+0x9e): undefined reference to `ieee_handler_'
AAmainRain.F:(.text+0x134): undefined reference to `ieee_handler_'
=======
Based on the info on -->
http://www.nacs.uci.edu/dcslib/sun/compilers/fortran/prog_guide/6_floating.doc.html
it seems that I don't have the sunmath.h library.
However, I can't seem to find it from the SUN machine or the one I found is
written in C. Thus, it's not compatible (or I don't know how to link them
together). I suppose that the library is automatically included in the SUN
compiler but not in gfortran? If so, what library/command do I need to
include/specify when I compile them?

Thx a lot for answering
-- 
View this message in context: http://www.nabble.com/compilation-problem%3A-undefined-reference-tf4198607.html#a11970191
Sent from the gcc - fortran mailing list archive at Nabble.com.



More information about the Fortran mailing list