Bugs item #6943, was opened at 29.01.2018 14:10 by - -
You can respond by visiting: 
https://wald.intevation.org/tracker/?func=detail&atid=220&aid=6943&group_id=29

Status: Open
Priority: 3
Submitted By: - - (greentux)
Assigned to: Nobody (None)
Summary: openvas-smb 1.0.2 fails to link against an static version of heimdal 
Architecture: None
Product: OpenVAS
Operating System: Linux
Component: openvas-smb
Version: None
Severity: None
Resolution: None
Hardware: None
URL: 


Initial Comment:
When I try to build it with an static version of heimdal 1.6rc2 the link part 
will fails.
It looks like the link part of pgk-config for heimdal are ignored.
The Include part will be used.

OS: CentOS 7.4

 Linking C shared library libopenvas_wincmd.so
cd /builddir/build/BUILD/openvas-smb-1.0.2/winexe && /usr/bin/cmake -E 
cmake_link_script CMakeFiles/openvas_wincmd.dir/link.txt --verbose=1
/usr/lib64/ccache/cc  -fPIC -Wno-unused-result -fno-strict-aliasing -fPIC -O2 
-D_FORTIFY_SOURCE=2 -fstack-protector -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
--param=ssp-buffer-size=4 -grecord-gcc-switches 
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -m64 -mtune=generic  
-Wl,--version-script=/builddir/build/BUILD/openvas-smb-1.0.2/winexe/wincmd.map  
-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared 
-Wl,-soname,libopenvas_wincmd.so.1 -o libopenvas_wincmd.so.1.0.2 
CMakeFiles/openvas_wincmd.dir/wincmd.c.o 
CMakeFiles/openvas_wincmd.dir/service.c.o 
CMakeFiles/openvas_wincmd.dir/async.c.o 
CMakeFiles/openvas_wincmd.dir/winexesvc_exe.c.o ../samba/libsamba-static.a -ldl 
-lgnutls -lcom_err -lpopt -lglib-2.0 -Wl,-z,relro -Wl,-z,now 
Linking C executable winexe
cd /builddir/build/BUILD/openvas-smb-1.0.2/winexe && /usr/bin/cmake -E 
cmake_link_script CMakeFiles/winexe.dir/link.txt --verbose=1
/usr/lib64/ccache/cc  -Wno-unused-result -fno-strict-aliasing -fPIC -O2 
-D_FORTIFY_SOURCE=2 -fstack-protector -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
--param=ssp-buffer-size=4 -grecord-gcc-switches 
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -m64 -mtune=generic    
-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld 
CMakeFiles/winexe.dir/winexe.c.o CMakeFiles/winexe.dir/service.c.o 
CMakeFiles/winexe.dir/async.c.o CMakeFiles/winexe.dir/winexesvc_exe.c.o  -o 
winexe -rdynamic ../samba/libsamba-static.a -ldl -lgnutls -lcom_err -lpopt 
-Wl,-z,relro -Wl,-z,now 
cd /builddir/build/BUILD/openvas-smb-1.0.2/winexe && /usr/bin/cmake -E 
cmake_symlink_library libopenvas_wincmd.so.1.0.2 libopenvas_wincmd.so.1 
libopenvas_wincmd.so
../samba/libsamba-static.a(kerberos_pac.c.o): In function `make_pac_checksum':
/builddir/build/BUILD/openvas-smb-1.0.2/samba/auth/kerberos/kerberos_pac.c:365: 
undefined reference to `krb5_crypto_init'
/builddir/build/BUILD/openvas-smb-1.0.2/samba/auth/kerberos/kerberos_pac.c:374: 
undefined reference to `krb5_create_checksum'
/builddir/build/BUILD/openvas-smb-1.0.2/samba/auth/kerberos/kerberos_pac.c:386: 
undefined reference to `krb5_crypto_destroy'
/builddir/build/BUILD/openvas-smb-1.0.2/samba/auth/kerberos/kerberos_pac.c:386: 
undefined reference to `krb5_crypto_destroy'
/builddir/build/BUILD/openvas-smb-1.0.2/samba/auth/kerberos/kerberos_pac.c:394: 
undefined reference to `free_Checksum'
../samba/libsamba-static.a(kerberos_pac.c.o): In function `kerberos_decode_pac':
/builddir/build/BUILD/openvas-smb-1.0.2/samba/auth/kerberos/kerberos_pac.c:97: 
undefined reference to `krb5_clear_error_string'
/builddir/build/BUILD/openvas-smb-1.0.2/samba/auth/kerberos/kerberos_pac.c:283: 
undefined reference to `krb5_parse_name_flags'
/builddir/build/BUILD/openvas-smb-1.0.2/samba/auth/kerberos/kerberos_pac.c:295: 
undefined reference to `krb5_principal_compare_any_realm'
../samba/libsamba-static.a(kerberos_pac.c.o): In function `kerberos_create_pac':
/builddir/build/BUILD/openvas-smb-1.0.2/samba/auth/kerberos/kerberos_pac.c:595: 
undefined reference to `krb5_unparse_name_flags'
../samba/libsamba-static.a(kerberos_pac.c.o): In function `check_pac_checksum':
/builddir/build/BUILD/openvas-smb-1.0.2/samba/auth/kerberos/kerberos_pac.c:48: 
undefined reference to `krb5_crypto_init'
/builddir/build/BUILD/openvas-smb-1.0.2/samba/auth/kerberos/kerberos_pac.c:57: 
undefined reference to `krb5_verify_checksum'
/builddir/build/BUILD/openvas-smb-1.0.2/samba/auth/kerberos/kerberos_pac.c:63: 
undefined reference to `krb5_crypto_destroy'


----------------------------------------------------------------------

You can respond by visiting: 
https://wald.intevation.org/tracker/?func=detail&atid=220&aid=6943&group_id=29
_______________________________________________
Openvas-devel mailing list
Openvas-devel@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-devel

Reply via email to