[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] Static compile
- To: <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] Static compile
- From: <oyvind.bjorge (at) telenor.com>
- Date: Tue, 24 Mar 2009 14:47:54 +0100
- Accept-language: nb-NO
- Acceptlanguage: nb-NO
- References: <20090307205511.266340 (at) gmx.net> <0F1BC5A8E4136541B8E1AFD72E123BEC0395E01F (at) GBOEXCH001.ad.minjus.nl> <49B4F9EC.8030504 (at) makelofine.org> <20090309115426.276920 (at) gmx.net> <CA7D161CF879F241B13D22387D1CAE8901F0B926 (at) exdrnsbesly04.EQ1SLY.local> <AACF146A905C56469D90CCF0C68460780C4DA030BD (at) TNS-FBU-2E-016.corp.telenor.no> <F01D546C32554AFC81CEEE47064D9A1A (at) noip.org>
- Thread-index: AcmsYN8quiP1/qiaQ6CZFosK8mkk8wAJUFww
- Thread-topic: [hobbit] Static compile
I think I found the solution.
I have not tested the software yet, but the compiling seems good.
The files is much bigger, and they are static linked:
# file bb
bb: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, statically linked, not stripped
The solution was as simple as I first hoped for.
After running the configure script, I edited the Makefile.
Adding the following line before last line:
CFLAGS = -static
The reason why it didn't work the first time is since I had compiled from the same location before, I had to run touch on all .c files.
Øyvind
-----Opprinnelig melding-----
Fra: Lars Ebeling [mailto:lars.ebeling (at) leopg9.no-ip.org]
Sendt: 24. mars 2009 10:11
Til: hobbit (at) hswn.dk
Emne: Re: [hobbit] Static compile
Read this:
http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=42490&admit=109447627+1237885562844+28353475
Lars
----- Original Message -----
From: <oyvind.bjorge (at) telenor.com>
To: <hobbit (at) hswn.dk>
Sent: Monday, March 23, 2009 2:53 PM
Subject: [hobbit] Static compile
Is there anyone who knows how to do a static compile of the xymon client?
We have some production servers running HP-unix 64bit, and the vendor
doesn't want us to install the compile environment and necessary
requirements for compiling a client.
We have tried to do a standard compile externally, but after copying, it
fails to run due to some missing .so files.
Øyvind
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk