Hi there!
I have two issues compiling bareos with --enable-client-only option.
One is a warning, I do not know if I can ignore it, but it seems like:
./configure --enable-client-only
[...]
Compiling passphrase.c
passphrase.c: In function 'char* generate_crypto_passphrase(int)':
passphrase.c:145: warning: array subscript has type 'char'
Compiling path_list.c
[...]
And the other problem is fatal:
[...]
Compiling verify.c
Linking bareos-fd ...
/home/bari/Desktop/bareos-master/libtool --silent --tag=CXX --mode=link
/usr/bin/g++ -L../lib -L../findlib -o bareos-fd accurate.o accurate_htable.o
accurate_lmdb.o authenticate.o backup.o compression.o crypto.o dir_cmd.o
estimate.o fd_plugins.o filed_conf.o filed.o fileset.o heartbeat.o restore.o
sd_cmds.o socket_server.o status.o verify_vol.o verify.o \
-lbareosfind -lbareoscfg -lbareos -lm -lpthread -ldl -ldl \
dir_cmd.o: In function `clear_compression_flag_in_fileset':
/home/bari/Desktop/bareos-master/src/filed/dir_cmd.c:1597: undefined reference
to `cmprs_algo_to_text(unsigned int)'
collect2: ld returned 1 exit status
make[1]: *** [bareos-fd] Fehler 1
make[1]: Leaving directory `/home/bari/Desktop/bareos-master/src/filed'
make[1]: Entering directory `/home/bari/Desktop/bareos-master/src/console'
Compiling console.c
[...]
I tried several options during configuration like --enable-static-fd
--disable-libtool --enable-client-only and so on.
Under SLES 10 SP4 the same options are working (--enable-client-only), under
Ubuntu 14.04.3 LTS too.
Did I do something wrong, is there a workaround or isn“t it my fault?
Sincerly
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.