freeipmi-users
[Top][All Lists]
Advanced

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

[Freeipmi-users] RE: Freeipmi-users Digest, Vol 41, Issue 11


From: michael
Subject: [Freeipmi-users] RE: Freeipmi-users Digest, Vol 41, Issue 11
Date: Mon, 24 Nov 2008 14:19:49 -0500

 
You need to link in pthreads


-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
address@hidden
Sent: Monday, November 24, 2008 12:02 PM
To: address@hidden
Subject: Freeipmi-users Digest, Vol 41, Issue 11

Send Freeipmi-users mailing list submissions to
        address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.gnu.org/mailman/listinfo/freeipmi-users
or, via email, send a message with subject or body 'help' to
        address@hidden

You can reach the person managing the list at
        address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Freeipmi-users digest..."


Today's Topics:

   1. Re: [Freeipmi-devel] Errors in Compiling
      FreeIPMI-0.7.3.beta1.tar.gz on FreeBSD7.1Beta2 (Won De Erick)


----------------------------------------------------------------------

Message: 1
Date: Sun, 23 Nov 2008 20:02:39 -0800 (PST)
From: Won De Erick <address@hidden>
Subject: [Freeipmi-users] Re: [Freeipmi-devel] Errors in Compiling
        FreeIPMI-0.7.3.beta1.tar.gz on FreeBSD7.1Beta2
To: address@hidden
Cc: address@hidden, address@hidden,     Dmitry Frolov
        <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii

Hi Al,

Adding that environment variable has solved the problem. But there were
unsupported dependencies when configuring:

checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no

However, I can able to use the tools. I am still undetermined of the
problems that the above may bring.

Thanks,

Won



----- Original Message ----
From: Al Chu <address@hidden>
To: Won De Erick <address@hidden>
Cc: address@hidden; address@hidden; Dmitry Frolov
<address@hidden>
Sent: Friday, November 21, 2008 7:31:36 PM
Subject: Re: [Freeipmi-devel] Errors in Compiling
FreeIPMI-0.7.3.beta1.tar.gz on FreeBSD7.1Beta2

I have to punt to Dmitry at this point, since I don't know FreeBSD.  The
pthread library isn't being linked in.  Not really sure why.  You may
want to set the environment variable 

LIBS=-lpthread

and see if that does anything.

AL

On Thu, 2008-11-20 at 22:47 -0800, Won De Erick wrote:
> Hi Al,
> 
> Based from that, I tried the following:
> 
> # setenv CPPFLAGS -I/usr/local/include 
> # setenv LDFLAGS -L/usr/local/lib
> # setenv PTHREAD_LIBS -pthread
> # ./configure --disable-init-scripts --disable-logrotate-config
--disable-logdir --localstatedir=/var
--with-ipmi-monitoring-sdr-cache-dir=/var/db/freeipmi/ipmimonitoringsdrcache
--sysconfdir=/usr/local/etc/freeipmi --prefix=/usr/local
> 
> 
> Then, a Makefile was successfully created. 
> When compiling w/ gmake:
> 
> *** Warning: Linking the executable bmc-config against the loadable module
> *** libfreeipmi.so is not portable!
> gcc -g -O2 -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-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/local/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/portability/.libs/libfreeipmiportability.a
../../ipmidetect/src/libipmidetect/.libs/libipmidetect.so
../../libfreeipmi/src/.libs/libfreeipmi.so
>  /usr/local/lib/libgcrypt.so /usr/local/lib/libgpg-error.so
/usr/local/lib/libintl.so /usr/local/lib/libiconv.so -largp -lm  -Wl,--rpath
-Wl,/usr/local/lib
>
.../../common/src/toolhostrange/.libs/libtoolhostrange.a(libtoolhostrange_la
-pstdout.o)(.text+0x166a): In function `pstdout_launch':
> /root/freeipmi-0.7.3.beta1/common/src/toolhostrange/pstdout.c:1424:
undefined reference to `pthread_create'
> gmake[2]: *** [bmc-config] Error 1
> gmake[2]: Leaving directory `/root/freeipmi-0.7.3.beta1/bmc-config/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/root/freeipmi-0.7.3.beta1/bmc-config'
> gmake: *** [all-recursive] Error 1
> 
> the above errors were displayed.
> 
> Are there some more things that i need to configure?
> 
> Thanks,
> 
> Won
> 
> 
> 
> ----- Original Message ----
> From: Al Chu <address@hidden>
> To: Won De Erick <address@hidden>
> Cc: address@hidden; address@hidden; Dmitry Frolov
<address@hidden>
> Sent: Friday, November 21, 2008 10:44:29 AM
> Subject: Re: [Freeipmi-devel] Errors in Compiling
FreeIPMI-0.7.3.beta1.tar.gz on FreeBSD7.1Beta2
> 
> Hey Won,
> 
> Dmitry posted this some time ago as what needs to be done to build on
> FreeBSD.
> 
> env CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib
> PTHREAD_LIBS=-pthread \
>         ./configure \
>         --disable-init-scripts --disable-logrotate-config
> --disable-logdir --localstatedir=/var
>
--with-ipmi-monitoring-sdr-cache-dir=/var/db/freeipmi/ipmimonitoringsdrcache
--sysconfdir=/usr/local/etc/freeipmi --prefix=/usr/local
> gmake
> 
> hopefully that helps
> 
> Al
> 
> On Thu, 2008-11-20 at 18:37 -0800, Won De Erick wrote:
> > Hi,
> > 
> > The installation of freeipmi from tarbal has been my problem in
FreeBSD(even in 6.2 before). No problem when installing this from ports, but
I should want to try the latest one as the ported one is not automatically
updated.  AFAIK, the dependencies are the below:
> > 
> > security/libgpg-error
> > security/libgcrypt
> > devel/argp-standalone
> > 
> > I started installing libcrypt. This was successfully installed. Then
proceed w/ freeipmi (http://
ftp.zresearch.com/pub/freeipmi/qa-release/freeipmi-0.7.3.beta1.tar.gz)
compilation.
> > 
> > I always get errors like:
> > 
> > checking how to run the C++ preprocessor... g++ -E
> > checking for g77... no
> > checking for f77... no
> > checking for xlf... no
> > checking for frt... no
> > 
> > .....
> > Then end up with
> > .....
> > checking whether make sets $(MAKE)... (cached) yes
> > checking for gcry_md_open in -lgcrypt... no
> > configure: error: libgcrypt required to build libfreeipmi
> > 
> > 
> > Attached are the logs for installing libcrypt and compiling freeipmi.
> > 
> > Any help pls. 
> > 
> > Thanks,
> > 
> > Won
> > 
> > 
> >      
> > _______________________________________________ Freeipmi-devel mailing
list address@hidden http://
lists.gnu.org/mailman/listinfo/freeipmi-devel
-- 
Albert Chu
address@hidden
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory


      





------------------------------

_______________________________________________
Freeipmi-users mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/freeipmi-users


End of Freeipmi-users Digest, Vol 41, Issue 11
**********************************************





reply via email to

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