Yep, I use bat.
The options i used to compile are the same as what I used for the 9.6.4
version
qt4 libraries and dev are installed

I have downloaded the 11.0.6 version to see if that fixed the issue

Mark


Pegasus Technology Pty. Ltd.Proudly providing IT services to our clients
for the last 45 Years. Reception: +61 (2) 9299
2611              
       Facsimile:  +61 (2) 9299 2228Web
Page: www.pegasustech.com.au     Support Email:
supp...@pegasustech.com.au Address: Suite 7, Level 13, 99 York St
Sydney, NSW, 2000.      This email is confidential and may
have content subject to professional privilege and/or copyright
material.  Receipt of this email by anyone other than the intended
recipient is not intended to, and does not, waive professional
privilege. Its use or disclosure by any person other than the
intended recipient is unauthorised.  If you have received this
email in error, please contact the sender by telephone on +61 (2) 9299
2611 or by return email, and promptly delete it.No warranty is made that
this email or any attachment is free from viruses or other defect or
error.

>>> Lionel PLASSE <pla...@cofiem.fr> 10/03/2022 11:43 PM >>>
Hello,

I'm not sure but it seems to be  about the option --with-bat.

Do you really need the BAT tool? This tool need a graphical environment
and qt4 libraries , doesn't  it?


PLASSE Lionel | Administrateur systèmes et réseaux 
221 Allée de Fétan
01600 TREVOUX | 
Tel : 04.37.49.91.39
pla...@cofiem.fr
https://www.cofiem.fr/ | https://www.cofiem-robotics.fr/





De : Mark Casey <mca...@pegasustech.com.au> 
Envoyé : jeudi 10 mars 2022 03:25
À : Bacula List <bacula-users@lists.sourceforge.net>
Objet : [Bacula-users] Link Error 11.0.5 on sles

Hi All

I am trying to upgrade to 11.0.5 from 9.6.4 on a SLES 12.4 system.
Getting the following link error
What am I missing ?

My configure settings are 
    PREFIX=/opt/bacula
    PREFIXRUN=/var/run/bacula
    CFLAGS="-g " \
                  ./configure \
                    --sbindir=${PREFIX}/bin \
                    --sysconfdir=${PREFIX}/etc \
                    --with-scriptdir=${PREFIX}/bin \
                    --docdir=${PREFIX}/html \
                    --htmldir=${PREFIX}/html \
                    --with-pid-dir=${PREFIXRUN} \
                    --with-working-dir=${PREFIXRUN} \
                    --with-plugindir=${PREFIX}/plugins \
                    --libdir=${PREFIX}/lib \
                    --with-subsys-dir=${PREFIXRUN}/subsys \
                    --enable-smartalloc \
                    --disable-ipv6 \
                    --enable-bat \
                    --with-mysql \
                    mailto:--with-dump-email=mca...@pegasustech.com.au
\
                    mailto:--with-job-email=mca...@pegasustech.com.au \
                    mailto:--with-job-email=mca...@pegasustech.com.au \
                    --with-smtp-host=10.242.1.32 \
                    --with-baseport=9101


make[1]: Leaving directory '/root/bacula/src/filed'
==>Entering directory /root/bacula/src/qt-console
make[1]: Entering directory '/root/bacula/src/qt-console'
/root/bacula/libtool --silent --tag=CXX --mode=link g++  -o bat
obj/main.o obj/bat_conf.o obj/mainwin.o obj/qstd.o obj/pages.o
obj/authenticatebase.o obj/dircomm.o obj/dircomm_auth.o obj/console.o
obj/prerestore.o obj/restore.o obj/brestore.o obj/label.o obj/relabel.o
obj/mount.o obj/run.o obj/runcmd.o obj/estimate.o obj/prune.o
obj/select.o obj/textinput.o obj/medialist.o obj/mediaview.o
obj/mediaedit.o obj/joblist.o obj/clients.o obj/storage.o obj/content.o
obj/fileset.o obj/joblog.o obj/job.o obj/jobs.o obj/restoretree.o
obj/help.o obj/mediainfo.o obj/dirstat.o obj/clientstat.o obj/storstat.o
obj/fmtwidgetitem.o obj/comboutil.o obj/moc_mainwin.o obj/moc_dircomm.o
obj/moc_console.o obj/moc_restore.o obj/moc_label.o obj/moc_relabel.o
obj/moc_mount.o obj/moc_run.o obj/moc_select.o obj/moc_textinput.o
obj/moc_medialist.o obj/moc_mediaview.o obj/moc_mediaedit.o
obj/moc_joblist.o obj/moc_clients.o obj/moc_storage.o obj/moc_content.o
obj/moc_fileset.o obj/moc_joblog.o obj/moc_job.o obj/moc_jobs.o
obj/moc_restoretree.o obj/moc_help.o obj/moc_mediainfo.o
obj/moc_dirstat.o obj/moc_clientstat.o obj/moc_storstat.o obj/qrc_main.o
   -L/usr/lib64 -L../lib -lbaccfg -lbac -L../findlib -lbacfind -lssl
-lcrypto -lQtGui -L/usr/lib64 -L/usr/X11R6/lib -lQtCore -lpthread
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:
obj/main.o: in function `main':
/root/bacula/src/qt-console/main.cpp:94: undefined reference to
`lmgr_init_thread()'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:
obj/bat_conf.o: in function `free_resource(RES*, int)':
/root/bacula/src/qt-console/bat_conf.cpp:196: undefined reference to
`free_psk_context(TLS_Context*)'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:
/root/bacula/src/qt-console/bat_conf.cpp:219: undefined reference to
`free_psk_context(TLS_Context*)'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:
obj/authenticatebase.o: in function
`AuthenticateBase::ClientEarlyTLS()':
/root/bacula/src/qt-console/../lib/authenticatebase.cc:377: undefined
reference to `scan_string(char const*, char const*, ...)'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:
obj/authenticatebase.o: in function
`AuthenticateBase::ClientCramMD5Authenticate(char const*)':
/root/bacula/src/qt-console/../lib/authenticatebase.cc:404: undefined
reference to `cram_md5_respond(BSOCK*, char const*, int*, int*, bool)'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:
obj/authenticatebase.o: in function
`AuthenticateBase::ServerCramMD5Authenticate(char const*)':
/root/bacula/src/qt-console/../lib/authenticatebase.cc:496: undefined
reference to `cram_md5_respond(BSOCK*, char const*, int*, int*, bool)'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:
obj/authenticatebase.o: in function `AuthenticateBase::HandleTLS()':
/root/bacula/src/qt-console/../lib/authenticatebase.cc:564: undefined
reference to `bnet_tls_client(TLS_Context*, BSOCK*, alist*, char
const*)'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:
/root/bacula/src/qt-console/../lib/authenticatebase.cc:565: undefined
reference to `bnet_tls_server(TLS_Context*, BSOCK*, alist*, char
const*)'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:
obj/dircomm.o: in function `DirComm::connect_dir()':
/root/bacula/src/qt-console/bcomm/dircomm.cpp:162: undefined reference
to `new_psk_context(char const*)'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:
/root/bacula/src/qt-console/bcomm/dircomm.cpp:188: undefined reference
to `new_psk_context(char const*)'
collect2: error: ld returned 1 exit status
Makefile:234: recipe for target 'bat' failed
make[1]: *** [bat] Error 1
make[1]: Leaving directory '/root/bacula/src/qt-console'


Regards

Mark Casey

Pegasus Technology Pty. Ltd.

Proudly providing IT services to our clients for the last 35 Years.

Reception: +61 (2) 9299 2611 (Main)         Facsimile:  +61 (2) 9299
2228 
Reception: +61 (8) 6222 2001 (WA)
Web Page: http://www.pegasustech.com.au  Support Email:
mailto:supp...@pegasustech.com.au

Address: Suite 7, Level 13, 99 York St Sydney, NSW, 2000.   
________________________________________
This email is confidential and may have content subject to professional
privilege and/or copyright material.  Receipt of this email by anyone
other than the intended recipient is not intended to, and does not,
waive professional privilege. Its use or disclosure by any person other
than the intended recipient is unauthorised.  
If you have received this email in error, please contact the sender by
telephone on +61 (2) 9299 2611 or by return email, and promptly delete
it.
No warranty is made that this email or any attachment is free from
viruses or other defect or error.
________________________________________



_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to