wpres_get_key in 4.0.6?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
lvlammert
Posts: 19
Joined: Thu Jun 07, 2012 3:54 pm

wpres_get_key in 4.0.6?

Post by lvlammert »

Trying to build a 4.0.6 system, .. a complie of base fails upon start:

Code: Select all

# make all
cd ./base && make
make[1]: Entering directory `/usr/src/nagios-nagioscore/base'
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o workers.o workers.c
workers.c: In function ‘parse_worker_result’:
workers.c:488:3: warning: implicit declaration of function ‘wpres_get_key’ [-Wimplicit-function-declaration]
workers.c:488:5: warning: assignment makes pointer from integer without a cast [enabled by default]
workers.c:493:12: error: dereferencing pointer to incomplete type
Is there an include missing?
lvlammert
Posts: 19
Joined: Thu Jun 07, 2012 3:54 pm

Re: wpres_get_key in 4.0.6?

Post by lvlammert »

Found the problem - wpres-phash.h was empty - checked it out again and the build is on.

Lee
Locked