Juan Pablo Baserga
2015-02-03 22:27:49 UTC
Hi,
I am trying to compile ipmitool-1.8.15 under Cygwin. If I compile it using
only the lan driver (./configure --enable-intf-lanplus) everything goes
smooth; but if I try to compile the Intel driver (so I can do inband
management in Windows) it gives an error.
I do:
./configure --enable-intf-lanplus --enable-intf-imb
configure runs ok
make
ends with the following errors:
make[4]: Entering directory '/cygdrive/c/ipmitool-1.8.15/src/plugins/imb'
/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H
-I. -I../../.. -I../../../include -g -O2 -fno-strict-aliasing
-Wreturn-type
-MT imbapi.lo -MD -MP -MF .deps/imbapi.Tpo -c -o imbapi.lo imbapi.c
imbapi.c:107:0: warning: "PAGESIZE" redefined
#define PAGESIZE EXEC_PAGESIZE
^
In file included from
/usr/lib/gcc/i686-pc-cygwin/4.9.2/include-fixed/limits.h:1
68:0,
from
/usr/lib/gcc/i686-pc-cygwin/4.9.2/include-fixed/syslimits.
h:7,
from
/usr/lib/gcc/i686-pc-cygwin/4.9.2/include-fixed/limits.h:3
4,
from /usr/include/sys/param.h:15,
from imbapi.c:89:
/usr/include/limits.h:211:0: note: this is the location of the previous
definiti
on
#define PAGESIZE 65536
^
imbapi.c: In function 'MapPhysicalMemory':
imbapi.c:107:18: error: 'EXEC_PAGESIZE' undeclared (first use in this
function)
#define PAGESIZE EXEC_PAGESIZE
^
imbapi.c:1999:30: note: in expansion of macro 'PAGESIZE'
diff = (int)startpAddress % PAGESIZE;
^
imbapi.c:107:18: note: each undeclared identifier is reported only once for
each
function it appears in
#define PAGESIZE EXEC_PAGESIZE
^
imbapi.c:1999:30: note: in expansion of macro 'PAGESIZE'
diff = (int)startpAddress % PAGESIZE;
^
imbapi.c: In function 'UnmapPhysicalMemory':
imbapi.c:107:18: error: 'EXEC_PAGESIZE' undeclared (first use in this
function)
#define PAGESIZE EXEC_PAGESIZE
^
imbapi.c:2045:44: note: in expansion of macro 'PAGESIZE'
diff = ((unsigned int) virtualAddress) % PAGESIZE;
^
Makefile:417: recipe for target 'imbapi.lo' failed
make[4]: *** [imbapi.lo] Error 1
make[4]: Leaving directory '/cygdrive/c/ipmitool-1.8.15/src/plugins/imb'
Makefile:481: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/cygdrive/c/ipmitool-1.8.15/src/plugins'
Makefile:580: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/cygdrive/c/ipmitool-1.8.15/src'
Makefile:454: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/cygdrive/c/ipmitool-1.8.15'
Makefile:385: recipe for target 'all' failed
make: *** [all] Error 2
Do I need to use any other switches in configure or lack a Cywin package?
Thanks in advance for your help!
Best regards,
Juan Pablo Baserga
Consultor Independiente/Independent Consultant
Mobile/Linux/High Availability/Internet/Business Intelligence
Cel: +54-911-5318-1127
Phone: +54-11-4799-8237
Skype: jbaserga
I am trying to compile ipmitool-1.8.15 under Cygwin. If I compile it using
only the lan driver (./configure --enable-intf-lanplus) everything goes
smooth; but if I try to compile the Intel driver (so I can do inband
management in Windows) it gives an error.
I do:
./configure --enable-intf-lanplus --enable-intf-imb
configure runs ok
make
ends with the following errors:
make[4]: Entering directory '/cygdrive/c/ipmitool-1.8.15/src/plugins/imb'
/bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H
-I. -I../../.. -I../../../include -g -O2 -fno-strict-aliasing
-Wreturn-type
-MT imbapi.lo -MD -MP -MF .deps/imbapi.Tpo -c -o imbapi.lo imbapi.c
imbapi.c:107:0: warning: "PAGESIZE" redefined
#define PAGESIZE EXEC_PAGESIZE
^
In file included from
/usr/lib/gcc/i686-pc-cygwin/4.9.2/include-fixed/limits.h:1
68:0,
from
/usr/lib/gcc/i686-pc-cygwin/4.9.2/include-fixed/syslimits.
h:7,
from
/usr/lib/gcc/i686-pc-cygwin/4.9.2/include-fixed/limits.h:3
4,
from /usr/include/sys/param.h:15,
from imbapi.c:89:
/usr/include/limits.h:211:0: note: this is the location of the previous
definiti
on
#define PAGESIZE 65536
^
imbapi.c: In function 'MapPhysicalMemory':
imbapi.c:107:18: error: 'EXEC_PAGESIZE' undeclared (first use in this
function)
#define PAGESIZE EXEC_PAGESIZE
^
imbapi.c:1999:30: note: in expansion of macro 'PAGESIZE'
diff = (int)startpAddress % PAGESIZE;
^
imbapi.c:107:18: note: each undeclared identifier is reported only once for
each
function it appears in
#define PAGESIZE EXEC_PAGESIZE
^
imbapi.c:1999:30: note: in expansion of macro 'PAGESIZE'
diff = (int)startpAddress % PAGESIZE;
^
imbapi.c: In function 'UnmapPhysicalMemory':
imbapi.c:107:18: error: 'EXEC_PAGESIZE' undeclared (first use in this
function)
#define PAGESIZE EXEC_PAGESIZE
^
imbapi.c:2045:44: note: in expansion of macro 'PAGESIZE'
diff = ((unsigned int) virtualAddress) % PAGESIZE;
^
Makefile:417: recipe for target 'imbapi.lo' failed
make[4]: *** [imbapi.lo] Error 1
make[4]: Leaving directory '/cygdrive/c/ipmitool-1.8.15/src/plugins/imb'
Makefile:481: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/cygdrive/c/ipmitool-1.8.15/src/plugins'
Makefile:580: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/cygdrive/c/ipmitool-1.8.15/src'
Makefile:454: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/cygdrive/c/ipmitool-1.8.15'
Makefile:385: recipe for target 'all' failed
make: *** [all] Error 2
Do I need to use any other switches in configure or lack a Cywin package?
Thanks in advance for your help!
Best regards,
Juan Pablo Baserga
Consultor Independiente/Independent Consultant
Mobile/Linux/High Availability/Internet/Business Intelligence
Cel: +54-911-5318-1127
Phone: +54-11-4799-8237
Skype: jbaserga