Ah:

Here's the config.log:

configure:133950: checking whether IBV_LINK_LAYER_ETHERNET is declared
configure:133950: gcc -std=gnu99 -c -g -Wall -Wundef -Wno-long-long 
-Wsign-compare
-Wmissing-prototypes -Wstrict-prototypes -Wcomment -pedantic 
-Werror-implicit-function-declaration
-finline-functions -fno-strict-aliasing -pthread
-I/usr/local/src/ompi-trunk/opal/mca/hwloc/hwloc152/hwloc/include
-I/usr/local/src/ompi-trunk/opal/mca/event/libevent2021/libevent
-I/usr/local/src/ompi-trunk/opal/mca/event/libevent2021/libevent/include  
conftest.c >&5
conftest.c:611: warning: function declaration isn't a prototype
configure:133950: $? = 0
configure:133950: result: yes

And I see it in opal_config.h:

/* Define to 1 if you have the declaration of `IBV_LINK_LAYER_ETHERNET', and
   to 0 if you don't. */
#define HAVE_DECL_IBV_LINK_LAYER_ETHERNET 1

Note the #define is HAVE_DECL_IBV_LINK_LAYER_ETHERNET but the code is checking 
for
HAVE_IBV_LINK_LAYER_ETHERNET!

No _DECL_...



> -----Original Message-----
> From: devel [mailto:devel-boun...@open-mpi.org] On Behalf Of Steve Wise
> Sent: Tuesday, August 20, 2013 9:07 AM
> To: 'Jeff Squyres (jsquyres)'
> Cc: 'Open MPI Developers'; 'Indranil Choudhury'
> Subject: Re: [OMPI devel] openmpi-1.7.2 fails to use the RDMACM CPC
> 
> 
> 
> > -----Original Message-----
> > From: Jeff Squyres (jsquyres) [mailto:jsquy...@cisco.com]
> > Sent: Tuesday, August 20, 2013 8:59 AM
> > To: Steve Wise
> > Cc: Open MPI Developers; Indranil Choudhury
> > Subject: Re: [OMPI devel] openmpi-1.7.2 fails to use the RDMACM CPC
> >
> > On Aug 20, 2013, at 9:51 AM, Steve Wise <sw...@opengridcomputing.com> wrote:
> >
> > > I checked in the correct fix,
> >
> > Er, no.  Please re-read my email -- your fix was incorrect (you're 
> > overriding the output of an
AC
> macro).
> > :-)
> >
> 
> What is the correct fix then?  I've never worked with any of this AC stuff...
> 
> With the existing code (prior to my broken fix), HAVE_IBV_LINK_LAYER_ETHERNET 
> does not get
defined.
> Yet the enum and the link_type field are in verbs.h...
> 
> Thanks.
> 
> 
> _______________________________________________
> devel mailing list
> de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/devel

Reply via email to