[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freeipmi-devel] FreeIPMI on NetBSD
From: |
Albert Chu |
Subject: |
Re: [Freeipmi-devel] FreeIPMI on NetBSD |
Date: |
Mon, 15 Aug 2011 09:54:33 -0700 |
Hi Ben,
> ../../libfreeipmi/src/.libs/libfreeipmi.so: undefined reference to `inb'
> ../../libfreeipmi/src/.libs/libfreeipmi.so: undefined reference to `outb'
I can't speak to exactly how to fix your issue, since I don't have a
NetBSD system, but it appears that FreeIPMI can't find and link to your
system's inb and outb system calls. Once you figure out "where they
are", then I believe all you need to do is link against that library and
it should work.
I doubt the folks that added NetBSD support into FreeIPMI wouldn't have
done so without adding appropriate checks for the library. It's
possible a bug came up, or maybe there's been a change in NetBSD and
they calls are now somewhere else?
Al
On Sat, 2011-08-13 at 00:14 -0700, Ben C. wrote:
> Since there is no package in pkgsrc for FreeIPMI I have recently taken
> the task of building it the old fashioned way on my system. I've had
> quite a few issues-but this one, I'm stuck at. Right now my configure
> line looks something like this:
>
> ./configure LDFLAGS='-L/usr/pkg/lib/ -lpthread' CFLAGS='-I/usr/pkg/include/'
>
> Which ends with some errors (below). The only thing I can find
> related are build errors associated with an entirely different
> architecture, ppc64. Something about sys/io.h... glibc.. I'm really
> at a loss/over my head on this. Any ideas? I've also pastebin'd the
> entire clean/configure/make log if anyone has a moment to help:
>
> Paste: http://pastebin.com/UwTb3b6n
>
> Or, to view it without pastebin's ads, html, and other junk:
> http://pastebin.com/raw.php?i=UwTb3b6n
>
> Thanks, Ben
>
> -------
> [snip]
> *** Warning: Linking the executable bmc-config against the loadable module
> *** libfreeipmi.so is not portable!
> libtool: link: gcc -I/usr/pkg/include/ -o .libs/bmc-config
> bmc-config.o bmc-config-argp.o bmc-config-channel-common.o
> bmc-config-map.o bmc-config-sections.o bmc-config-utils.o
> bmc-config-user-sections.o bmc-config-lan-channel-section.o
> bmc-config-serial-channel-section.o bmc-config-lan-conf-section.o
> bmc-config-lan-conf-auth-section.o
> bmc-config-lan-conf-security-keys-section.o
> bmc-config-lan-conf-misc-section.o
> bmc-config-lan-conf-user-security-section.o
> bmc-config-rmcpplus-conf-privilege-section.o
> bmc-config-serial-conf-section.o bmc-config-pef-conf-section.o
> bmc-config-sol-conf-section.o bmc-config-misc-section.o
> bmc-config-validate.o -L/usr/pkg/lib/
> ../../common/src/configtool/.libs/libconfigtoolcommon.a
> ../../common/src/toolcommon/.libs/libtoolcommon.a
> ../../common/src/toolhostrange/.libs/libtoolhostrange.a
> ../../common/src/miscutil/.libs/libmiscutils.a
> ../../common/src/parsecommon/.libs/libparsecommon.a
> ../../common/src/portability/.libs/libfreeipmiportability.a
> ../../libipmidetect/src/.libs/libipmidetect.so
> ../../libfreeipmi/src/.libs/libfreeipmi.so -L/usr/pkg/lib
> /usr/pkg/lib/libgcrypt.so /usr/pkg/lib/libgpg-error.so -lintl
> -lpthread -lm -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath
> -Wl,/usr/pkg/lib
> ../../libfreeipmi/src/.libs/libfreeipmi.so: undefined reference to `inb'
> ../../libfreeipmi/src/.libs/libfreeipmi.so: undefined reference to `outb'
> *** Error code 1
>
> Stop.
> make: stopped in /root/freeipmi-1.0.4/bmc-config/src
> *** Error code 1
>
> Stop.
> make: stopped in /root/freeipmi-1.0.4/bmc-config
> *** Error code 1
>
> Stop.
> make: stopped in /root/freeipmi-1.0.4
>
> _______________________________________________
> Freeipmi-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/freeipmi-devel
--
Albert Chu
address@hidden
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory