Sorry for bringing in all of the old conversations into the bug. This looks like a openipmi bug to me.
As Juhani mentioned to avoid the name space collisions openipmi introduced the following line selector.h #ifdef OPENIPMI_DEFINE_SELECTOR_T which is not defined earlier and it is not defined in openhpi. Instead of #ifdef they need to use #ifndef so that older code will work and the newer code could define the variable. If openhpi replaces "selector_t" with "struct selector_s" then the compile works fine. How do we go about this?