[Openvas-devel] trouble building gsa from trunk

btb btb at bitrate.net
Thu May 16 21:17:02 CEST 2013


on to the next piece :)

i'm having trouble building gsa from revision 16369 [on ubuntu 13.04]:

>cmake -DCMAKE_INSTALL_PREFIX=/opt/openvas ..
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- Configuring greenbone-security-assistant...
-- The C compiler identification is GNU 4.7.3
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Looking for pkg-config... /usr/bin/pkg-config
-- checking for module 'libmicrohttpd>=0.4.2'
--   found libmicrohttpd, version 0.9.15
-- checking for module 'libxml-2.0'
--   found libxml-2.0, version 2.9.0
-- checking for module 'glib-2.0>=2.16'
--   found glib-2.0, version 2.36.0
-- checking for module 'gthread-2.0'
--   found gthread-2.0, version 2.36.0
-- checking for module 'libexslt'
--   found libexslt, version 0.8.16
-- checking for module 'libopenvas>=6.0.0'
--   found libopenvas, version 7.0.0
-- checking for module 'libxslt'
--   found libxslt, version 1.1.27
-- checking for module 'gnutls>=2.8'
--   found gnutls, version 2.12.23
-- Install prefix: /opt/openvas
-- External XSL transformations, with xsltproc.
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.3.1")
-- Looking for xmltoman...
-- Looking for xmltoman... /usr/bin/xmltoman
-- Looking for xmlmantohtml... /usr/bin/xmlmantohtml
-- Configuring done
-- Generating done
-- Build files have been written to: /root/openvas/trunk/gsa/build

>make
Scanning dependencies of target gsad_omp
[ 11%] Building C object src/CMakeFiles/gsad_omp.dir/gsad_omp.c.o
Linking C static library libgsad_omp.a
[ 11%] Built target gsad_omp
Scanning dependencies of target gsad_base
[ 22%] Building C object src/CMakeFiles/gsad_base.dir/gsad_base.c.o
Linking C static library libgsad_base.a
[ 22%] Built target gsad_base
Scanning dependencies of target gsad
[ 33%] Building C object src/CMakeFiles/gsad.dir/gsad.c.o
[ 44%] Building C object src/CMakeFiles/gsad.dir/validator.c.o
Linking C executable gsad
/usr/bin/ld: CMakeFiles/gsad.dir/gsad.c.o: undefined reference to symbol 'gcry_check_version@@GCRYPT_1.2'
/usr/bin/ld: note: 'gcry_check_version@@GCRYPT_1.2' is defined in DSO /lib/x86_64-linux-gnu/libgcrypt.so.11 so try adding it to the linker command line
/lib/x86_64-linux-gnu/libgcrypt.so.11: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [src/gsad] Error 1
make[1]: *** [src/CMakeFiles/gsad.dir/all] Error 2
make: *** [all] Error 2

how can i further troubleshoot this?

thanks
-ben


More information about the Openvas-devel mailing list