Sorry I missed this thread. There is also an ibdebug defined in libibmad.
extern int ibdebug; This is the one it is using... :-/ I think there should be a wrapper function. Perhaps madrpc_show_errors? Ira On Thu, 23 Apr 2009 11:49:36 -0700 "Sean Hefty" <[email protected]> wrote: > >> Where does the definition for ibdebug come from? > > > >It is in ibdiag_common.c. Every infiniband-ibdiag tool is linked with > >it. And yes, using this in this library can be problematic since > >introduces a "hidden" dependency. > > How does that work? The library doesn't link ibdiag_common.c, so I'm not sure > what definition it picks up. Maybe it defaults to undefined, assumed int... > > To get things to build and run on Windows, I defined it as a static in the > library. > -- Ira Weiny Math Programmer/Computer Scientist Lawrence Livermore National Lab [email protected] _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
