Hi<br><br>A little more research, turned up this one.<br><a href="http://lists.xymon.com/archive/2012-November/036102.html">http://lists.xymon.com/archive/2012-November/036102.html</a><br>A little experimenting, and I made some progress.<br>
It looks like what I described earlier is in fact 2 issues.<br>The one from the link above, which I have resolved with the advice in the posting.<br>But the other, still escapes me.<br><br><span style="font-family:courier new,monospace">gcc  -o xymond_rrd  xymond_rrd.o       xymond_worker.o xymond_buffer.o do_rrd.o client_config.o ../lib/libxymontime.a -lrt ../lib/libxymoncomm.a  -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket -lnsl -lrt -L/opt/csw/lib -lrrd -L/usr/local/lib -lpng -L/opt/csw/lib -lpcre<br>
Undefined                       first referenced<br> symbol                             in file<br>XRenderCreateLinearGradient         /opt/csw/lib/libcairo.so.2<br>XRenderCreateRadialGradient         /opt/csw/lib/libcairo.so.2<br>
ld: fatal: Symbol referencing errors. No output written to xymond_rrd<br>collect2: ld returned 1 exit status<br>make[1]: *** [xymond_rrd] Error 1<br>make[1]: Leaving directory `/var/tmp/xymon-4.3.10/xymond'<br>make: *** [xymond-build] Error 2<br>
</span><br>From the little bit that I think I know, it seems that the /opt/csw/lib/libcairo.so.2 library has no definition of the "functions" (for lack of a better word - I am not a programmer) called <span style="font-family:courier new,monospace">XRenderCreateLinearGradient</span> and <span style="font-family:courier new,monospace">XRenderCreateRadialGradient</span>.<br>
So a little more digging, and I find this.<br><span style="font-family:courier new,monospace">1# nm -D /opt/csw/lib/libcairo.so.2 | grep XRenderCreate<br>[525]   |         0|       0|FUNC |GLOB |0    |UNDEF  |XRenderCreateGlyphSet<br>
[506]   |         0|       0|FUNC |GLOB |0    |UNDEF  |XRenderCreateLinearGradient<br>[314]   |         0|       0|FUNC |GLOB |0    |UNDEF  |XRenderCreatePicture<br>[555]   |         0|       0|FUNC |GLOB |0    |UNDEF  |XRenderCreateRadialGradient<br>
</span>The UNDEF bit doesn't look too promising. :-(<br>Man pages confirmed, UNDEF means undefined. <br>That's all great, but how do I make this compile? Is there another library I can use where it is defined?<br>
<br>I found a number of references on Google, which mention that this is broken, but not much about how to fix it.<br>The most promising was this<br><a href="http://cr.openjdk.java.net/~luchsh/7152519/src/solaris/native/sun/java2d/x11/XRBackendNative.c.html">http://cr.openjdk.java.net/~luchsh/7152519/src/solaris/native/sun/java2d/x11/XRBackendNative.c.html</a><br>
But it relates to Java.<br>Can we do something similar in the Xymon code?<br><br>Regards<br>      Vernon<br><br><br><br><div class="gmail_quote">On 28 December 2012 09:32, Vernon Everett <span dir="ltr"><<a href="mailto:everett.vernon@gmail.com" target="_blank">everett.vernon@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all<br><br>Compliments of the season to you all, hope you have a happy and save time during your respective festivities.<br>
<br>I have a small problem. Trying to build a new Xymon server on Solaris X86.<br>Doing the build, using CSW libraries, and got the configure to run OK.<br>
But not so lucky with the make.<br>Starts off OK, but soon falls over with this error.<br><br><span style="font-family:courier new,monospace">gcc  -o xymond_rrd  xymond_rrd.o       xymond_worker.o xymond_buffer.o do_rrd.o client_config.o ../lib/libxymontime.a -lrt ../lib/libxymoncomm.a  -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket -lnsl -lrt -L/opt/csw/lib -lrrd -L/usr/local/lib -lpng -L/opt/csw/lib -lpcre<br>

Undefined                       first referenced<br> symbol                             in file<br>XRenderCreateLinearGradient         /opt/csw/lib/libcairo.so.2<br>deny_severity                       /usr/sfw/lib/libwrap.so.1<br>

XRenderCreateRadialGradient         /opt/csw/lib/libcairo.so.2<br>allow_severity                      /usr/sfw/lib/libwrap.so.1<br>ld: fatal: Symbol referencing errors. No output written to xymond_rrd<br>collect2: ld returned 1 exit status<br>

make[1]: *** [xymond_rrd] Error 1<br>make[1]: Leaving directory `/var/tmp/xymon-4.3.10/xymond'<br>make: *** [xymond-build] Error 2<br></span><br>Anybody got any pointers or tips?<br>I used ldd, I checked the dependencies of the listed libraries, and they are all OK.<br>

Relevant environment variables are : <br><span style="font-family:courier new,monospace"># echo $PATH<br>/usr/bin:/usr/sbin:/usr/sfw/bin:/opt/csw/bin:/usr/local/bin/:/usr/perl5/bin:/usr/openwin/bin:/usr/X11/bin:/usr/ccs/bin:/usr/dt/bin/:/usr/local/samba/bin<br>

# echo $LD_LIBRARY_PATH<br>/usr/local/lib:/opt/csw/lib/:/usr/ccs/bin</span><br><br clear="all">Any assistance appreciated.<br><br>Regards<span class="HOEnZb"><font color="#888888"><br>     Vernon<br><br>-- <br><span>"Accept the challenges so that you can feel the exhilaration of victory"</span><div>

<span>- General George Patton</span></div>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><span>"Accept the challenges so that you can feel the exhilaration of victory"</span><div><span>- General George Patton</span></div>