PDA

View Full Version : Errors in Compiling MPICH and HDF4


jckim75
11-03-2003, 08:54 AM
I saw the following messages in compiling MPICH-1.2.5 and
NCSA HDF4.1r5 on Red Hat LINUX 9.

-------------------- MPICH-1.2.5 ----------------------------

1. During make

** Testing if Fortran77 application can be linked with logging library
/usr/local/MPICH/bin/mpif77 -I/usr/local/MPICH/include -c fpi.f
Encountered 0 errors, 0 warnings in file fpi.f.
/usr/local/MPICH/bin/mpif77 -o fpilog fpi.o -L/usr/local/MPICH/lib -lfmpich -llmpe -lmpe -lm
/usr/local/MPICH/lib/libmpe.a(slog_impl.o)(.text+0xfe0): In function `SLOG_STM_IdxOfCurFrameDirEntry':
: undefined reference to `__umoddi3'
/usr/local/MPICH/lib/libmpe.a(slog_impl.o)(.text+0x103f): In function `SLOG_STM_IdxOfCurFrameDirEntry':
: undefined reference to `__udivdi3'
make[2]: *** [fpilog] Error 1
** Fortran77 application CANNOT be linked with logging library

2. During make install

Encountered 0 errors, 0 warnings in file pi3p.f.
/usr/local/MPICH/bin/mpif77 -o pi3p pi3p.o
pi3p.o(.text+0x2e): In function `MAIN__':
: undefined reference to `pmpi_init_'
pi3p.o(.text+0x4f): In function `MAIN__':
: undefined reference to `pmpi_comm_rank_'
pi3p.o(.text+0x6a): In function `MAIN__':
: undefined reference to `pmpi_comm_size_'
pi3p.o(.text+0xf4): In function `MAIN__':
: undefined reference to `pmpi_bcast_'
pi3p.o(.text+0x1e9): In function `MAIN__':
: undefined reference to `pmpi_reduce_'
pi3p.o(.text+0x243): In function `MAIN__':
: undefined reference to `pmpi_finalize_'
pi3p.o(.data+0x0): undefined reference to `pmpi_finalize_'
pi3p.o(.data+0x4): undefined reference to `pmpi_reduce_'
pi3p.o(.data+0x8): undefined reference to `pmpi_bcast_'
pi3p.o(.data+0xc): undefined reference to `pmpi_comm_size_'
pi3p.o(.data+0x10): undefined reference to `pmpi_comm_rank_'
pi3p.o(.data+0x14): undefined reference to `pmpi_init_'

------------------------- End of the First Excerpts -----------------

---------------------- HDF4.1r5 ----------------------------------

1. During make
make[2]: *** [pi3p] Error 1
make[1]: *** [all] Error 2
lf95 -o fortestF fortestF.o forsupff.o forsupf.o manf.o mgrf.o slabwf.o t24f.o
tanf.o tanfilef.o tpf.o tr8f.o tsdmmsf.o tsdnmmsf.o tsdnntf.o tsdntf.o tsdstrf.o tstubsf.o tvsetf.o tvattrf.o /usr/local/HDF4.1r5/hdf/src/libdf.a ./../jpeg/libjpeg.a ./../zlib/libz.a -lm
slabwf.o(.data+0x6c): undefined reference to `dfsdgetmaxmin_'
slabwf.o(.data+0x70): undefined reference to `dsgmaxm_'
slabwf.o(.data+0xdc): undefined reference to `dfsdsetmaxmin_'
slabwf.o(.data+0xe0): undefined reference to `dssmaxm_'
slabwf.o(.data+0xe4): undefined reference to `dfsdsetorder_'
slabwf.o(.data+0xe8): undefined reference to `dssodr_'
slabwf.o(.data+0x254): undefined reference to `df24nimages_'
slabwf.o(.data+0x2a4): undefined reference to `dfindnextref_'
slabwf.o(.data+0x2ec): undefined reference to `sfstart_'
slabwf.o(.data+0x2f0): undefined reference to `sfn2index_'
slabwf.o(.data+0x2f4): undefined reference to `sfcreate_'
slabwf.o(.data+0x2f8): undefined reference to `sfsdmstr_'
slabwf.o(.data+0x2fc): undefined reference to `sfsdmname_'
slabwf.o(.data+0x300): undefined reference to `sfsdtstr_'
slabwf.o(.data+0x304): undefined reference to `sfgdtstr_'
slabwf.o(.data+0x308): undefined reference to `sfgdmstr_'
slabwf.o(.data+0x30c): undefined reference to `sfginfo_'
slabwf.o(.data+0x310): undefined reference to `sfgainfo_'
slabwf.o(.data+0x314): undefined reference to `sfgdinfo_'
slabwf.o(.data+0x318): undefined reference to `sfsattr_'
slabwf.o(.data+0x31c): undefined reference to `sfscatt_'
slabwf.o(.data+0x320): undefined reference to `sffattr_'
slabwf.o(.data+0x324): undefined reference to `sfend_'
slabwf.o(.data+0x328): undefined reference to `sfendacc_'
slabwf.o(.data+0x32c): undefined reference to `sffinfo_'
slabwf.o(.data+0x330): undefined reference to `sfselect_'
slabwf.o(.data+0x334): undefined reference to `sfdimid_'
slabwf.o(.data+0x338): undefined reference to `sfgcal_'
slabwf.o(.data+0x33c): undefined reference to `sfscal_'
slabwf.o(.data+0x340): undefined reference to `sfsdscale_'
slabwf.o(.data+0x344): undefined reference to `sfgdscale_'
slabwf.o(.data+0x348): undefined reference to `sfsfill_'
slabwf.o(.data+0x34c): undefined reference to `sfgfill_'
slabwf.o(.data+0x350): undefined reference to `sfgrange_'
slabwf.o(.data+0x354): undefined reference to `sfsrange_'
slabwf.o(.data+0x358): undefined reference to `sfrattr_'
slabwf.o(.data+0x35c): undefined reference to `sfrcatt_'
slabwf.o(.data+0x360): undefined reference to `sfrdata_'
slabwf.o(.data+0x364): undefined reference to `sfwdata_'
slabwf.o(.data+0x368): undefined reference to `sfsextf_'
slabwf.o(.data+0x36c): undefined reference to `sfsnbit_'
slabwf.o(.data+0x370): undefined reference to `sfsacct_'
slabwf.o(.data+0x374): undefined reference to `sfid2ref_'
slabwf.o(.data+0x378): undefined reference to `sfiscvar_'
slabwf.o(.data+0x37c): undefined reference to `sfref2index_'
slabwf.o(.data+0x380): undefined reference to `sfsdmvc_'
slabwf.o(.data+0x384): undefined reference to `sfisdmvc_'
slabwf.o(.data+0x388): undefined reference to `sfgichnk_'
slabwf.o(.data+0x38c): undefined reference to `sfrcchnk_'
slabwf.o(.data+0x390): undefined reference to `sfrchnk_'
slabwf.o(.data+0x394): undefined reference to `sfwcchnk_'
slabwf.o(.data+0x398): undefined reference to `sfwchnk_'
slabwf.o(.data+0x39c): undefined reference to `sfscchnk_'
slabwf.o(.data+0x3a0): undefined reference to `sfschnk_'
slabwf.o(.data+0x3a4): undefined reference to `sfscompress_'
slabwf.o(.data+0x3a8): undefined reference to `sfgcompress_'
slabwf.o(.data+0x3ac): undefined reference to `sfisrcrd_'
slabwf.o(.data+0x3b0): undefined reference to `sfsblsz_'
slabwf.o(.data+0x3b4): undefined reference to `sfchempty_'
slabwf.o(.data+0x528): undefined reference to `vsqnfld_'
slabwf.o(.data+0x5a8): undefined reference to `mgssctp_'
tvsetf.o(.data+0x6c): undefined reference to `dfsdgetmaxmin_'
tvsetf.o(.data+0x70): undefined reference to `dsgmaxm_'
tvsetf.o(.data+0xdc): undefined reference to `dfsdsetmaxmin_'
tvsetf.o(.data+0xe0): undefined reference to `dssmaxm_'
tvsetf.o(.data+0xe4): undefined reference to `dfsdsetorder_'
tvsetf.o(.data+0xe8): undefined reference to `dssodr_'
tvsetf.o(.data+0x254): undefined reference to `df24nimages_'
tvsetf.o(.data+0x2a4): undefined reference to `dfindnextref_'
tvsetf.o(.data+0x2ec): undefined reference to `sfstart_'
tvsetf.o(.data+0x2f0): undefined reference to `sfn2index_'
tvsetf.o(.data+0x2f4): undefined reference to `sfcreate_'
tvsetf.o(.data+0x2f8): undefined reference to `sfsdmstr_'
tvsetf.o(.data+0x2fc): undefined reference to `sfsdmname_'
tvsetf.o(.data+0x300): undefined reference to `sfsdtstr_'
tvsetf.o(.data+0x304): undefined reference to `sfgdtstr_'
tvsetf.o(.data+0x308): undefined reference to `sfgdmstr_'
tvsetf.o(.data+0x30c): undefined reference to `sfginfo_'
tvsetf.o(.data+0x310): undefined reference to `sfgainfo_'
tvsetf.o(.data+0x314): undefined reference to `sfgdinfo_'
tvsetf.o(.data+0x318): undefined reference to `sfsattr_'
tvsetf.o(.data+0x31c): undefined reference to `sfscatt_'
tvsetf.o(.data+0x320): undefined reference to `sffattr_'
tvsetf.o(.data+0x324): undefined reference to `sfend_'
tvsetf.o(.data+0x328): undefined reference to `sfendacc_'
tvsetf.o(.data+0x32c): undefined reference to `sffinfo_'
tvsetf.o(.data+0x330): undefined reference to `sfselect_'
tvsetf.o(.data+0x334): undefined reference to `sfdimid_'
tvsetf.o(.data+0x338): undefined reference to `sfgcal_'
tvsetf.o(.data+0x33c): undefined reference to `sfscal_'
tvsetf.o(.data+0x340): undefined reference to `sfsdscale_'
tvsetf.o(.data+0x344): undefined reference to `sfgdscale_'
tvsetf.o(.data+0x348): undefined reference to `sfsfill_'
tvsetf.o(.data+0x34c): undefined reference to `sfgfill_'
tvsetf.o(.data+0x350): undefined reference to `sfgrange_'
tvsetf.o(.data+0x354): undefined reference to `sfsrange_'
tvsetf.o(.data+0x358): undefined reference to `sfrattr_'
tvsetf.o(.data+0x35c): undefined reference to `sfrcatt_'
tvsetf.o(.data+0x360): undefined reference to `sfrdata_'
tvsetf.o(.data+0x364): undefined reference to `sfwdata_'
tvsetf.o(.data+0x368): undefined reference to `sfsextf_'
tvsetf.o(.data+0x36c): undefined reference to `sfsnbit_'
tvsetf.o(.data+0x370): undefined reference to `sfsacct_'
tvsetf.o(.data+0x374): undefined reference to `sfid2ref_'
tvsetf.o(.data+0x378): undefined reference to `sfiscvar_'
tvsetf.o(.data+0x37c): undefined reference to `sfref2index_'
tvsetf.o(.data+0x380): undefined reference to `sfsdmvc_'
tvsetf.o(.data+0x384): undefined reference to `sfisdmvc_'
tvsetf.o(.data+0x388): undefined reference to `sfgichnk_'
tvsetf.o(.data+0x38c): undefined reference to `sfrcchnk_'
tvsetf.o(.data+0x390): undefined reference to `sfrchnk_'
tvsetf.o(.data+0x394): undefined reference to `sfwcchnk_'
tvsetf.o(.data+0x398): undefined reference to `sfwchnk_'
tvsetf.o(.data+0x39c): undefined reference to `sfscchnk_'
tvsetf.o(.data+0x3a0): undefined reference to `sfschnk_'
tvsetf.o(.data+0x3a4): undefined reference to `sfscompress_'
tvsetf.o(.data+0x3a8): undefined reference to `sfgcompress_'
tvsetf.o(.data+0x3ac): undefined reference to `sfisrcrd_'
tvsetf.o(.data+0x3b0): undefined reference to `sfsblsz_'
tvsetf.o(.data+0x3b4): undefined reference to `sfchempty_'
tvsetf.o(.data+0x528): undefined reference to `vsqnfld_'
tvsetf.o(.data+0x5a8): undefined reference to `mgssctp_'

-----------------------End of the second excerpts ---------------------

Would you help me out of this problem? Prompt response will be
much appreciated. I appreciate it in advance.



Sincerely,


Jincheol B. Kim.