[Met_help] Problem compiling met v2.0 on ubuntu 9.10 64bit
lior amar
liororama at gmail.com
Tue May 4 02:49:29 MDT 2010
Hi,
I am trying to install METv2.0 on an Ubuntu 9.10 64 bit machine.
g++ version 4.4.1
gfortran version 4.4.1
I applied the patches in the file METv2.0_patches_20091223.tar.gz
I am getting the following errors while running make:
-----------------------
*** Making vx_cal Library ***
/usr/bin/g++ time_strings.cc -Wall -Wshadow -static -c -I..
time_strings.cc: In function ‘void sec_to_hhmmss(int, char*)’:
time_strings.cc:52: error: ‘sprintf’ was not declared in this scope
time_strings.cc: In function ‘void unix_to_yyyymmdd_hhmmss(unixtime,
char*)’:
time_strings.cc:95: error: ‘sprintf’ was not declared in this scope
time_strings.cc: In function ‘void unix_to_yyyymmddhh(unixtime, char*)’:
time_strings.cc:230: error: ‘sprintf’ was not declared in this scope
time_strings.cc: In function ‘void make_timestring(unixtime, char*)’:
time_strings.cc:319: error: ‘sprintf’ was not declared in this scope
time_strings.cc: In function ‘int is_hhmmss(const char*)’:
time_strings.cc:504: warning: comparison between signed and unsigned integer
expressions
time_strings.cc: In function ‘int is_hh(const char*)’:
time_strings.cc:528: warning: comparison between signed and unsigned integer
expressions
make[3]: *** [time_strings.o] Error 1
make[2]: *** [vx_cal_all] Error 2
make[1]: *** [libs] Error 2
make: *** [all] Error 2
-----------------------
The Makefile and the make_met.log files are attached.
Any suggestions will be appreciated.
Best Regards
Lior
----------------------
Amar Lior
ClusterLogic Ltd.
----------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/met_help/attachments/20100504/1f98e929/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 8766 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/met_help/attachments/20100504/1f98e929/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make_met.log
Type: text/x-log
Size: 3291 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/met_help/attachments/20100504/1f98e929/attachment.bin
More information about the Met_help
mailing list