Compilation Problems with NBO 5.0



Dear All,
 during the last couple of day I am trying to compile NBO 5.0 for
 Gaussian 98 by creating a new link l607.exe. My problem is that, the
 compilation breaks with an error message I can not resolve. Has
 anybody an idea that helps me.
 Here is part of the building log file:
 pgf77    -O2 -tp p6  -Munroll -Mvect=cachesize:524288 -o l607.exe
 ml607.o  l607.a  util.so
 util.so: the use of `tmpnam' is dangerous, better use `mkstemp'
 l607.a(ncsmat.o): In function `ncsmat_':
 ncsmat.o(.text+0x109): undefined reference to `gauerr_'
 l607.a(nbhalt.o): In function `nbhalt_':
 nbhalt.o(.text+0x9b): undefined reference to `gauerr_'
 util.so: undefined reference to `gdate_'
 util.so: undefined reference to `nudffx_'
 util.so: undefined reference to `gbgixm_'
 util.so: undefined reference to `ntrclo_'
 util.so: undefined reference to `numer_'
 util.so: undefined reference to `ntrrd_'
 util.so: undefined reference to `ntrpos_'
 util.so: undefined reference to `numerc_'
 util.so: undefined reference to `gbtrn0_'
 util.so: undefined reference to `ntrasy_'
 util.so: undefined reference to `ntrio_'
 util.so: undefined reference to `ntrext_'
 util.so: undefined reference to `gbcmog_'
 util.so: undefined reference to `gbtrnx_'
 util.so: undefined reference to `ntropn_'
 util.so: undefined reference to `nucdip_'
 util.so: undefined reference to `nwform_'
 util.so: undefined reference to `ntrwat_'
 util.so: undefined reference to `gcfact_'
 util.so: undefined reference to `ntstat_'
 util.so: undefined reference to `nucmom_'
 util.so: undefined reference to `numin3_'
 util.so: undefined reference to `ntrrew_'
 util.so: undefined reference to `ntrerr_'
 util.so: undefined reference to `gdimer_'
 util.so: undefined reference to `gbgixx_'
 util.so: undefined reference to `ntrwrt_'
 util.so: undefined reference to `gdiis_'
 util.so: undefined reference to `gbtrn4_'
 util.so: undefined reference to `ntrprt_'
 util.so: undefined reference to `gcos_'
 util.so: undefined reference to `gcona_'
 make: *** [l607.exe] Error 1
 endif
 Thank you in advance. Merry X-Mas
 Dominik
 ----------------------------------------------------------
 +++++++++++++++ Dipl. - Chem. Dominik Auer +++++++++++++++
 +++ Inst. f. Anorganische Chemie, Universitdt W|rzburg +++
 ++++++++++ Am Hubland, 97074 W|rzburg, Germany +++++++++++
 +++++++ e-Mail: dominik.auer|at|mail.uni-wuerzburg.de +++++++
 ----------------------------------------------------------