Dear devels.

Preparing ipmitool build environment with enabled Solaris 10 IPMI tool configuration option (--enable-intf-bmc)
fails to build bmc:

/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -g -O2 -Wall -Wextra -std=c99 -pedantic -Wformat -Wformat-nonliteral -MT bmc.lo -MD -MP -MF .deps/bmc.Tpo -c -o bmc.lo bmc.c
bmc.c:46:25: fatal error: sys/stropts.h: No such file or directory
 #include <sys/stropts.h>
                         ^
compilation terminated.
make: *** [bmc.lo] Error 1


One of the sources the bmc.c code needs system header file stropts.h. The header provides macros requesters and structs argument to ioctl. Example of both are I_STR and struct strioctl. Streams are optional in POSIX. They are not implemented on all Linux distributions. Ubuntu and Centos are examples which clearly shows discrepancies. The former provides the stream functionality with libc6-\* packages, on the
other hand Centos does not in anyway (probably in some other way).
We need the ipmi bmc support for our platforms.

Any comments are appreciated concerning the issue.


Ipmitool
-----------
Source fresh checkouted from superfeature branch

System OS and packages
----------------------------------
Centos-7 x86_64
kernel 3.10.0-327.10.1.el7,
glibc-devel-2.17-106
glibc-2.17-106
glibc-common-2.17-106
glibc-headers-2.17-106
compat-glibc-2.12-4
compat-glibc-headers-2.12-4


Best regards,
Milos

--
Milos Bajic
Software Development Engineer
P: +386 5 335 26 00
E: milos.ba...@i-tech.si <mailto:milos.ba...@i-tech.si>
Instrumentation Technologies, d. d.
Velika pot 22 - 5250 Solkan - Slovenia
F: +386 5 335 26 01
www.i-tech.si <http://www.i-tech.si>

/The information transmitted is intended solely for the addresses and may contain confidential and/or privileged information. Any review, retention, disclosure or other use by persons other than the intended recipient is prohibited. If you received this in error, please notify the sender and delete all copies.///////
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to