[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Freeipmi-devel] Configure/compile error in openipmi support
From: |
Levi Pearson |
Subject: |
[Freeipmi-devel] Configure/compile error in openipmi support |
Date: |
Wed, 25 Apr 2007 12:20:11 -0600 |
In an attempt to build the FreeIPMI CVS trunk on a SuSE 9.3 (x86-64)
with 2.9.6 kernel headers, we got some errors while it tried to build
the openipmi support libraries. Perhaps the openipmi support could be
made a configure-level option? Errors were as follows:
>From configure:
checking linux/ipmi.h usability... no
checking linux/ipmi.h presence... yes
configure: WARNING: linux/ipmi.h: present but cannot be compiled
configure: WARNING: linux/ipmi.h: check for missing prerequisite headers?
configure: WARNING: linux/ipmi.h: see the Autoconf documentation
configure: WARNING: linux/ipmi.h: section "Present But Cannot Be Compiled"
configure: WARNING: linux/ipmi.h: proceeding with the preprocessor's result
configure: WARNING: linux/ipmi.h: in the future, the compiler will take
precedence
configure: WARNING: ## ------------------------------------- ##
configure: WARNING: ## Report this to address@hidden ##
configure: WARNING: ## ------------------------------------- ##
checking for linux/ipmi.h... yes
checking sys/ipmi.h usability... no
checking sys/ipmi.h presence... no
checking for sys/ipmi.h... no
checking for program_invocation_short_name... yes
checking for /dev/urandom... yes
checking for /dev/random... yes
>From make:
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../include -I./../../common/src
-DIPMI_IPCKEY=\"/usr/local/var/lib/freeipmi/ipckey\"
-DIPMI_DEBUG_IPCKEY=\"../../libfreeipmi/src/ipmi-semaphores.h\" -D_GNU_SOURCE
-D_REENTRANT -Wall -g -O2 -MT libfreeipmi_la-ipmi-openipmi-api.lo -MD -MP -MF
.deps/libfreeipmi_la-ipmi-openipmi-api.Tpo -c ipmi-openipmi-api.c -fPIC -DPIC
-o .libs/libfreeipmi_la-ipmi-openipmi-api.o
In file included from ipmi-openipmi-api.c:58:
/usr/include/linux/ipmi.h:162: error: syntax error before '*' token
/usr/include/linux/ipmi.h:515: error: syntax error before '*' token
/usr/include/linux/ipmi.h:525: error: syntax error before '}' token
/usr/include/linux/ipmi.h:541: error: field `req' has incomplete type
/usr/include/linux/ipmi.h:566: error: syntax error before '*' token
/usr/include/linux/ipmi.h:587: error: syntax error before '}' token
ipmi-openipmi-api.c: In function `_openipmi_write':
ipmi-openipmi-api.c:341: error: storage size of `rq_packet' isn't known
ipmi-openipmi-api.c:380: error: invalid application of `sizeof' to an
incomplete type
ipmi-openipmi-api.c:341: warning: unused variable `rq_packet'
ipmi-openipmi-api.c: In function `_openipmi_read':
ipmi-openipmi-api.c:396: error: storage size of `rs_packet' isn't known
ipmi-openipmi-api.c:424: error: invalid application of `sizeof' to an
incomplete type
ipmi-openipmi-api.c:396: warning: unused variable `rs_packet'
ipmi-openipmi-api.c: At top level:
/usr/include/linux/ipmi.h:580: error: storage size of `msg' isn't known
make[4]: *** [libfreeipmi_la-ipmi-openipmi-api.lo] Error 1
- [Freeipmi-devel] Configure/compile error in openipmi support,
Levi Pearson <=