I have had the same difficulties myself and am hoping for a good answer.
I get this issue with NRPE 2.5 and 2.6.  I can't figure out what
happened here, but it looks like HPUX built a library (librwap.so) with
unresolved symbols.
 
I've found that I can usually get it to compile if I make it exclude the
librwap stuff.  To remove it, you'll need to run configure, then
 
- edit include/config.h and change
 
    #define HAVE_LIBWRAP 1
 
to
 
    #undef HAVE_LIBWRAP
 
- edit src/Makefile and change
 
    LIBWRAPLIBS= -lwrap
 
to
 
    LIBWRAPLIBS=
 
This at least gets it to compile, although it then complains that it was
built without a TCP wrapper every time you try to run it which is also
problematic.  I'm still not certain how well it works once it compiles
though as I haven't had a lot of time to test it yet.
 
I had also investigated just building my own tcp wrapper library to link
against, but that code looks pretty old and is more of a mess to make
work with HPUX.
 
-Mark


________________________________

        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Charles
Drayton
        Sent: Thursday, January 04, 2007 12:37 PM
        To: [email protected]
        Subject: [Nagios-users] Unsatisfied symbol when compiling on hp
11.23 itanium
        
        
        
        Hi,

        Has anyone seen this before ? Any suggestions ? Thanks for any
input.

        ===============================================

        /home/nagios/nrpe-2.5.2/src $ make all

        gcc -g -O2 -I/usr/local/include/openssl -I/usr/local/include
-DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/lib -lssl -lcrypto
-lnsl -lwrap -liberty

        nrpe.c: In function 'wait_for_connections':

        nrpe.c:768: warning: passing argument 3 of 'getpeername' from
incompatible pointer type

        ld: (Warning) Unsatisfied symbol "rfc931_timeout" in file
/usr/lib/hpux32/libwrap.so

        1 warnings.

        /home/nagios/nrpe-2.5.2/src $ 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to