<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>just as it says...<br>
<br>
"undefined symbol recv in file netutils.o" comes up with <br>
<br>
S<span class="highlight">O</span>CKETLIBS= -lnsl -ls<span
class="highlight">o</span>cket <br>
<br>
or furthermore compiling with gcc and gmake.<br>
<br>
./configure ... 'CC=gcc' ...<br>
<br>
Kind regards,<br>
Michael<br>
</tt><tt><br>
<br>
<br>
Najeeb Aslam wrote the following on 13.10.2009 12:32:</tt>
<blockquote
cite="mid:BD500EFDFF058241BC4511D9601B7CB40E9DA3F197@polly.intra"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Webdings;
panose-1:5 3 1 2 1 5 9 6 7 3;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
{page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal"><tt>/usr/local/src/nagios-3.2.0> make all<o:p></o:p></tt></p>
<p class="MsoNormal"><tt>cd ./base && make<o:p></o:p></tt></p>
<p class="MsoNormal"><tt>gcc -g -O2 -I/usr/local/include
-DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o
config.o commands.o events.o flapping.o logging.o macros-base.o
netutils.o notifications.o sehandlers.o skiplist.o utils.o
retention-base.o xretention-base.o comments-base.o xcomments-base.o
objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o
perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o
../common/snprintf.o -L/usr/local/lib -lm -lpthread -lltdl -lrt<o:p></o:p></tt></p>
<p class="MsoNormal"><tt>Undefined first
referenced<o:p></o:p></tt></p>
<p class="MsoNormal"><tt> symbol in file<o:p></o:p></tt></p>
<p class="MsoNormal"><tt>recv
netutils.o<o:p></o:p></tt></p>
<p class="MsoNormal"><tt>send
netutils.o<o:p></o:p></tt></p>
<p class="MsoNormal"><tt>socket
netutils.o<o:p></o:p></tt></p>
<p class="MsoNormal"><tt>getsockopt
netutils.o<o:p></o:p></tt></p>
<p class="MsoNormal"><tt>connect
netutils.o<o:p></o:p></tt></p>
<p class="MsoNormal"><tt>getaddrinfo
netutils.o<o:p></o:p></tt></p>
<p class="MsoNormal"><tt>freeaddrinfo
netutils.o<o:p></o:p></tt></p>
<p class="MsoNormal"><tt>ld: fatal: Symbol referencing errors. No
output written to nagios<o:p></o:p></tt></p>
<p class="MsoNormal"><tt>collect2: ld returned 1 exit status<o:p></o:p></tt></p>
<p class="MsoNormal"><tt>*** Error code 1<o:p></o:p></tt></p>
<p class="MsoNormal"><tt>make: Fatal error: Command failed for target
`nagios'<o:p></o:p></tt></p>
<p class="MsoNormal"><tt>Current working directory
/usr/local/src/nagios-3.2.0/base<o:p></o:p></tt></p>
<p class="MsoNormal"><tt>*** Error code 1<o:p></o:p></tt></p>
<p class="MsoNormal"><tt>make: Fatal error: Command failed for target
`all'<o:p></o:p></tt></p>
<p class="MsoNormal"><tt>/usr/local/src/nagios-3.2.0><o:p></o:p></tt></p>
<p class="MsoNormal"><tt><o:p> </o:p></tt></p>
<p class="MsoNormal"><tt>Best regards,<o:p></o:p></tt></p>
<p class="MsoNormal"><tt><o:p> </o:p></tt></p>
<p class="MsoNormal"><tt>-Najeeb<o:p></o:p></tt></p>
<p class="MsoNormal"><tt><b>-----------------------------------------------</b><b><span
style="font-size: 12pt; font-family: "Times New Roman","serif";"><o:p></o:p></span></b></tt></p>
<p class="MsoNormal"><tt><b>Najeeb Aslam <span
style="color: rgb(89, 89, 89);"><o:p></o:p></span></b></tt></p>
<p class="MsoNormal"><tt><b><span style="color: rgb(227, 108, 10);">Unix
Systems Administrator<o:p></o:p></span></b></tt></p>
<p class="MsoNormal"><tt><b><span style="color: rgb(127, 127, 127);">Youthnet
UK - </span></b><b><span style="color: rgb(127, 127, 127);">50
Featherstone St, London, EC1Y 8RT<o:p></o:p></span></b></tt></p>
<p class="MsoNormal"><tt><b><span style="color: rgb(127, 127, 127);">Direct:</span></b><span
style="color: rgb(127, 127, 127);"> 0207 250 5750 |
<b>Switchboard:</b> 0207 250 5700 | <b>Email:</b> </span><b><u><span
style="color: rgb(31, 73, 125);"><a moz-do-not-send="true"
href="mailto:najeeb.aslam@youthnet.org"><span
style="color: rgb(31, 73, 125);">najeeb.aslam@youthnet.org</span></a></span></u></b><span
style="color: rgb(127, 127, 127);">
<o:p></o:p></span></tt></p>
<p class="MsoNormal"><tt><b><span style="color: rgb(127, 127, 127);">Websites:</span></b><span
style="color: rgb(127, 127, 127);">
</span><b><u><span style="color: rgb(31, 73, 125);"><a
moz-do-not-send="true" href="http://www.youthnet.org/"><span
style="color: rgb(31, 73, 125);">www.youthnet.org</span></a></span></u></b><span
style="color: rgb(127, 127, 127);"> |
</span><b><u><span style="color: rgb(31, 73, 125);"><a class="moz-txt-link-abbreviated" href="http://www.do-it.org.uk">www.do-it.org.uk</a></span></u></b><span
style="color: rgb(127, 127, 127);"> |
</span><b><u><span style="color: rgb(31, 73, 125);"><a class="moz-txt-link-abbreviated" href="http://www.thesite.org">www.thesite.org</a></span></u></b><span
style="color: rgb(127, 127, 127);"> |
</span><b><u><span style="color: rgb(31, 73, 125);"><a
moz-do-not-send="true" href="http://www.lifetracks.com/"><span
style="color: rgb(31, 73, 125);">www.lifetracks.com</span></a></span></u></b><u><span
style="color: rgb(127, 127, 127);"><o:p></o:p></span></u></tt></p>
<p class="MsoNormal" style=""><tt><span
style="font-size: 13.5pt; font-family: Webdings; color: green;">P</span><span
style="font-size: 13.5pt; font-family: "Arial","sans-serif"; color: rgb(51, 51, 51);">
</span><span
style="font-size: 7.5pt; font-family: "Verdana","sans-serif"; color: green;">Before
printing, please think about the environment</span><span
style="font-size: 7.5pt; font-family: "Verdana","sans-serif";"><o:p></o:p></span></tt></p>
<p class="MsoNormal"><tt><span
style="font-size: 9pt; font-family: "Verdana","sans-serif"; color: rgb(127, 127, 127);"><o:p> </o:p></span></tt></p>
<p class="MsoNormal"><tt><o:p> </o:p></tt></p>
</div>
<tt><br>
</tt>
<hr><tt><font color="Gray" size="1">YouthNet UK is a limited company
registered in England and Wales. Company registration number: 3031098.
Charity registration number 1048995. Registered office: 100 Victoria
Embankment, London, EC4Y 0DH.<br>
</font></tt>
<pre wrap=""><tt>
</tt><hr size="4" width="90%"><tt>
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/devconference">http://p.sf.net/sfu/devconference</a></tt></pre>
<pre wrap=""><tt>
</tt><hr size="4" width="90%"><tt>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null</tt></pre>
</blockquote>
<tt><br>
</tt>
<pre class="moz-signature" cols="72"><tt>--
DI (FH) Michael Friedrich
<a class="moz-txt-link-abbreviated" href="mailto:michael.friedrich@univie.ac.at">michael.friedrich@univie.ac.at</a>
Tel: +43 1 4277 14359
Vienna University Computer Center
Universitaetsstrasse 7
A-1010 Vienna, Austria
</tt></pre>
</body>
</html>