Xymon Mailing List Archive search

Preliminary patch for RC3 brokenness

list Asif Iqbal
Wed, 23 Feb 2005 21:24:30 -0500
Message-Id: <user-3781d261569a@xymon.invalid>

On Thu, Feb 24, 2005 at 12:19:09AM, Henrik Stoerner wrote:
is available at http://www.hswn.dk/beta/post-RC3.patch

It's been running for an hour now without problems, so I think I've
got the embarassing bugs fixed:

* hobbitd_larrd should not crash anymore
* the alert-configuration should load correctly
* runtime-libraries should hopefully be found correctly on Linux and *BSD
* maint.pl should no longer complain about un-initialised variables

In addition, you get:
* A new hobbit-mailack tool was added, so you can acknowledge 
  alerts via e-mail without having to use BB's bb-mailack.sh
  (see the hobbit-mailack man-page for instructions on setting it up)
* Support for OpenBSD was added

To install the patch, do:

   cd hobbit-4.0-RC3
   patch -p0 </tmp/post-RC3.patch
   rm Makefile
   ./configure
   make
   su -c "make install"
May be another silly error :-) . This is what I get while trying to
compile

gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DMAXMSG=32768
-DBBDPORTNUMBER=1984 -I. -I/usr/share/src/hobbit-4.0-RC3/include -o
hobbit-mailack  hobbit-mailack.o ../lib/libbbgen.a -L/usr/local/lib
-lpcre
Undefined                       first referenced
 symbol                             in file
recv                                ../lib/libbbgen.a(sendmsg.o)
getservbyname                       ../lib/libbbgen.a(sendmsg.o)
gethostbyname                       ../lib/libbbgen.a(sendmsg.o)
socket                              ../lib/libbbgen.a(sendmsg.o)
getsockopt                          ../lib/libbbgen.a(sendmsg.o)
connect                             ../lib/libbbgen.a(sendmsg.o)
inet_aton                           ../lib/libbbgen.a(sendmsg.o)
inet_ntoa                           ../lib/libbbgen.a(sendmsg.o)
shutdown                            ../lib/libbbgen.a(sendmsg.o)
ld: fatal: Symbol referencing errors. No output written to
hobbit-mailack
collect2: ld returned 1 exit status
make[1]: *** [hobbit-mailack] Error 1
make[1]: Leaving directory `/usr/share/src/hobbit-4.0-RC3/hobbitd'
make: *** [hobbitd-build] Error 2


Thanks
Note that you MUST delete the old Makefile, and re-run the configure
script.


Regards,
Henrik

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"It is not the strongest of the species that survives, not the most intelligent, but
 the one most responsive to change."    - Charles Darwin