[cam-users] CCM3 build issues

Vinutha Nagaraju Vinutha Nagaraju <Vinutha.Nagaraju@sun.com>
Wed, 22 Jan 2003 15:59:47 +0530 (IST)


Hi,

I was trying to build CCM3 on solaris. All the files compiled correctly, but 
while linking I observed some undefined symbol errors due to which the build 
fails. 

<snip>

o tstep.o twostr.o upcase.o vdiff.o vdinti.o vdintr.o vdplim.o vegconi.o 
vegtypi.o verh2o.o virtem.o vqsat.o vqsatd.o vrtdep.o vrtmap.o wheneq.o 
whenfgt.o whenfle.o whenflt.o whenne.o whenwr.o wrap_nf.o wrapup.o writeric.o 
writup.o wrtarr.o wrtharr.o wrthdr.o wrtrs1.o wsds.o wshist.o xqmass.o zenith.o 
zint.o zmid.o 
-L/hpc/prism/sand/vinu/mpprof/neworder_latest/gryphon/mpi/mpprof/appls/ccm3/ccm/
bld/../netcdf-3.5.0/lib -lnetcdf -L/opt/SUNWhpc/lib -lmpi -lnsl -lsocket -lm
Undefined                       first referenced
 symbol                             in file
__vlog_                             buoyan.o
__vexp_                             cldclw.o
__vsin_                             fft99.o
__vsincos_                          g2spos.o
__vpow_                             cldfrc.o
__vcos_                             g2spos.o
ld: fatal: Symbol referencing errors. No output written to 
/hpc/prism/sand/vinu/mpprof/neworder_latest/gryphon/mpi/mpprof/appls/ccm3/ccm/bl
d/../run/atm
gmake[1]: *** 
[/hpc/prism/sand/vinu/mpprof/neworder_latest/gryphon/mpi/mpprof/appls/ccm3/ccm/b
ld/../run/atm] Error 1
gmake[1]: Leaving directory 
`/hpc/prism/sand/vinu/mpprof/neworder_latest/gryphon/mpi/mpprof/appls/ccm3/ccm/r
un/obj'

<snip>

I tried linking with the "-lm" option but the build still fails.

Any idea on how to resolve this?
Please reply to me directly as I am not on this alias.

Thanks,
Vinu