<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1561" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=123495917-04012007>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.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=123495917-04012007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=123495917-04012007>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</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=123495917-04012007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=123495917-04012007>- edit include/config.h and change</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=123495917-04012007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=123495917-04012007>    #define HAVE_LIBWRAP 
1</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=123495917-04012007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=123495917-04012007>to</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=123495917-04012007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=123495917-04012007>    #undef 
HAVE_LIBWRAP</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=123495917-04012007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=123495917-04012007>- edit src/Makefile and change</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=123495917-04012007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=123495917-04012007>    LIBWRAPLIBS= 
-lwrap</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=123495917-04012007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=123495917-04012007>to</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=123495917-04012007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=123495917-04012007>    LIBWRAPLIBS=</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=123495917-04012007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=123495917-04012007>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.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=123495917-04012007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=123495917-04012007>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.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=123495917-04012007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=123495917-04012007>-Mark</SPAN></FONT></DIV><BR>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> 
  nagios-users-bounces@lists.sourceforge.net 
  [mailto:nagios-users-bounces@lists.sourceforge.net] <B>On Behalf Of 
  </B>Charles Drayton<BR><B>Sent:</B> Thursday, January 04, 2007 12:37 
  PM<BR><B>To:</B> nagios-users@lists.sourceforge.net<BR><B>Subject:</B> 
  [Nagios-users] Unsatisfied symbol when compiling on hp 11.23 
  itanium<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV><FONT face=Arial>
  <DIV><FONT face=Arial><SPAN class=544555618-03012007>
  <P><FONT face=r_ansi size=2><SPAN 
  class=905093416-04012007>Hi,</SPAN></FONT></P>
  <P><FONT face=r_ansi size=2><SPAN class=905093416-04012007>Has anyone seen 
  this before ? Any suggestions ? Thanks for any input.</SPAN></FONT></P>
  <P><FONT face=r_ansi size=2><SPAN 
  class=905093416-04012007>===============================================</SPAN></FONT></P>
  <P><FONT face=r_ansi size=2>/home/nagios/nrpe-2.5.2/src $ make all</FONT></P>
  <P><FONT size=2><FONT face=r_ansi>gcc -g -O2 -I/usr/local/include/openssl 
  -I/usr/local/include -DHAVE_CONF</FONT><FONT face=r_ansi>IG_H -o nrpe nrpe.c 
  utils.c -L/usr/local/lib -lssl -lcrypto -lnsl -lwrap -liber</FONT><FONT 
  face=r_ansi>ty</FONT></FONT></P>
  <P><FONT face=r_ansi size=2>nrpe.c: In function 
  'wait_for_connections':</FONT></P>
  <P><FONT size=2><FONT face=r_ansi>nrpe.c:768: warning: passing argument 3 of 
  'getpeername' from incompatible point</FONT><FONT face=r_ansi>er 
  type</FONT></FONT></P>
  <P><FONT size=2><FONT face=r_ansi>ld: (Warning) Unsatisfied symbol 
  "rfc931_timeout" in file /usr/lib/hpux32/libwra</FONT><FONT 
  face=r_ansi>p.so</FONT></FONT></P>
  <P><FONT face=r_ansi size=2>1 warnings.</FONT></P>
  <P><FONT face=r_ansi size=2>/home/nagios/nrpe-2.5.2/src $ 
  </FONT></P></SPAN></FONT></DIV></FONT></DIV></BLOCKQUOTE></BODY></HTML>