[ofa-general] [PATCH v3 1/3] Create a new library libibnetdisc

Sean Hefty sean.hefty at intel.com
Thu Apr 23 11:49:36 PDT 2009


>> 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.




More information about the general mailing list