Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] compilation application with openmpi question
From: David Wong (wong.david-c_at_[hidden])
Date: 2009-05-01 11:07:57


Hi,

   I have installed openmpi on my machine and tested with some simple
programs such as ring and fpi. Everything works. When I tried to compile
my application, I got the following:

/work/wdx/ptmp/openmpi/openmpi-1.3.2/lib/libotf.a(OTF_File.o): In
function `OTF_File_open_zlevel':
OTF_File.c:(.text+0x5a2): undefined reference to `inflateInit_'
OTF_File.c:(.text+0x762): undefined reference to `deflateInit_'
/work/wdx/ptmp/openmpi/openmpi-1.3.2/lib/libotf.a(OTF_File.o): In
function `OTF_File_seek':
OTF_File.c:(.text+0x1172): undefined reference to `inflateEnd'
OTF_File.c:(.text+0x11a2): undefined reference to `inflateInit_'
OTF_File.c:(.text+0x11c2): undefined reference to `inflateSync'
/work/wdx/ptmp/openmpi/openmpi-1.3.2/lib/libotf.a(OTF_File.o): In
function `OTF_File_read':
OTF_File.c:(.text+0x1322): undefined reference to `inflate'
/work/wdx/ptmp/openmpi/openmpi-1.3.2/lib/libotf.a(OTF_File.o): In
function `OTF_File_write':
OTF_File.c:(.text+0x1622): undefined reference to `deflate'
OTF_File.c:(.text+0x1772): undefined reference to `deflate'
/work/wdx/ptmp/openmpi/openmpi-1.3.2/lib/libotf.a(OTF_File.o): In
function `OTF_File_close':
OTF_File.c:(.text+0x19d2): undefined reference to `inflateEnd'
OTF_File.c:(.text+0x1bc2): undefined reference to `deflate'
OTF_File.c:(.text+0x1c82): undefined reference to `deflateEnd'
make: *** [CCTM_e1a_Linux2_i686intel] Error 1

Am I missing something in the openmpi building process? Please advise.
Your help is greatly appreciated.

Thanks,
David