freeipmi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freeipmi-devel] FreeIPMI and IRIX - no compile


From: Nick Floersch
Subject: [Freeipmi-devel] FreeIPMI and IRIX - no compile
Date: Sat, 31 Jul 2004 18:25:29 -0400

Hello all,

I just barely moments ago found out about IPMI in general and FreeIPMI at all. 
I am simply trying to figure out how Ports 623 and 664 are being used on the 
web server I am building - which has an Intel Gigabit card and Mobo. I 
understand that Intel builds some monitoring in to the system (now I understand 
this, that is), and thought I would see if this Fish tool connects to those 
ports on this machine. So, I don't know a lot about this.

The only other UNIX machine I have here to run Fish from is running IRIX 
6.5.20. So, after trying to compile, and it failing, I thought someone may, at 
some time, be interested in seeing the failures. I am no IPMI developer, though 
if you need someone to try and build on IRIX, I'll be happy to give it a shot.

Here is the output from ./configure and then gmake (on IRIX you need to specify 
gmake instead of make or else the SGI MipsPro compilers jump in, which don't 
usually play well with code written for a GNU environment).

--- snip ---

Octane:~/ipmi/freeipmi-0.1.0$> ./configure
checking for a BSD-compatible install... /usr/freeware/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... mips-sgi-irix6.5
checking host system type... mips-sgi-irix6.5
checking for a BSD-compatible install... /usr/freeware/bin/install -c
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /sbin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 8192
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... :
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... 
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -n32) supports shared libraries... 
yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... irix6.5 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -n32
checking if the linker (/usr/bin/ld -n32) is GNU ld... no
checking whether the g++ linker (/usr/bin/ld -n32) supports shared libraries... 
yes
checking for g++ option to produce PIC... 
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -n32) supports shared libraries... 
yes
checking dynamic linker characteristics... irix6.5 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... 
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld -n32) supports shared libraries... 
yes
checking dynamic linker characteristics... irix6.5 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking whether make sets $(MAKE)... (cached) yes
checking for guile... /usr/freeware/bin/guile
checking for guile-config... /usr/freeware/bin/guile-config
checking for guile-tools... /usr/freeware/bin/guile-tools
checking libguile compile flags... -I/usr/freeware/include
checking libguile link flags... -L/usr/freeware/lib32 -lguile -lqthreads 
-lcrypt -lm
checking for library containing tgetent... -ltermcap
checking for readline in -lreadline... no
checking whether byte ordering is bigendian... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for ding... no
checking for rl_ding... no
checking for completion_matches... no
checking for rl_completion_matches... no
checking for strchr... yes
checking for memcpy... yes
checking for memset... yes
checking for getopt_long... no
checking for mlock... yes
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for unistd.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/examples/Makefile
config.status: creating fish/Makefile
config.status: creating fish/src/Makefile
config.status: creating fish/extensions/Makefile
config.status: creating fish/scripts/Makefile
config.status: creating fish/scripts/sensors/Makefile
config.status: creating fish/scripts/sensors/sensors
config.status: creating fish/scripts/bmc-config/Makefile
config.status: creating fish/scripts/bmc-config/bmc-config
config.status: creating fish/scripts/sel/Makefile
config.status: creating fish/scripts/sel/sel
config.status: creating fish/scripts/bmc-info/Makefile
config.status: creating fish/scripts/bmc-info/bmc-info
config.status: creating libfreeipmi/Makefile
config.status: creating libfreeipmi/src/Makefile
config.status: creating bmc-watchdog/Makefile
config.status: creating bmc-watchdog/src/Makefile
config.status: creating ipmipower/Makefile
config.status: creating ipmipower/src/Makefile
config.status: creating ipmiping/Makefile
config.status: creating ipmiping/src/Makefile
config.status: creating rmcpping/Makefile
config.status: creating rmcpping/src/Makefile
config.status: creating doc/bmc-watchdog.8
config.status: creating doc/ipmipower.8
config.status: creating doc/ipmipower.conf.5
config.status: creating doc/ipmiping.8
config.status: creating doc/rmcpping.8
config.status: creating freeipmi.spec
config.status: creating config.h
config.status: executing depfiles commands

Octane:~/ipmi/freeipmi-0.1.0$> gmake
gmake  all-recursive
gmake[1]: Entering directory `/usr/people/root/ipmi/freeipmi-0.1.0'
Making all in doc
gmake[2]: Entering directory `/usr/people/root/ipmi/freeipmi-0.1.0/doc'
Making all in examples
gmake[3]: Entering directory `/usr/people/root/ipmi/freeipmi-0.1.0/doc/examples'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/usr/people/root/ipmi/freeipmi-0.1.0/doc/examples'
gmake[3]: Entering directory `/usr/people/root/ipmi/freeipmi-0.1.0/doc'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/usr/people/root/ipmi/freeipmi-0.1.0/doc'
gmake[2]: Leaving directory `/usr/people/root/ipmi/freeipmi-0.1.0/doc'
Making all in libfreeipmi
gmake[2]: Entering directory `/usr/people/root/ipmi/freeipmi-0.1.0/libfreeipmi'
Making all in src
gmake[3]: Entering directory 
`/usr/people/root/ipmi/freeipmi-0.1.0/libfreeipmi/src'
source='bit-ops.c' object='bit-ops.lo' libtool=yes \
depfile='.deps/bit-ops.Plo' tmpdepfile='.deps/bit-ops.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..    
-Wall -D_GNU_SOURCE -DFREEIPMI_BUILD -DFREEIPMI_LIBRARY -g -O2 -c -o bit-ops.lo 
`test -f 'bit-ops.c' || echo './'`bit-ops.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -D_GNU_SOURCE -DFREEIPMI_BUILD 
-DFREEIPMI_LIBRARY -g -O2 -c bit-ops.c -MT bit-ops.lo -MD -MP -MF 
.deps/bit-ops.TPlo  -DPIC -o .libs/bit-ops.o
In file included from bit-ops.c:26:
freeipmi.h:45:17: err.h: No such file or directory
In file included from freeipmi.h:49,
                 from bit-ops.c:26:
xmalloc.h:59:19: error.h: No such file or directory
In file included from freeipmi.h:53,
                 from bit-ops.c:26:
bit-ops.h:162: error: parse error before "bits_extract"
bit-ops.h:162: error: parse error before "bits"
bit-ops.h:162: warning: type defaults to `int' in declaration of `bits_extract'
bit-ops.h:162: warning: data definition has no type or storage class
bit-ops.h:163: error: parse error before "bits_merge"
bit-ops.h:163: error: parse error before "bits"
bit-ops.h:163: warning: type defaults to `int' in declaration of `bits_merge'
bit-ops.h:163: warning: data definition has no type or storage class
In file included from freeipmi.h:54,
                 from bit-ops.c:26:
fiid.h:134: error: parse error before "u_int64_t"
fiid.h:135: error: parse error before "u_int64_t"
In file included from freeipmi.h:55,
                 from bit-ops.c:26:
ipmi-probe.h:43: error: parse error before "u_int64_t"
ipmi-probe.h:43: warning: no semicolon at end of struct or union
ipmi-probe.h:43: warning: no semicolon at end of struct or union
ipmi-probe.h:44: warning: type defaults to `int' in declaration of 
`bmc_membase_addr'
ipmi-probe.h:44: warning: data definition has no type or storage class
ipmi-probe.h:45: warning: type defaults to `int' in declaration of `base'
ipmi-probe.h:45: warning: data definition has no type or storage class
ipmi-probe.h:47: error: parse error before '}' token
In file included from freeipmi.h:58,
                 from bit-ops.c:26:
ipmi-utils.h:57: error: parse error before "u_int64_t"
ipmi-utils.h:58: error: parse error before "u_int64_t"
In file included from freeipmi.h:63,
                 from bit-ops.c:26:
ipmi-sessions.h:73: error: parse error before "u_int64_t"
In file included from freeipmi.h:65,
                 from bit-ops.c:26:
ipmi-semaphores.h:84: error: redefinition of `union semun'
In file included from freeipmi.h:67,
                 from bit-ops.c:26:
ipmi-lan-interface.h:159: error: parse error before "u_int64_t"
In file included from freeipmi.h:68,
                 from bit-ops.c:26:
ipmi-kcs-interface.h:34:20: sys/io.h: No such file or directory
In file included from freeipmi.h:68,
                 from bit-ops.c:26:
ipmi-kcs-interface.h:122: error: parse error before "ipmi_kcs_get_poll_count"
ipmi-kcs-interface.h:122: warning: type defaults to `int' in declaration of 
`ipmi_kcs_get_poll_count'
ipmi-kcs-interface.h:122: warning: data definition has no type or storage class
In file included from freeipmi.h:69,
                 from bit-ops.c:26:
ipmi-smic-interface.h:33:20: sys/io.h: No such file or directory
In file included from freeipmi.h:79,
                 from bit-ops.c:26:
ipmi-lan-cmds.h:200: error: parse error before "u_int64_t"
ipmi-lan-cmds.h:212: error: parse error before "u_int64_t"
ipmi-lan-cmds.h:224: error: parse error before "u_int64_t"
In file included from freeipmi.h:87,
                 from bit-ops.c:26:
ipmi-sensor-utils.h:31: error: parse error before "u_int64_t"
ipmi-sensor-utils.h:41: error: parse error before "u_int64_t"
bit-ops.c:37: error: parse error before "bits_extract"
bit-ops.c:37: error: parse error before "bits"
bit-ops.c:38: warning: return type defaults to `int'
bit-ops.c: In function `bits_extract':
bit-ops.c:39: error: `bits' undeclared (first use in this function)
bit-ops.c:39: error: (Each undeclared identifier is reported only once
bit-ops.c:39: error: for each function it appears in.)
bit-ops.c:39: error: `start' undeclared (first use in this function)
bit-ops.c:40: error: `end' undeclared (first use in this function)
bit-ops.c: At top level:
bit-ops.c:49: error: parse error before "bits_merge"
bit-ops.c:49: error: parse error before "bits"
bit-ops.c:50: warning: return type defaults to `int'
bit-ops.c: In function `bits_merge':
bit-ops.c:51: error: `u_int64_t' undeclared (first use in this function)
bit-ops.c:51: error: parse error before "lsb_ones"
bit-ops.c:54: error: `start' undeclared (first use in this function)
bit-ops.c:56: error: `lsb_ones' undeclared (first use in this function)
bit-ops.c:62: error: `msb_ones' undeclared (first use in this function)
bit-ops.c:62: error: `end' undeclared (first use in this function)
bit-ops.c:68: error: `bits' undeclared (first use in this function)
bit-ops.c:69: error: `val' undeclared (first use in this function)
gmake[3]: *** [bit-ops.lo] Error 1
gmake[3]: Leaving directory 
`/usr/people/root/ipmi/freeipmi-0.1.0/libfreeipmi/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/people/root/ipmi/freeipmi-0.1.0/libfreeipmi'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/people/root/ipmi/freeipmi-0.1.0'
gmake: *** [all] Error 2

--- snip ---

I don't have time right now to figure out what is wrong with Bit-ops, but I 
thought someone else might have a clue.

I'm not looking for resolution, just trying to help out.

Thanks for the effort,
Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]