[Bacula-users] compiling static
2011-01-10 15:09:03
Hi all,
I've been trying to make this work for the last two days..
I have a Thus NAS system which is running linux (sort of). I would like to
compile bacula-sd and vchanger static so that I can push those two binaries on
to it and make it into a dedicated Virtual Tape store.
I'm using a Centos 5 (latest updated with yum). I've downloaded bacula-5.0.3
and then issuing this command
./configure --without-openssl --disable-build-dird --enable-static-fd
--enable-static-sd --disable-libtool --with-sqlite3
The configure seems to run just fine.. so I move on to "make", this works away
for a time and then errors with this:
Linking bacula-sd ...
/usr/bin/g++ -L../lib -o bacula-sd stored.o ansi_label.o vtape.o
autochanger.o acquire.o append.o askdir.o authenticate.o block.o butil.o dev.o
device.o dircmd.o dvd.o ebcdic.o fd_cmds.o job.o label.o lock.o mac.o
match_bsr.o mount.o parse_bsr.o pythonsd.o read.o read_record.o record.o
reserve.o scan.o sd_plugins.o spool.o status.o stored_conf.o vol_mgr.o wait.o
-lacl \
-lbacpy -lbaccfg -lbac -lm -lpthread -ldl \
-lcap
../lib/libbac.a(bsys.o): In function `Zinflate(char*, int, char*, int&)':
/home/guy/Downloads/bacula-5.0.3/src/lib/bsys.c:735: undefined reference to
`inflateInit_'
/home/guy/Downloads/bacula-5.0.3/src/lib/bsys.c:748: undefined reference to
`inflateEnd'
/home/guy/Downloads/bacula-5.0.3/src/lib/bsys.c:745: undefined reference to
`inflate'
../lib/libbac.a(bsys.o): In function `Zdeflate(char*, int, char*, int&)':
/home/guy/Downloads/bacula-5.0.3/src/lib/bsys.c:696: undefined reference to
`deflateInit_'
/home/guy/Downloads/bacula-5.0.3/src/lib/bsys.c:711: undefined reference to
`deflateEnd'
/home/guy/Downloads/bacula-5.0.3/src/lib/bsys.c:708: undefined reference to
`deflate'
collect2: ld returned 1 exit status
make[1]: *** [bacula-sd] Error 1
make[1]: Leaving directory `/home/guy/Downloads/bacula-5.0.3/src/stored'
====== Error in /home/guy/Downloads/bacula-5.0.3/src/stored ======
Does anyone have any insight into how I can compile bacula-sd and vchanger so I
can get them running on my Thus NAS5200Pro.
Cheers,
--Guy
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web. Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Bacula-users] compiling static,
Guy <=
|
|
|