Zend certified PHP/Magento developer

Compiling NOAA WAVEWATCH III got error in Ubuntu

I’m trying to compile the NOAA WW3 model and every time I try to execute w3_make file, I get this message:

               *****************************
              ***   WAVEWATCH III make      ***
                *****************************

 Exporting WWATCH3_ENV=/home/admon/WW3/model/bin/wwatch3.env
Main directory    : /home/admon/WW3/model
Scratch directory : /home/admon/WW3/model/tmp
Save source codes : yes
Save listings     : yes

[INFO] list of the programs selected : ww3_grid ww3_strt ww3_bound ww3_outf ww3_outp ww3_trck ww3_grib ww3_gint gx_outf gx_outp ww3_uprstr ww3_multi ww3_sbs1 libww3 ww3_gspl ww3_prep ww3_shel ww3_prnc ww3_ounf ww3_ounp ww3_bounc ww3_trnc
Making makefile ...

                *****************************
              ***   WAVEWATCH III makefile  ***
                *****************************

switch = /home/admon/WW3/model/bin/switch
   Checking all subroutines for modules (this may take a while) ...

Processing ww3_grid
---------------------
ad3 : processing constants 
mv: cannot stat 'constants.o': No such file or directory
ad3 : processing w3servmd 
mv: cannot stat 'w3servmd.o': No such file or directory
ad3 : processing w3gsrumd 
ad3 : processing w3arrymd 
mv: cannot stat 'w3arrymd.o': No such file or directory
mv: cannot stat 'w3gsrumd.o': No such file or directory
ad3 : processing w3gdatmd 
mv: cannot stat 'w3gdatmd.o': No such file or directory
ad3 : processing w3odatmd 
ad3 : processing w3idatmd 
mv: cannot stat 'w3idatmd.o': No such file or directory
mv: cannot stat 'w3odatmd.o': No such file or directory
ad3 : processing w3dispmd 
ad3 : processing w3nmlgridmd 
ad3 : processing w3timemd 
ad3 : processing w3adatmd 
mv: cannot stat 'w3dispmd.o': No such file or directory
mv: cannot stat 'w3nmlgridmd.o': No such file or directory
mv: cannot stat 'w3adatmd.o': No such file or directory
mv: cannot stat 'w3timemd.o': No such file or directory

Then, I try to execute w3_automake file and it compiles just until it has to process the program ww3_ounf and shows up this message:

Processing ww3_ounf
---------------------
ad3 : processing ww3_ounf 
mv: cannot stat 'ww3_ounf.o': No such file or directory
      Linking ww3_ounf
      *** file ww3_ounf.o not found ***
*** Missing object files ***
makefile:431: recipe for target '/home/admon/WW3/model/exe/ww3_ounf' failed
make: *** [/home/admon/WW3/model/exe/ww3_ounf] Error 3

I have tried to reinstall a lot of times but I always get the error message. Any idea about what is happening?