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

 
 

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

Submitted by:  None
Submitted on:  Thu 24 Feb 2011 07:32:10 PM UTC  
 
Category: ipmi-oemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Operating System: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 -unavailable-

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 12 Apr 2011 08:44:09 PM UTCchu11Open/ClosedOpen=>Closed
    Thu 24 Feb 2011 09:42:53 PM UTCchu11Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1