freeipmi-users
[Top][All Lists]
Advanced

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

Re: [Freeipmi-users] static binaries?


From: Anand Babu
Subject: Re: [Freeipmi-users] static binaries?
Date: Wed, 23 Feb 2005 08:20:09 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux)

,----[ Julian Elischer <address@hidden> ]
| to follow up on the previous,
| it would seem possible to make static binaries
| (that could be moved between machines without requiring moving 300 libraries)
| but after manually making a libfreeipmi.a
| (any chance it could be made automatically?), the link fails with:
| 
| + cc -Wall -I./../../libfreeipmi/src -DFREEIPMI_BUILD -D_GNU_SOURCE
| -DPATH_CFG="/usr/local/etc" -DDATADIR="/usr/local/share"
| -I/usr/local/include -O
| -pipe -o .libs/fish fish.o xmalloc.o fi-utils.o interpreter.o
| extension.o scm-procedures.o guile-wrapper.o ipmi-wrapper.o
| fi-commands.o bmc-conf-checkout.o bmc-conf-commit.o bmc-conf-utils.o
| ipmi-wrapper-sensor.o ipmi-wrapper-sel.o bmc-conf-key-utils.o
| bmc-conf2.o -L/usr/local/lib ../../libfreeipmi/src/.libs/libfreeipmi.a
| -largp -lgnugetopt /usr/local/lib/libguile.a
| /usr/local/lib/libguile-ltdl.a /usr/local/lib/libqthreads.a -lcrypt
| -lm -lreadline -lncurses -Wl,--rpath -Wl,/usr/local/lib
| /usr/local/lib/libguile.a(gh_init.o): In function `gh_standard_handler':
| gh_init.o(.text+0x74): multiple definition of `gh_standard_handler'
| guile-wrapper.o(.text+0x0): first defined here
| /usr/libexec/elf/ld: Warning: size of symbol `gh_standard_handler'
| changed from 267 to 85 in /usr/local/lib/libguile.a(gh_init.o)
| /usr/local/lib/libguile.a(posix.o): In function `scm_tmpnam':
| posix.o(.text+0x1120): warning: tmpnam() possibly used unsafely;
| consider using mkstemp()
| 
| where `gh_standard_handler()'
| seems to be the "cat ate the fish" handler that looks like it is
| supposed to over-ride a standard one..
| 
`----
Thanks for reporting the problem Julian. I have fixed it and
committed to CVS. 

This should work now.
 # LDFLAGS=-static ./configure
 # make

-- 
Anand Babu
Free as in Freedom <www.gnu.org>




reply via email to

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