freeipmi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freeipmi-devel] 0.8.2 Solaris patch


From: Al Chu
Subject: Re: [Freeipmi-devel] 0.8.2 Solaris patch
Date: Mon, 18 Jan 2010 20:07:23 -0800

Hi Andrew,

Thanks for the catch.  I wrote the attached patch, to try and load
headers (and subsequently MAXHOSTNAMELEN) more correctly and
consistently globally.  I consider that the more core problem (e.g. in
some places I didn't even try and load limits.h for Linux).  Can you
give it a shot and LMK if it works for you.

> Also it fixes a little Solaris problem finding
> the m4 files during auto(re)conf.

Is this what:

+ACLOCAL_AMFLAGS = -Iconfig

solves?  I'm a little confused, b/c this should be automatic.

Al

On Mon, 2010-01-18 at 11:11 +1100, Andrew Wansink wrote:
> After a few hours of debugging why I could not talk to IPMI
> using the LAN driver under Solaris I found that MAXHOSTNAMELEN
> is defined in Sun's netdb.h header.
> 
> Worse, it is defined differently by FreeIPMI, this means that
> all the ipmi_ctx.io.outofband member addresses  after hostname
> are shifted when the ctx is passed from ipmi-chassis to routines
> in libfreeipmi.
> 
> I have attached a patch which checks for MAXHOSTNAMELEN in
> netdb.h and if found will include netdb.h before defining
> MAXHOSTNAMELEN.  Also it fixes a little Solaris problem finding
> the m4 files during auto(re)conf.
> 
> Andrew Wansink
> _______________________________________________
> Freeipmi-devel mailing list
> address@hidden
> http://*lists.gnu.org/mailman/listinfo/freeipmi-devel
-- 
Albert Chu
address@hidden
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory

Attachment: maxhostnamelen.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]