Am 28.08.2012 21:17, schrieb Matthew Mundell:
Seems like a problem with openvas libraries, which could be build and
installed without any problems.

Any ideas?

Maybe some cmake mess?  Rerun the cmake command?
Yes.

Perhaps a linkage error for the check_omp program?  If you add

        set (CMAKE_VERBOSE_MAKEFILE     ON)
This gives me:
cd /home/r11dlrz/openvas/openvas-cli/nagios && /usr/bin/cmake -E cmake_link_script CMakeFiles/check_omp.dir/link.txt --verbose=1 /usr/bin/gcc -Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector -Wl,-z,relro -Wl,-z,now -Wall -Werror -g -lgnutls -lglib-2.0 -L/usr/local/lib -lopenvas_misc -lopenvas_hg -lopenvas_base -lopenvas_nasl -lopenvas_omp -lgpgme -lgpg-error -lglib-2.0 -lgnutls CMakeFiles/check_omp.dir/check_omp.c.o -o check_omp -rdynamic -lopenvas_omp /usr/bin/ld: CMakeFiles/check_omp.dir/check_omp.c.o: undefined reference to symbol 'openvas_server_open'

As you can see, -lopenvas_misc is already present which should include 'openvas_server_open'. @ubuntu:~/openvas/openvas-cli$ ar t /usr/local/lib/libopenvas_misc.a | grep openvas_server
openvas_server.c.o



to openvas-cli/CMakeLists.txt you could check the failing command.  Or
to skip the nagios dir, comment out

add_subdirectory (nagios)

This works, thanks. Currently i can live without nagios plugin.

        Stefan


--
Prof. Dr.-Ing. Stefan Schwarz, Leiter Rechenzentrum
Universität der Bundeswehr München
Tel (+49) 89 6004-3200, Fax: -3254, http://www.unibw.de/rz
_______________________________________________
Openvas-discuss mailing list
[email protected]
http://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to