Since you didn't provide any further information about your environment, I'll assume it's still Ubuntu 14.04 and you are using the latest Versions from OpenVAS 8. Compiling the omp package works fine in my clean test environment. Is that the only error you are getting? Do you need the check_omp binary, or are you just worried that make is complaining about something?

# export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/lib/pkgconfig:/lib64/pkgconfig/

# mkdir build

# cd build/

# cmake -DCMAKE_INSTALL_PREFIX=/ -DCMAKE_BUILD_TYPE=Release ..
-- Configuring openvas-cli ...
-- The C compiler identification is GNU 4.8.4
-- 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
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- Install prefix: /
-- checking for module 'libopenvas_omp>=8.0.4'
--   found libopenvas_omp, version 8.0.4
-- checking for module 'libopenvas_base>=8.0.0'
--   found libopenvas_base, version 8.0.4
-- checking for module 'libopenvas_misc>=8.0.0'
--   found libopenvas_misc, version 8.0.4
-- checking for module 'gnutls>=2.8'
--   found gnutls, version 2.12.23
-- checking for module 'glib-2.0'
--   found glib-2.0, version 2.40.2
-- Looking for xmltoman...
-- Looking for xmltoman... /usr/bin/xmltoman
-- Looking for xmlmantohtml... /usr/bin/xmlmantohtml
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.6")
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/src/openvas_8.0.4/openvas-cli/build

# make
Scanning dependencies of target omp
[ 50%] Building C object omp/CMakeFiles/omp.dir/omp.c.o
Linking C executable omp
[ 50%] Built target omp
Scanning dependencies of target check_omp
[100%] Building C object nagios/CMakeFiles/check_omp.dir/check_omp.c.o
Linking C executable check_omp
[100%] Built target check_omp

# omp/omp --version
OMP Command Line Interface 1.4.2
Copyright (C) 2010-2015 Greenbone Networks GmbH
License GPLv2+: GNU GPL version 2 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

# nagios/check_omp  --version
Check-OMP Nagios Command Plugin 1.4.2
Copyright (C) 2015 Greenbone Networks GmbH
License GPLv2+: GNU GPL version 2 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


On 7/25/2015 11:30 AM, neekshit shetty wrote:
i am facing problem in installing OMP Nagios
plugin

nagios# make

Linking C executable check_omp
cc: error: unrecognized command line option ‘-R’
make[2]: *** [nagios/check_omp] Error 1
make[1]: *** [nagios/CMakeFiles/check_omp.dir/all] Error 2
make: *** [all] Error 2
pls help


_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to