Hello,
It looks to be an issue with the AFS code, I pushed a fix in the git
repository (Branch-7.2), I would appreciate your feedback.
Thanks,
Best Regards
Eric
On 09/22/2015 02:15 PM, Wanderlei Huttel wrote:
> I'm running Debian GNU/Linux 8.2 (jessie) with Kernel Linux 4.2.0 and I
> can't compile bacula in it.
>
> Configuration on Tue Sep 22 07:52:30 BRT 2015:
>
> Host: x86_64-unknown-linux-gnu -- debian 8.2
> Bacula version: Bacula 7.2.0 (14 August 2015)
> Source code location: .
> Install binaries: /sbin
> Install libraries: /usr/lib
> Install config files: /etc/bacula
> Scripts directory: /etc/bacula/scripts
> Archive directory: /tmp
> Working directory: /etc/bacula/working
> PID directory: /etc/bacula/working
> Subsys directory: /etc/bacula/working
> Man directory: ${datarootdir}/man
> Data directory: /usr/share
> Plugin directory: /etc/bacula/plugins
> C Compiler: gcc 4.9.2-10)
> C++ Compiler: /usr/bin/g++ 4.9.2-10)
> Compiler flags: -g -O2 -Wall -fno-strict-aliasing
> -fno-exceptions -fno-rtti
> Linker flags:
> Libraries: -lpthread -ldl -ldl
> Statically Linked Tools: no
> Statically Linked FD: no
> Statically Linked SD: no
> Statically Linked DIR: no
> Statically Linked CONS: no
> Database backends: MySQL
> Database port: 3306
> Database name: bacula
> Database user: bacula
>
> Job Output Email: root@localhost
> Traceback Email: root@localhost
> SMTP Host Address: localhost
>
> Director Port: 9101
> File daemon Port: 9102
> Storage daemon Port: 9103
>
> Director User:
> Director Group:
> Storage Daemon User:
> Storage DaemonGroup:
> File Daemon User:
> File Daemon Group:
>
> Large file support: yes
> Bacula conio support: no -lreadline -lhistory -ltinfo
> readline support: yes
> TCP Wrappers support: no
> TLS support: yes
> Encryption support: yes
> ZLIB support: yes
> LZO support: yes
> enable-smartalloc: yes
> enable-lockmgr: no
> bat support: no
> client-only: no
> build-dird: yes
> build-stored: yes
> Plugin support: yes
> AFS support: yes
> ACL support: yes
> XATTR support: yes
> systemd support: yes /run/systemd/system
> Batch insert enabled: MySQL
>
>
> # Configuration of compilation
> ./configure \
> --enable-smartalloc \
> --with-mysql \
> --with-db-user=bacula \
> --with-db-password=bacula \
> --with-db-port=3306 \
> --with-readline=/usr/include/readline \
> --sysconfdir=/etc/bacula \
> --sbindir=/sbin \
> --with-scriptdir=/etc/bacula/scripts \
> --with-plugindir=/etc/bacula/plugins \
> --with-pid-dir=/etc/bacula/working \
> --with-subsys-dir=/etc/bacula/working \
> --with-working-dir=/etc/bacula/working \
> --with-systemd \
> --disable-conio \
> --with-logdir=/etc/bacula/log
>
>
>
> Errors
>
> Linking bacula-fd ...
> /root/bacula/bacula/libtool --silent --tag=CXX --mode=link /usr/bin/g++
> -L../lib -L../findlib -o bacula-fd filed.o authenticate.o acl.o
> backup.o crypto.o estimate.o fd_plugins.o accurate.o filed_conf.o
> heartbeat.o hello.o job.o fd_snapshot.o restore.o status.o verify.o
> verify_vol.o xattr.o \
> -L/usr/lib -lacl -lz -lbacfind -lbaccfg -lbac -lm
> -lpthread -ldl -ldl \
> -lssl -lcrypto -L/usr/lib/afs -lsys -lrx -llwp /usr/lib/afs/util.a
> -llzo2
> acl.o: In function `backup_acl_streams(JCR*, FF_PKT*)':
> /root/bacula/bacula/src/filed/acl.c:2030: undefined reference to
> `fstype_equals(char const*, char const*)'
> acl.o: In function `restore_acl_streams(JCR*, int, char*, unsigned int)':
> /root/bacula/bacula/src/filed/acl.c:2131: undefined reference to
> `fstype_equals(char const*, char const*)'
> collect2: error: ld returned 1 exit status
> Makefile:168: recipe for target 'bacula-fd' failed
> make[1]: *** [bacula-fd] Error 1
> make[1]: Leaving directory '/root/bacula/bacula/src/filed'
>
>
>
> Thanks Wanderlei
>
>
> ------------------------------------------------------------------------------
>
>
>
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|