Page 1 of 1

wpres_get_key in 4.0.6?

Posted: Thu Jun 26, 2014 1:37 pm
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?

Re: wpres_get_key in 4.0.6?

Posted: Thu Jun 26, 2014 3:42 pm
by lvlammert
Found the problem - wpres-phash.h was empty - checked it out again and the build is on.

Lee