It seems to be a problem with gcc and pgf90, how can i solve this... I am using Fedora Core 4 and pgf90 v 41 (i know it is not supported, but i have done make before editing localrc file) How can i solve this?

For the undefined references, you want to find the library which contains the symbols. In this case, the symbols can be found in "/usr/lib/gcc/i386-redhat-linux/4.0.0/libgcc_eh.a". Using the "nm" utility, followed by a "grep" will show if the symbol is present and an upper case "T" indicates that the symbol is defined. A "U" indicates that the symbol is used but undefined. For exmple:

Interesting. It looks like the FC4 libc contains exception handling symbols. These symbols are defined in the dynamic library but not in the static library. As a work around, add "-lc -lgcc_eh" to your link line.

I'll pass this information along so hopefully we can get "-lgcc_eh" added to the link line by default.