On Wed, Aug 8, 2012 at 3:19 AM, Carson Gaspar <carson+ipmit...@taltos.org> wrote: > No - it looks like lib/ipmi_mc.c has been gcc only for a long time now :-( >
lib/ipmi_mc.c hasn't been touched for 2 years and 3 months. ipmitool-1.8.11 is out for 3 years and 6 months. Actually, which version of ipmitool can you compile at Solaris 11? > Where does the struct_member_name: value syntax even come from? Every Can you post stdout/stderr/logs? My guess is this is not a problem, but rather pre-processor/compiler tripping all over the place. Regards, Z. > reference I can find uses .struct_member_name = value. If I replace all > foo: "bar" lines with .foo = bar lines, and hack out the pack pragma > define from config.h, the code compiles. > > The delloem code uses __attribute__ ((packed)) unconditionally, ignoring > the configure tests. > > ipmi_delloem.h also does an unconditional #pragma pack(1) at the top of > the file, causing everything to be packed, which is certainly not what's > intended, as only some structures have a packed attribute. > > Oracle's cc supports the __attribute__ ((packed)) syntax, but does not > pack the test structure used in configure to 3 bytes the way gcc does, > it packs to 5 bytes (unsurprising for 5 chars, modified with bitlengths > though they may be). If that's not good enough, then there is no way to > use anything but gcc. > > -- > Carson > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Ipmitool-devel mailing list > Ipmitool-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ipmitool-devel ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel