Dmitry (our FreeBSD maintainer) should chime in eventually.  Here's an
e-mail from long ago though:

----
> On Fri, Dec 15, 2006 at 03:56:08PM +0600, Dmitry Frolov wrote:
> ,----
> | I'm sorry guys, that's completely my fault, since I brought
> | HAVE_STDINT_H into the tree. The better way would be that ugly
> | construct:
> | 
> | #ifdef __FreeBSD__
> | # include <sys/param.h>
> | # if __FreeBSD_version >= 500000
> | #  include <stdint.h>
> | # else
> | #  include <inttypes.h>     /* stdint.h predecessor */
> | # endif
> | #else
> | # include <stdint.h>
> | #endif
> `----
> inttypes.h does not exist in FreeBSD any more?
> Under GNU environment, inttypes.h internally includes stdint.h.
> inttypes.h defines portable format string macros.
> 
> If inttypes.h still exists and always included stdint.h, then a
> simpler solution would be to replace stdint.h with inttypes.h. It will
> work for both FreeBSD and GNU environment.

After some thought, the right thing is to just use stdint.h. I brought
stdint.h check for the sole purpose to support FreeBSD 4.x, which is not
possible anymore in 0.3.0 due to missing getpwuid_r() implementation.
So dropping FBSD 4.x support seems to be natural.

----

So I guess stdint just isn't in FreeBSD 4.x.

If there is demand for FreeIPMI on FreeBSD 4.x, I suppose we could go
with inttypes.h.  Or perhaps write a wrapper "freeipmi-stdint.h" or
something that does the macro above.

Dmitry, what's your take on this?

Al

On Wed, 2007-11-21 at 11:49 +0530, Sharad Chandra wrote:
> Hi, 
> 
>       A quick question,
> What is the latest freeipmi package that i can install on freebsd 4.x,
> I had freeipmi -0.2 beta version on one of my system but ipmi-locate doesn't 
> show probing devices using dmidecode any where.
> 
> I tried to compile freeipmi-0.5 beta0 with its dependency taken from 
> RELEASE_4_EOL branch, but at last i found,
> 
> file attached:
> 
> Please help me.
> 
> Thanks
> Sharad Chandra
> 
> _______________________________________________
> Freeipmi-devel mailing list
> Freeipmi-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/freeipmi-devel
-- 
Albert Chu
[EMAIL PROTECTED]
925-422-5311
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory


_______________________________________________
Freeipmi-devel mailing list
Freeipmi-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/freeipmi-devel

Reply via email to