> 
> Maybe I am doing something wrong, but the source you sent 
> fails as well.
> Sightly different output, but still a gettext issue it would 
> seem. I did
> double check, gettext and lintl are installed and working.
> 
> ==>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+0x463): 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.
> 

Hello Dave,

seems that something during configure went wrong... when looking
at your protocol... compile does it fine when adding /usr/local/include
to the include-path, but when linking check_bacula the order "-L 
/usr/local/lib" 
is missing  (this is, in your case, where the libraries for gettext are 
installed)

Chris


> 
>    ====== Error in /usr/local/src/bacula-2.0.1/src/check_bacula ======
> 
> Getext is installed,
> 
> /usr/local/bin/gettext
> /usr/local/bin/gettext.sh
> /usr/local/bin/gettextize
> /usr/local/bin/ngettext
> /usr/local/bin/xgettext
> /usr/local/include/gettext-po.h
> /usr/local/lib/gettext
> /usr/local/lib/libgettextlib-0.14.1.so
> /usr/local/lib/libgettextlib.a
> /usr/local/lib/libgettextlib.so
> /usr/local/lib/libgettextpo.a
> /usr/local/lib/libgettextpo.so
> /usr/local/lib/libgettextpo.so.1
> /usr/local/lib/libgettextsrc-0.14.1.so
> /usr/local/lib/libgettextsrc.so
> 
> /usr/local/include/libintl.h
> /usr/local/lib/libintl.a
> /usr/local/lib/libintl.so
> /usr/local/lib/libintl.so.6
> 
> 
> 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
> 

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