We are still fighting with Windows Fd connection issues. I would like to 
use the check_bacula plugin to monitor my Fds. Either nagios will keep 
the client firewall open, or prove the issue is not Bacula (to my senior 
sysadmin).

I had lots of problems building at first but found most of the solution 
in the archives. I followed the instructions from this thread,

http://article.gmane.org/gmane.comp.bacula.user/26619/match=check+bacula
http://article.gmane.org/gmane.comp.bacula.user/27144/match=check+bacula

check_bacula nearly compiles but fails with the following error,

==>Entering directory /usr/local/src/bacula-2.0.1/src/check_bacula
/usr/bin/g++   -c -I/usr/local/include -fno-strict-aliasing 
-fno-exceptions -fno-rtti  -I. -I..  -g -O2 -Wall -fno-strict-aliasing 
-fno-exceptions -fno-rtti check_bacula.c
/usr/bin/g++   -c -I/usr/local/include -fno-strict-aliasing 
-fno-exceptions -fno-rtti  -I. -I..  -g -O2 -Wall -fno-strict-aliasing 
-fno-exceptions -fno-rtti authenticate.c
/usr/bin/g++ -O  -L../lib -L../cats -o check_bacula check_bacula.o 
authenticate.o   -lbac -lm -lpthread
check_bacula.o(.text+0x1c): In function `usage':
/usr/local/src/bacula-2.0.1/src/check_bacula/check_bacula.c:58: 
undefined reference to `gettext'
check_bacula.o(.text+0x433): In function `main':
/usr/local/src/bacula-2.0.1/src/check_bacula/check_bacula.c:110: 
undefined reference to `libintl_textdomain'
../lib/libbac.a(bsys.o)(.text+0x1d4): In function `b_malloc(char const*, 
int, unsigned int)':
/usr/local/src/bacula-2.0.1/src/lib/bsys.c:221: undefined reference to 
`gettext'
../lib/libbac.a(bsys.o)(.text+0x27b): In function `brealloc(void*, 
unsigned int)':
/usr/local/src/bacula-2.0.1/src/lib/bsys.c:244: undefined reference to 
`gettext'
../lib/libbac.a(bsys.o)(.text+0x30b): In function `bcalloc(unsigned int, 
unsigned int)':
/usr/local/src/bacula-2.0.1/src/lib/bsys.c:257: undefined reference to 
`gettext'
../lib/libbac.a(bsys.o)(.text+0x38f): In function `_p(pthread_mutex**)':
../lib/berrno.h:87: undefined reference to `gettext'
../lib/libbac.a(bsys.o)(.text+0x41b): In function `_v(pthread_mutex**)':
../lib/berrno.h:87: undefined reference to `gettext'
../lib/libbac.a(bsys.o)(.text+0x4a0):/usr/local/src/bacula-2.0.1/src/lib/bsys.c:365:
 
more undefined references to `gettext' follow
*** Error code 1

Stop in /usr/local/src/bacula-2.0.1/src/check_bacula.


   ====== Error in /usr/local/src/bacula-2.0.1/src/check_bacula ======


This is on FreeBSD 5.4, not a port, unpached, unmolested Bacula source. 
Built with noting but ./configure --with-mysql=/usr/local
Anyone got a solution?

Thanks,

DAve
-- 
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to