On Mon, January 25, 2010 9:22 am, Dan Langille wrote: > > On Mon, January 25, 2010 9:19 am, Eric Bollengier wrote: >> Hello dan, >> >> It looks like you are linking with an old version of the shared object. > > Could that be because I have a 3.0.3 client installed?
Yes. And this point is in the announcement: "As always, both the Director and Storage daemon must be upgraded at the same time, and on any given machine, you must run only one version of Bacula. This means that on the Director and Storage daemon machines, you *must* upgrade your File daemon as well." What? Me read? Thanks. Sorry. > >> On regression tests, it works well on FreeBSD 8 > > I know. ;) I run them. :) > > I'm in the process of creating a FreeBSD port (package) for the latest > release. > >> >> bye >> >> >> Le lundi 25 janvier 2010 15:14:37, Dan Langille a écrit : >>> When compiling 5.0.0 I see these errors on FreeBSD 8. >>> >>> Configuration items at end of message. >>> >>> Linking bacula-dir ... >>> /var/ports/usr/home/dan/src/sysutils/bacula-server/work/bacula-5.0.0/libtoo >>> l --silent --tag=CXX --mode=link /usr/bin/c++ -L/usr/local/lib >>> -L../lib >>> -L../cats -L../findlib -o bacula-dir dird.o admin.o authenticate.o >>> autoprune.o backup.o bsr.o catreq.o dir_plugins.o dird_conf.o expand.o >>> fd_cmds.o getmsg.o inc_conf.o job.o jobq.o migrate.o mountreq.o >>> msgchan.o >>> next_vol.o newvol.o pythondir.o recycle.o restore.o run_conf.o >>> scheduler.o >>> ua_acl.o ua_cmds.o ua_dotcmds.o ua_query.o ua_input.o ua_label.o >>> ua_output.o ua_prune.o ua_purge.o ua_restore.o ua_run.o ua_select.o >>> ua_server.o ua_status.o ua_tree.o ua_update.o vbackup.o verify.o >>> -lbacfind -lbacsql -lbacpy -lbaccfg -lbac -lm -L/usr/local/lib -lpq >>> -lcrypt -lpthread -lintl -lwrap /usr/local/lib/libintl.so >>> /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib -lssl -lcrypto >>> >>> dird.o(.text+0xf51): In function `check_resources()': >>> : undefined reference to `store_size32(s_lex_context*, RES_ITEM*, int, >>> : int)' >>> >>> dird.o(.text+0xf7d): In function `check_resources()': >>> : undefined reference to `store_size64(s_lex_context*, RES_ITEM*, int, >>> : int)' >>> >>> dird.o(.text+0x22d3): In function `main': >>> : undefined reference to `prt_kaboom' >>> >>> dird.o(.text+0x251a): In function `main': >>> : undefined reference to `drop(char*, char*, bool)' >>> >>> dird.o(.text+0x26c8): In function `main': >>> : undefined reference to `drop(char*, char*, bool)' >>> >>> bsr.o(.text+0x605): In function `write_bsr(UAContext*, RESTORE_CTX&, >>> >>> __sFILE*)': >>> : undefined reference to `get_next_jobid_from_list(char**, unsigned >>> int*)' >>> >>> bsr.o(.text+0xf76): In function `display_bsr_info(UAContext*, >> RESTORE_CTX&)': >>> : undefined reference to `get_next_jobid_from_list(char**, unsigned >>> int*)' >>> >>> dird_conf.o(.data+0x510): undefined reference to >>> `store_size64(s_lex_context*, RES_ITEM*, int, int)' >>> dird_conf.o(.data+0x18c8): undefined reference to >>> `store_size64(s_lex_context*, RES_ITEM*, int, int)' >>> dird_conf.o(.data+0x1954): undefined reference to >>> `store_size64(s_lex_context*, RES_ITEM*, int, int)' >>> dird_conf.o(.data+0x1970): undefined reference to >>> `store_size64(s_lex_context*, RES_ITEM*, int, int)' >>> >>> migrate.o(.text+0x2993): In function `do_migration_init(JCR*)': >>> : undefined reference to `get_next_jobid_from_list(char**, unsigned >>> int*)' >>> >>> migrate.o(.text+0x34cd): In function `do_migration_init(JCR*)': >>> : undefined reference to `get_next_jobid_from_list(char**, unsigned >>> int*)' >>> >>> ua_restore.o(.text+0x1b7f): In function >>> >>> `user_select_jobids_or_files(UAContext*, RESTORE_CTX*)': >>> : undefined reference to `get_next_jobid_from_list(char**, unsigned >>> int*)' >>> >>> ua_restore.o(.text+0x3067): In function `restore_cmd(UAContext*, char >>> >>> const*)': >>> : undefined reference to `get_next_jobid_from_list(char**, unsigned >>> int*)' >>> >>> ua_restore.o(.text+0x31a1): In function `restore_cmd(UAContext*, char >>> >>> const*)': >>> : undefined reference to `get_next_jobid_from_list(char**, unsigned >>> int*)' >>> >>> ua_update.o(.text+0x1206): In function >>> >>> `update_vol_actiononpurge(UAContext*, char*, MEDIA_DBR*)': >>> : undefined reference to `aop_to_str(int, POOL_MEM&)' >>> >>> ua_update.o(.text+0x20ee): In function `update_volume(UAContext*)': >>> : undefined reference to `aop_to_str(int, POOL_MEM&)' >>> >>> /var/ports/usr/home/dan/src/sysutils/bacula-server/work/bacula-5.0.0/src/ca >>> ts/.libs/libbacsql.so: undefined reference to `rwl_init(s_rwlock_tag*, >>> int)' >>> *** Error code 1 >>> >>> Stop in >>> /var/ports/usr/home/dan/src/sysutils/bacula-server/work/bacula-5.0.0/src/di >>> rd. >>> >>> >>> ====== Error in >>> /var/ports/usr/home/dan/src/sysutils/bacula-server/work/bacula-5.0.0/src/di >>> rd ====== >>> >>> >>> *** Error code 1 >>> >>> Stop in >>> /var/ports/usr/home/dan/src/sysutils/bacula-server/work/bacula-5.0.0. >>> *** >>> Error code 1 >>> >>> Stop in /usr/home/dan/src/sysutils/bacula-server. >>> *** Error code 1 >>> >>> Stop in /usr/home/dan/src/sysutils/bacula-server. >>> [r...@ducky /usr/home/dan/src/sysutils/bacula-server >>> >>> >>> >>> Configuration on Mon Jan 25 14:11:13 UTC 2010: >>> >>> Host: i386-portbld-freebsd8.0 -- freebsd >>> 8.0-STABLE >>> Bacula version: Bacula 5.0.0 (26 January 2010) >>> Source code location: . >>> Install binaries: /usr/local/sbin >>> Install libraries: /usr/local/lib >>> Install config files: /usr/local/etc >>> Scripts directory: /usr/local/share/bacula >>> Archive directory: /tmp >>> Working directory: /var/db/bacula >>> PID directory: /var/run >>> Subsys directory: /var/run/subsys >>> Man directory: /usr/local/man >>> Data directory: /usr/local/share >>> Plugin directory: /usr/local/lib >>> C Compiler: cc 4.2.1 >>> C++ Compiler: /usr/bin/c++ 4.2.1 >>> Compiler flags: -O2 -pipe -fno-strict-aliasing >>> Linker flags: -L/usr/local/lib >>> Libraries: -lpthread -lintl >>> Statically Linked Tools: no >>> Statically Linked FD: no >>> Statically Linked SD: no >>> Statically Linked DIR: no >>> Statically Linked CONS: no >>> Database type: PostgreSQL >>> Database port: >>> Database lib: -L/usr/local/lib -lpq -lcrypt >>> Database name: bacula >>> Database user: bacula >>> >>> Job Output Email: r...@localhost >>> Traceback Email: r...@localhost >>> SMTP Host Address: localhost >>> >>> Director Port: 9101 >>> File daemon Port: 9102 >>> Storage daemon Port: 9103 >>> >>> Director User: bacula >>> Director Group: bacula >>> Storage Daemon User: bacula >>> Storage DaemonGroup: operator >>> File Daemon User: >>> File Daemon Group: >>> >>> SQL binaries Directory /usr/local/bin >>> >>> Large file support: yes >>> Bacula conio support: no -lreadline -lhistory -ltermcap >>> readline support: yes >>> TCP Wrappers support: yes -lwrap >>> TLS support: yes >>> Encryption support: yes >>> ZLIB support: yes >>> enable-smartalloc: yes >>> enable-lockmgr: no >>> bat support: no >>> enable-gnome: no >>> enable-bwx-console: no >>> enable-tray-monitor: no >>> client-only: no >>> build-dird: yes >>> build-stored: yes >>> Plugin support: yes >>> ACL support: yes >>> XATTR support: yes >>> Python support: no >>> Batch insert enabled: yes >>> >>> >>> ===> Building for bacula-server-5.0.0 >>> >> > > > -- > Dan Langille -- http://langille.org/ > > -- Dan Langille -- http://langille.org/ ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Bacula-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
