Looks like you're not linking one or more network libraries. I don't have a Solaris system to get any closer than that.<div><br></div><div>Ralph Mitchell</div><div><br><br><div class="gmail_quote">On Mon, Sep 19, 2011 at 8:03 PM, Roland Soderstrom <span dir="ltr"><<a href="mailto:rolands@logicaltech.com.au">rolands@logicaltech.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
Can't compile on Solaris 10 x86<br>
<br>
ipndbb # pkginfo|grep SMC<br>
application SMCdb47 db<br>
application SMCevtlog eventlog<br>
application SMCexpat expat<br>
application SMCfontc fontconfig<br>
application SMCfping fping<br>
application SMCftype freetype<br>
application SMCgcc gcc<br>
application SMCgd gd<br>
application SMCgviz graphviz<br>
application SMCjpeg jpeg<br>
application SMClibart libart_lgpl<br>
application SMClibpng libpng<br>
application SMCliconv libiconv<br>
application SMClintl libintl<br>
application SMClynx lynx<br>
application SMCmake make<br>
application SMCncurs ncurses<br>
application SMColdap openldap<br>
application SMCossl openssl<br>
application SMCpcre pcre<br>
application SMCrrdt rrdtool<br>
application SMCsasl sasl<br>
application SMCsudo sudo<br>
application SMCxpm xpm<br>
application SMCzlib zlib<br>
<br>
Should take care of all (most?) dependencies<br>
<br>
Configure runs fine<br>
<br>
Make fail<br>
ipndbb # /usr/local/bin/make<br>
Snip<br>
......<br>
<br>
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I.
-I/var/tmp/xymon-4.3.5/include -I/usr/local/include -I.
-I../include -DSTANDALONE -o loadhosts loadhosts.c ./libxymon.a
-lrt<br>
loadhosts_file.c: In function `load_hostnames':<br>
loadhosts_file.c:131: warning: 'insavchar' might be used
uninitialized in this function<br>
Undefined first referenced<br>
symbol in file<br>
recv ./libxymon.a(sendmsg.o)<br>
getservbyname ./libxymon.a(sendmsg.o)<br>
gethostbyname ./libxymon.a(sendmsg.o)<br>
socket ./libxymon.a(sendmsg.o)<br>
getsockopt ./libxymon.a(sendmsg.o)<br>
connect ./libxymon.a(sendmsg.o)<br>
inet_aton ./libxymon.a(sendmsg.o)<br>
inet_ntoa ./libxymon.a(sendmsg.o)<br>
shutdown ./libxymon.a(sendmsg.o)<br>
ld: fatal: Symbol referencing errors. No output written to loadhosts<br>
collect2: ld returned 1 exit status<br>
make[1]: *** [loadhosts] Error 1<br>
make[1]: Leaving directory `/var/tmp/xymon-4.3.5/lib'<br>
make: *** [lib-build] Error 2<br>
ipndbb # <br>
<br>
Any ideas?<br>
Been googling and found nothing<br>
<br>
<div>-- <br>
<br>
<p style="font-size:10pt;font-family:Verdana"> Best Regards, <br>
<br>
</p>
<table style="border-collapse:collapse">
<tbody>
<tr>
<td style="padding:0pt" valign="center">
<p style="margin:0pt;font-size:8pt;font-family:Verdana,sans-serif"> <span style="color:rgb(0, 93, 170);font-size:11pt"><b>Roland
Soderstrom</b></span> | <span style="color:rgb(0, 93, 170)"><b>Senior
System Administrator</b></span><br>
<br>
<b>Direct</b> 03 8643 6485 | <b>Mobile</b>
0425 362 611 | <b>Office</b> 03 8643 6444 <br>
<b>Email</b> <a href="mailto:rolands@logicaltech.com.au" target="_blank">rolands@logicaltech.com.au</a> | <b>Web</b>
<a href="http://www.logicaltech.com.au" target="_blank">www.logicaltech.com.au</a> <br>
</p>
</td>
<td width="30"> <br>
</td>
<td valign="top" width="155"> <img alt="Logicaltech" style="width:135px;min-height:59px" src="cid:part1.03090502.08000404@logicaltech.com.au" height="59" width="135"> </td>
</tr>
</tbody>
</table>
<p style="font-size:6pt;font-family:Verdana"> <br>
Disclaimer: This message contains privileged and confidential
information intended only for the use of the addressee named
above. <br>
If you are not the intended recipient of this message you must
not
disseminate, copy or take any action in reliance on it. <br>
Any views expressed in this message are those of the individual
sender,
except where the sender specifically states them to be the views
of the
company. </p>
</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>