[ofiwg] dlopen

Xiong, Jianxin jianxin.xiong at intel.com
Thu Aug 27 11:56:25 PDT 2015


I will fix it soon.

> -----Original Message-----
> From: Jeff Squyres (jsquyres) [mailto:jsquyres at cisco.com]
> Sent: Thursday, August 27, 2015 11:22 AM
> To: Jithin Jose <jithinjose at gmail.com>
> Cc: OFIWG Mailing list <ofiwg at lists.openfabrics.org>; Xiong, Jianxin
> <jianxin.xiong at intel.com>
> Subject: Re: [ofiwg] dlopen
> 
> Oh, yes, psm's configure.m4 is doing Bad Things.  At the bottom:
> 
> 46         psm_CPPFLAGS="$CPPFLAGS $psm_CPPFLAGS"
> 47         psm_LDFLAGS="$LDFLAGS $psm_LDFLAGS"
> 48         psm_LIBS="$LIBS $psm_LIBS"
> 49         CPPFLAGS=
> 50         LDFLAGS=
> 51         LIBS=
> 
> Jianxin -- can you have a look / fix?
> 
> 
> 
> > On Aug 27, 2015, at 1:49 PM, Jithin Jose <jithinjose at gmail.com> wrote:
> >
> > This is my configure line:
> >
> > ./configure --prefix=/home/jose/workspace/libfabric.install --disable-verbs --
> disable-usnic --enable-sockets --disable-psm CFLAGS="-g -Wall" --enable-debug
> >
> > --
> > Jithin Jose
> >
> > On Thu, Aug 27, 2015 at 10:47 AM, Jeff Squyres (jsquyres)
> <jsquyres at cisco.com> wrote:
> > On Aug 27, 2015, at 1:34 PM, Jose, Jithin <jithin.jose at intel.com> wrote:
> > >
> > > Linker errors:
> > >
> > > ./src/.libs/libfabric.so: undefined reference to `dlopen'
> > > ./src/.libs/libfabric.so: undefined reference to `dlclose'
> > > ./src/.libs/libfabric.so: undefined reference to `dlerror'
> > > ./src/.libs/libfabric.so: undefined reference to `dlsym'
> > > collect2: error: ld returned 1 exit status
> > >
> > > Had to add -ldl to CFLAGS.
> >
> > -l flags go in LIBS, not CFLAGS.
> >
> > How are you configuring?  I ask because I'm not getting these errors...?
> >
> > --
> > Jeff Squyres
> > jsquyres at cisco.com
> > For corporate legal information go to:
> http://www.cisco.com/web/about/doing_business/legal/cri/
> >
> > _______________________________________________
> > ofiwg mailing list
> > ofiwg at lists.openfabrics.org
> > http://lists.openfabrics.org/mailman/listinfo/ofiwg
> >
> 
> 
> --
> Jeff Squyres
> jsquyres at cisco.com
> For corporate legal information go to:
> http://www.cisco.com/web/about/doing_business/legal/cri/




More information about the ofiwg mailing list