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&...
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