bugGNU FreeIPMI - Bugs: bug #32590, compile problem on solaris10 in...

 
 

bug #32590: compile problem on solaris10 in ipmi-oem-intel.c

Submitter:  None
Submitted:  Thu 24 Feb 2011 07:32:10 PM UTC
   
 
Category:  ipmi-oem Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 24 Feb 2011 10:04:06 PM UTC, comment #3: 

err #include =)

Ben Lutgens <blutgens>
Thu 24 Feb 2011 09:57:07 PM UTC, comment #2: 

o, i am just naive I didn't think to look for limits.h, I guess I just assumed it was there =)

I am not a programmer, just a lowly unix admin new to solaris. I'm sure it would have "just worked(tm)" on linux.

And I just confirmed that adding:
#define /usr/include/limits.h

did in fact do the trick.

Ben Lutgens <blutgens>
Thu 24 Feb 2011 09:42:53 PM UTC, comment #1: 

It seems that /usr/include/limits.h includes /usr/include/iso/limits_iso.h.  I just tried this out on a Solaris 10 box by including /usr/include/limits.h in ipmi-oem-intel.c and it fixed things.

Perhaps there was a different issue for you?

Albert Chu <chu11>
Group administrator
Thu 24 Feb 2011 07:32:10 PM UTC, original submission:  

Solaris 10 for some reason doesn't have UCHAR_MAX set in /usr/include/limits.h, which was causing the compile to choke during ipmi-oem-intel.c. I fixed this for myself by adding:
#include "/usr/include/iso/limits_iso.h"

to ipmi-oem-intel.c

I am no C coder, but it worked for me, just thought I'd share

sincerely -email is unavailable-

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by blutgens (Posted a comment)
  • -email is unavailable- added by chu11 (Posted a comment)
  • -email is unavailable- added by chu11
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-04-12 chu11 Open/ClosedOpen Closed
    2011-02-24 chu11 Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code