Bacula-users

Re: [Bacula-users] Bacula-fd on AIX 5.3 memory fault / right procedure?

2009-05-12 20:43:09
Subject: Re: [Bacula-users] Bacula-fd on AIX 5.3 memory fault / right procedure?
From: Hemant Shah <hjrrs AT yahoo DOT com>
To: Fabio Xarax <fxarax AT gmail DOT com>
Date: Tue, 12 May 2009 17:36:47 -0700 (PDT)


--- On Tue, 5/12/09, Fabio Xarax <fxarax AT gmail DOT com> wrote:

> From: Fabio Xarax <fxarax AT gmail DOT com>
> Subject: Re: [Bacula-users] Bacula-fd on AIX 5.3 memory fault / right  
> procedure?
> To: hjrrs AT yahoo DOT com
> Cc: "user100" <user100 AT lisec-sw DOT com>, bacula-users AT 
> lists.sourceforge DOT net
> Date: Tuesday, May 12, 2009, 4:14 AM
> Hi!
> I give these commands
> export PATH=/usr/ccs/lib:$PATH
> export CXX=xlC
> export CC=xlc
> export CPPFLAGS=-+
> ./configure --enable-client-only --disable-conio
> --disable-libtool
> --sbindir=/bacula/sbin --sysconfdir=/bacula/conf
> --with-scriptdir=/bacula/script
> --with-working-dir=/bacula/work -
> -with-pid-dir=/bacula/work
> 
> and then a do a make.
> I'm reporting the result of make command, hope this can
> help you ;)
> 
> make
> ==>Entering directory /backup_mgm/bac/bacula-3.0.1/src
> Target "all" is up to date.
> ==>Entering directory
> /backup_mgm/bac/bacula-3.0.1/scripts
> Target "all" is up to date.
> ==>Entering directory
> /backup_mgm/bac/bacula-3.0.1/src/lib
> Compiling attr.c
> Compiling base64.c
> Compiling berrno.c
> Compiling bsys.c
> Compiling bget_msg.c
> Compiling bnet.c
> Compiling bnet_server.c
> Compiling runscript.c
> Compiling bsock.c
> Compiling bpipe.c
> Compiling bsnprintf.c
> Compiling btime.c
> Compiling cram-md5.c
> Compiling crc32.c
> Compiling crypto.c
> Compiling daemon.c
> Compiling edit.c
> Compiling fnmatch.c
> Compiling guid_to_name.c
> Compiling hmac.c
> Compiling jcr.c
> Compiling lex.c
> Compiling alist.c
> Compiling dlist.c
> Compiling md5.c
> Compiling message.c
> Compiling mem_pool.c
> Compiling openssl.c
> Compiling plugins.c
> Compiling queue.c
> Compiling bregex.c
> Compiling rwlock.c
> Compiling scan.c
> Compiling serial.c
> Compiling sha1.c
> Compiling signal.c
> Compiling smartall.c
> Compiling rblist.c
> Compiling tls.c
> Compiling tree.c
> Compiling util.c
> Compiling var.c
> Compiling watchdog.c
> Compiling workq.c
> Compiling btimers.c
> Compiling address_conf.c
> Compiling breg.c
> Compiling htable.c
> Compiling lockmgr.c
> Making libbac.a ...
>         /usr/bin/ar rc  libbac.a attr.o base64.o berrno.o
> bsys.o bget_msg.o
> bnet.o bnet_server.o runscript.o bsock.o bpipe.o
> bsnprintf.o btime.o
> cram-md5.o crc32.o crypto.o daemon.o edit.o fnmatch.o
> guid_to_name.o hmac.o
> jcr.o lex.o alist.o dlist.o md5.o message.o mem_pool.o
> openssl.o plugins.o
> queue.o bregex.o rwlock.o scan.o serial.o sha1.o signal.o
> smartall.o
> rblist.o tls.o tree.o util.o var.o watchdog.o workq.o
> btimers.o
> address_conf.o breg.o htable.o lockmgr.o
>         ranlib libbac.a
> Compiling parse_conf.c
> Compiling res.c
> Making libbaccfg.a ...
>         /usr/bin/ar rc  libbaccfg.a parse_conf.o res.o
>         ranlib libbaccfg.a
> Compiling pythonlib.c
> Making libbacpy.a ...
>         /usr/bin/ar rc  libbacpy.a pythonlib.o
>         ranlib libbacpy.a
> ==== Make of lib is good ====
> ==>Entering directory
> /backup_mgm/bac/bacula-3.0.1/src/findlib
> Compiling find.c
> Compiling match.c
> Compiling find_one.c
> Compiling attribs.c
> Compiling create_file.c
> Compiling bfile.c
> Compiling drivetype.c
> Compiling enable_priv.c
> Compiling fstype.c
> Compiling mkpath.c
> Compiling savecwd.c
> Making libbacfind.a ...
>         /usr/bin/ar rc  libbacfind.a find.o match.o
> find_one.o attribs.o
> create_file.o bfile.o drivetype.o enable_priv.o fstype.o
> mkpath.o savecwd.o
>         ranlib libbacfind.a
> ==== Make of findlib is good ====
> ==>Entering directory
> /backup_mgm/bac/bacula-3.0.1/src/filed
> Compiling filed.c
> Compiling authenticate.c
> Compiling acl.c
> Compiling backup.c
> Compiling estimate.c
> Compiling fd_plugins.c
> Compiling accurate.c
> Compiling filed_conf.c
> Compiling heartbeat.c
> Compiling job.c
> Compiling pythonfd.c
> Compiling restore.c
> Compiling status.c
> Compiling verify.c
> Compiling verify_vol.c
> Compiling xattr.c
> Linking bacula-fd ...
>          /usr/vacpp/bin/xlC   -L../lib -L../findlib -o
> bacula-fd filed.o
> authenticate.o acl.o backup.o estimate.o fd_plugins.o
> accurate.o
> filed_conf.o heartbeat.o job.o pythonfd.o restore.o
> status.o verify.o
> verify_vol.o xattr.o   -lz                 -lbacfind
> -lbacpy -lbaccfg -lbac
> -lm  -lpthread  -lintl     -lssl -lcrypto
> ==== Make of filed is good ====
> ==>Entering directory
> /backup_mgm/bac/bacula-3.0.1/src/console
> Compiling console.c
> Compiling console_conf.c
> Compiling authenticate.c
>          /usr/vacpp/bin/xlC   -L../lib -L../cats -o
> bconsole console.o
> console_conf.o authenticate.o     -lbaccfg -lbac -lm
> -lpthread  -lintl
> -lssl -lcrypto
> ==== Make of console is good ====
> ==>Entering directory
> /backup_mgm/bac/bacula-3.0.1/src/plugins/fd
>         /usr/vacpp/bin/xlC   -+  -fPIC -I../..
> -I../../filed -c bpipe-fd.c
>         /usr/vacpp/bin/xlC  -shared bpipe-fd.o -o
> bpipe-fd.so
> ld: 0706-012 The -h flag is not recognized.
> ld: 0706-012 The -a flag is not recognized.
> make: 1254-004 The error code from the last command is 255.
> 
> Stop.
> 
>   ====== Error in
> /backup_mgm/bac/bacula-3.0.1/src/plugins/fd ======
> 
> ==>Entering directory
> /backup_mgm/bac/bacula-3.0.1/manpages
> Target "all" is up to date.
> Target "first_rule" is up to date.

The "-shared" option is not available for IBM C compiler. Following is
the link to the redbook that explains how to build shared library from a C++ 
code:

http://www.redbooks.ibm.com/redbooks/SG245674/wwhelp/wwhimpl/js/html/wwhelp.htm

Hemant Shah
E-mail: hjrrs AT yahoo DOT com



      

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users