<div>I get the same result when trying to do the same thing (with v4.3.4 and v4.3.10).  I think that there's a bug in the way the client is built when using client-side configuration, and nobody uses it anymore so it hasn't been tested for a very long time.</div>

<div><br></div><div>It seems that if you first configure for client-side config, it will not create the lib/xymonclient.a file required.  However, if you first configure for server-side config and make, then re-configure for client-side config and make again, this problem goes away.</div>

<div><br></div><div>There are two more problems, it seems:  The file xymond/Makefile requires an adjustment for using libxymonclient instead of xymonclient, and some libraries need to be forced to link against it also.  So the following adjusted entry in xymond/Makefile worked for me:</div>

<div><br></div><div><div>../client/xymond_client: $(CLIENTOBJS) ../lib/libxymonclient.a</div><div>        $(CC) -o $@ $(RPATHOPT) $(CLIENTOBJS) <b>../lib/loadhosts.o ../lib/matching.o ../lib/timing.o ../lib/locator.o ../lib/libxymonclientcomm.a ../lib/libxymonclient.a -lpcre</b> $(PCRELIBS) $(NETLIBS) $(LIBRTDEF)</div>

</div><div><br></div><div>I note that some of the libraries should have been pulled in with $(PCRELIBS) and $(LIBRTDEF) but these don't seem to have been defined when in client-config mode.</div><div><br></div><div>J</div>

<div><br></div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 4 January 2013 02:17,  <span dir="ltr"><<a href="mailto:fdeschamps.ext@orange.com" target="_blank">fdeschamps.ext@orange.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="FR" link="blue" vlink="purple"><div><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">A rule is missing in one of the Makefile and it can’t compile xymond_client.<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">The final error is :<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">make[1]: Entering directory `/home/fdeschamps/xymon-4.3.10/xymond'<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o xymond_client.o xymond_client.c<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o xymond_worker.o xymond_worker.c<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o xymond_buffer.o xymond_buffer.c<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o client_config.o client_config.c<u></u><u></u></span></p>

<div class="im"><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">make[1]: *** No rule to make target `../lib/xymonclient.a', needed by `../client/xymond_client'.  Stop.<u></u><u></u></span></p></div>
<p class="MsoNormal">
<span lang="EN-US" style="color:#1f497d">make[1]: Leaving directory `/home/fdeschamps/xymon-4.3.10/xymond'<u></u><u></u></span></p><div class="im"><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">make: *** [xymond-client] Error 2<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d"><u></u> <u></u></span></p></div><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">The complete output is here : <a href="http://pastebin.com/58hm9cXP" target="_blank">http://pastebin.com/58hm9cXP</a><u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="color:#1f497d"><u></u> <u></u></span></p><div><p class="MsoNormal" style="margin-right:0cm;margin-bottom:10.0pt;margin-left:0cm"><span lang="EN-US" style="font-size:10.0pt;font-family:"Helvetica","sans-serif""><u></u> <u></u></span></p>

<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Helvetica","sans-serif"">Florent Deschamps</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Helvetica","sans-serif""><u></u><u></u></span></p>

</div><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d"><u></u> <u></u></span></p><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal" style="margin-left:35.4pt">

<b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De :</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Novosielski, Ryan [mailto:<a href="mailto:novosirj@umdnj.edu" target="_blank">novosirj@umdnj.edu</a>] <br>

<b>Envoyé :</b> jeudi 3 janvier 2013 15:49<br><b>À :</b> DESCHAMPS Florent Ext DMGP/PORTAIL; '<a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a>'<br><b>Objet :</b> Re: [Xymon] Error compiling Xymon Client in client mode<u></u><u></u></span></p>

</div></div><div><div class="h5"><p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:35.4pt"><span style="color:#1f497d">I've not seen anywhere where you posted any actual output from your attempts. I'm assuming the compile fails, but how?<br>

<br></span><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><br> <u></u><u></u></span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal" style="margin-left:35.4pt">

<b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">: <a href="mailto:fdeschamps.ext@orange.com" target="_blank">fdeschamps.ext@orange.com</a> [<a href="mailto:fdeschamps.ext@orange.com" target="_blank">mailto:fdeschamps.ext@orange.com</a>] <br>

<b>Sent</b>: Thursday, January 03, 2013 04:15 AM<br><b>To</b>: <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a> <<a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a>> <br><b>Subject</b>: Re: [Xymon] Error compiling Xymon Client in client mode <br>

</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif""> <u></u><u></u></span></p></div><p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">Hello,<u></u><u></u></span></p>

<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">I’m still stucked on this problem.<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt">

<span lang="EN-US">./configure –client + client side configuration does not compile.<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt">

<span lang="EN-US">Does someone have any idea ?<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">Thanks<u></u><u></u></span></p>

<div><p class="MsoNormal" style="margin-left:35.4pt"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Helvetica","sans-serif""><u></u> <u></u></span></b></p><p class="MsoNormal" style="margin-left:35.4pt">

<b><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif"">Florent Deschamps</span></b><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif""><u></u><u></u></span></p>

</div><p class="MsoNormal" style="margin-left:35.4pt"><span style="color:#1f497d"><u></u> <u></u></span></p><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal" style="margin-left:70.8pt">

<b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De :</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xymon-bounces@xymon.com" target="_blank">xymon-bounces@xymon.com</a> [<a href="mailto:xymon-bounces@xymon.com" target="_blank">mailto:xymon-bounces@xymon.com</a>] <b>De la part de</b> <a href="mailto:fdeschamps.ext@orange.com" target="_blank">fdeschamps.ext@orange.com</a><br>

<b>Envoyé :</b> mardi 18 décembre 2012 11:08<br><b>À :</b> <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br><b>Objet :</b> [Xymon] Error compiling Xymon Client in client mode<u></u><u></u></span></p>

</div></div><p class="MsoNormal" style="margin-left:70.8pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:70.8pt">Hi,<u></u><u></u></p><p class="MsoNormal" style="margin-left:70.8pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:70.8pt">

<span lang="EN-US">I’m trying to compile to compile the Xymon client in client mode (<span style="color:#1f497d">./configure –client, + </span>client side configuration).<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:70.8pt">

<span lang="EN-US">I’m using xymon 4.3.10. I’m compiling on ubuntu lucid with pcre and pcre-dev installed.<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:70.8pt"><span lang="EN-US">I’m stuck at the build of xymond_client, where it needs xymonclient.a but there is no rule to build it.<u></u><u></u></span></p>

<p class="MsoNormal" style="margin-left:70.8pt"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal" style="margin-left:70.8pt"><span lang="EN-US">Indeed, in xymond/Makefile :<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:70.8pt">

<span lang="EN-US">../client/xymond_client: $(CLIENTOBJS) ../lib/xymonclient.a<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:70.8pt"><span lang="EN-US">        $(CC) -o $@ $(RPATHOPT) $(CLIENTOBJS) ../lib/xymonclient.a $(PCRELIBS) $(NETLIBS) $(LIBRTDEF)<u></u><u></u></span></p>

<p class="MsoNormal" style="margin-left:70.8pt"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal" style="margin-left:70.8pt"><span lang="EN-US">I didn’t find any rules to build xymonclient.a (only a libxymonclient.a in lib/Makefile)<u></u><u></u></span></p>

<p class="MsoNormal" style="margin-left:70.8pt"><span lang="EN-US">Any help would be appreciated.<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:70.8pt"><span lang="EN-US" style="color:#1f497d"><u></u> <u></u></span></p>

<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="color:#1f497d">                <u></u><u></u></span></p><pre style="margin-left:35.4pt">_________________________________________________________________________________________________________________________<u></u><u></u></pre>

<pre style="margin-left:35.4pt"><u></u> <u></u></pre><pre style="margin-left:35.4pt">Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc<u></u><u></u></pre>

<pre style="margin-left:35.4pt">pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler<u></u><u></u></pre><pre style="margin-left:35.4pt">a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,<u></u><u></u></pre>

<pre style="margin-left:35.4pt">France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.<u></u><u></u></pre><pre style="margin-left:35.4pt"><u></u> <u></u></pre><pre style="margin-left:35.4pt">

This message and its attachments may contain confidential or privileged information that may be protected by law;<u></u><u></u></pre><pre style="margin-left:35.4pt">they should not be distributed, used or copied without authorisation.<u></u><u></u></pre>

<pre style="margin-left:35.4pt">If you have received this email in error, please notify the sender and delete this message and its attachments.<u></u><u></u></pre><pre style="margin-left:35.4pt">As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified.<u></u><u></u></pre>

<pre style="margin-left:35.4pt">Thank you.<u></u><u></u></pre></div></div></div><div><div class="h5"><pre>_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified.
Thank you.
</pre></div></div></div><br>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
<br></blockquote></div><br></div>