I'm trying to install Bacula in opensuse 10.2

When I try to run make, I get this error:

==== Make of filed is good ====

make[1]: Leaving directory `/home/jay/downloads/bacula-1.38.11/src/filed'
==>Entering directory /home/jay/downloads/bacula-1.38.11/src/console
make[1]: Entering directory `/home/jay/downloads/bacula-1.38.11/src/console'
/usr/bin/g++   -c    -I. -I..  -g -Wall  console.c
console.c:78: error: ‘bool tee’ redeclared as different kind of symbol
/usr/include/bits/fcntl.h:247: error: previous declaration of ‘int
tee(int, int, size_t, unsigned int)’
console.c: In function ‘int get_cmd(FILE*, const char*, BSOCK*, int)’:
console.c:705: warning: the address of ‘int tee(int, int, size_t,
unsigned int)’, will always evaluate as ‘true’
console.c: In function ‘int teecmd(FILE*, BSOCK*)’:
console.c:784: error: assignment of function ‘int tee(int, int, size_t,
unsigned int)’
console.c:784: error: cannot convert ‘bool’ to ‘int ()(int, int, size_t,
unsigned int)throw ()’ in assignment
console.c: In function ‘int outputcmd(FILE*, BSOCK*)’:
console.c:791: error: assignment of function ‘int tee(int, int, size_t,
unsigned int)’
console.c:791: error: cannot convert ‘bool’ to ‘int ()(int, int, size_t,
unsigned int)throw ()’ in assignment
console.c: In function ‘int do_outputcmd(FILE*, BSOCK*)’:
console.c:809: error: assignment of function ‘int tee(int, int, size_t,
unsigned int)’
console.c:809: error: cannot convert ‘bool’ to ‘int ()(int, int, size_t,
unsigned int)throw ()’ in assignment
console.c: In function ‘void sendit(const char*)’:
console.c:893: warning: the address of ‘int tee(int, int, size_t,
unsigned int)’, will always evaluate as ‘true’
console.c:896: warning: the address of ‘int tee(int, int, size_t,
unsigned int)’, will always evaluate as ‘true’
make[1]: *** [console.o] Error 1
make[1]: Leaving directory `/home/jay/downloads/bacula-1.38.11/src/console'


  ====== Error in /home/jay/downloads/bacula-1.38.11/src/console ======

No other errors appear in configure or in the make install. It appears
that bacula is completed, but I have no console. I can start and stop
the 3 daemons. I can't see (I don't know enough) where I can fix this
error. This is about the 15th time I've installed BAcula and I've never
encountered this one.

My Google search came up empty. Any ideas?

Jay Rice


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