<br><font size=2 face="sans-serif"><b>Thank you Ton,</b></font>
<br><font size=2 face="sans-serif"><b> We got a little bit further ...</b></font>
<br>
<br><font size=2 face="sans-serif"> cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib</font>
<br><font size=2 face="sans-serif">-g -c </font><font size=2 color=blue face="sans-serif">check_snmp.c</font>
<br><font size=2 face="sans-serif"> cc -g -L. -o </font><font size=2 color=blue face="sans-serif">check_snmp check_snmp.o</font><font size=2 face="sans-serif"> utils.o ../lib/libnagiosplug.a po</font>
<br><font size=2 face="sans-serif">pen.o -lsnprintf -lsnprintf</font>
<br><font size=2 face="sans-serif"> cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib</font>
<br><font size=2 face="sans-serif">-g -c check_nt.c</font>
<br><font size=2 face="sans-serif">"</font><font size=2 color=red face="sans-serif">check_nt.c</font><font size=2 face="sans-serif">",</font><font size=2 color=red face="sans-serif"> line 31.3</font><font size=2 face="sans-serif">: 1506-191 (E) The character £ is not a valid C source ch</font>
<br><font size=2 face="sans-serif">aracter.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 31.1: 1506-046 (S) Syntax error.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 31.4: 1506-166 (S) Definition of function include requires pa</font>
<br><font size=2 face="sans-serif">rentheses.</font>
<br><font size=2 face="sans-serif">"/usr/include/stdio.h", line 153.3: 1506-273 (E) Missing type in declaration of</font>
<br><font size=2 face="sans-serif">FILE.</font>
<br><font size=2 face="sans-serif">"/usr/include/stdio.h", line 158.8: 1506-166 (S) Definition of function FILE req</font>
<br><font size=2 face="sans-serif">uires parentheses.</font>
<br><font size=2 face="sans-serif">"/usr/include/stdio.h", line 158.17: 1506-276 (S) Syntax error: possible missing</font>
<br><font size=2 face="sans-serif"> '{'?</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/types.h", line 236.3: 1506-273 (E) Missing type in declaration</font>
<br><font size=2 face="sans-serif"> of sigset_t.</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/vm_types.h", line 45.9: 1506-166 (S) Definition of function ul</font>
<br><font size=2 face="sans-serif">ong_t requires parentheses.</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/vm_types.h", line 45.25: 1506-276 (S) Syntax error: possible m</font>
<br><font size=2 face="sans-serif">issing '{'?</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/vm_types.h", line 94.9: 1506-045 (S) Undeclared identifier vmh</font>
<br><font size=2 face="sans-serif">andle_t.</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/vm_types.h", line 95.9: 1506-045 (S) Undeclared identifier cad</font>
<br><font size=2 face="sans-serif">dr_t.</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/vm_types.h", line 100.3: 1506-273 (E) Missing type in declarat</font>
<br><font size=2 face="sans-serif">ion of vmaddr_t.</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/vm_types.h", line 108.9: 1506-046 (S) Syntax error.</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/vm_types.h", line 114.1: 1506-278 (S) The structure definition</font>
<br><font size=2 face="sans-serif"> must specify a member list.</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/m_types.h", line 55.9: 1506-046 (S) Syntax error.</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/m_types.h", line 72.9: 1506-166 (S) Definition of function int</font>
<br><font size=2 face="sans-serif">32long64_t requires parentheses.</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/types.h", line 460.30: 1506-273 (E) Missing type in declaratio</font>
<br><font size=2 face="sans-serif">n of physadr_t.</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/types.h", line 461.9: 1506-166 (S) Definition of function phys</font>
<br><font size=2 face="sans-serif">adr_t requires parentheses.</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/types.h", line 461.25: 1506-276 (S) Syntax error: possible mis</font>
<br><font size=2 face="sans-serif">sing '{'?</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/types.h", line 496.9: 1506-046 (S) Syntax error.</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/types.h", line 499.41: 1506-045 (S) Undeclared identifier ino3</font>
<br><font size=2 face="sans-serif">2_t.</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/types.h", line 499.64: 1506-045 (S) Undeclared identifier uint</font>
<br><font size=2 face="sans-serif">_t.</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/types.h", line 517.9: 1506-046 (S) Syntax error.</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/types.h", line 541.8: 1506-046 (S) Syntax error.</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/types.h", line 545.1: 1506-278 (S) The structure definition mu</font>
<br><font size=2 face="sans-serif">st specify a member list.</font>
<br><font size=2 face="sans-serif">"/usr/include/stdio.h", line 374.29: 1506-275 (S) Unexpected text '*' encountere</font>
<br><font size=2 face="sans-serif">d.</font>
<br><font size=2 face="sans-serif">"/usr/include/stdio.h", line 374.17: 1506-282 (S) The type of the parameters mus</font>
<br><font size=2 face="sans-serif">t be specified in a prototype.</font>
<br><font size=2 face="sans-serif">"/usr/include/stdio.h", line 375.8: 1506-166 (S) Definition of function FILE req</font>
<br><font size=2 face="sans-serif">uires parentheses.</font>
<br><font size=2 face="sans-serif">"/usr/include/stdio.h", line 375.17: 1506-276 (S) Syntax error: possible missing</font>
<br><font size=2 face="sans-serif"> '{'?</font>
<br><font size=2 face="sans-serif">"/usr/include/stdlib.h", line 79.3: 1506-273 (E) Missing type in declaration of</font>
<br><font size=2 face="sans-serif">div_t.</font>
<br><font size=2 face="sans-serif">"/usr/include/stdlib.h", line 91.8: 1506-166 (S) Definition of function size_t r</font>
<br><font size=2 face="sans-serif">equires parentheses.</font>
<br><font size=2 face="sans-serif">"/usr/include/stdlib.h", line 91.15: 1506-276 (S) Syntax error: possible missing</font>
<br><font size=2 face="sans-serif"> '{'?</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/time.h", line 91.9: 1506-045 (S) Undeclared identifier time_t.</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/time.h", line 93.9: 1506-045 (S) Undeclared identifier susecon</font>
<br><font size=2 face="sans-serif">ds_t.</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/time.h", line 103.5: 1506-046 (S) Syntax error.</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/time.h", line 105.1: 1506-278 (S) The structure definition mus</font>
<br><font size=2 face="sans-serif">t specify a member list.</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/time.h", line 115.1: 1506-278 (S) The structure definition mus</font>
<br><font size=2 face="sans-serif">t specify a member list.</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/time.h", line 123.25: 1506-007 (S) "struct timeval" is undefin</font>
<br><font size=2 face="sans-serif">ed.</font>
<br><font size=2 face="sans-serif">"/usr/include/sys/time.h", line 124.25: 1506-007 (S) "struct timeval" is undefin</font>
<br><font size=2 face="sans-serif">ed.</font>
<br><font size=2 face="sans-serif">make: 1254-004 The error code from the last command is 1.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Stop.</font>
<br><font size=2 face="sans-serif">make: 1254-004 The error code from the last command is 1.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Stop.</font>
<br>
<br>
<br><font size=2 face="sans-serif"><b>I then removed // from file 31.3 of </b></font><font size=2 color=red face="sans-serif"><b>check_nt.c</b></font><font size=2 face="sans-serif"><b>. Executed the make all again and got ....</b></font>
<br>
<br><font size=2 face="sans-serif"> cc -g -L. -o </font><font size=2 color=blue face="sans-serif">check_snmp</font><font size=2 face="sans-serif"> check_snmp.o utils.o ../lib/libnagiosplug.a po</font>
<br><font size=2 face="sans-serif">pen.o -lsnprintf -lsnprintf</font>
<br><font size=2 face="sans-serif"> cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib</font>
<br><font size=2 face="sans-serif">-g -c </font><font size=2 color=red face="sans-serif">check_nt.c</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 124.33: 1506-046 (S) Syntax error.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 124.37: 1506-045 (S) Undeclared identifier l.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 130.41: 1506-046 (S) Syntax error.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 130.44: 1506-045 (S) Undeclared identifier loop.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 133.108: 1506-275 (S) Unexpected text ')' encountered.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 145.41: 1506-046 (S) Syntax error.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 153.57: 1506-046 (S) Syntax error.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 156.41: 1506-046 (S) Syntax error.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 156.44: 1506-045 (S) Undeclared identifier we.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 239.65: 1506-046 (S) Syntax error.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 239.68: 1506-045 (S) Undeclared identifier replace.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 241.81: 1506-275 (S) Unexpected text ')' encountered.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 289.65: 1506-046 (S) Syntax error.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 289.78: 1506-045 (S) Undeclared identifier between.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 290.81: 1506-275 (S) Unexpected text ')' encountered.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 300.65: 1506-046 (S) Syntax error.</font>
<br><font size=2 face="sans-serif">make: 1254-004 The error code from the last command is 1.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Stop.</font>
<br><font size=2 face="sans-serif">make: 1254-004 The error code from the last command is 1.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Stop.<br>
regards,<br>
</font>
<br><font size=2 face="sans-serif"><b>Removed comment line 124 // -l parameters is present with only integers. Executed the make all again and got ....</b></font>
<br>
<br><font size=2 face="sans-serif"> cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib</font>
<br><font size=2 face="sans-serif">-g -c check_nt.c</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 129.41: 1506-046 (S) Syntax error.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 129.44: 1506-045 (S) Undeclared identifier loop.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 132.108: 1506-275 (S) Unexpected text ')' encountered.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 144.41: 1506-046 (S) Syntax error.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 152.57: 1506-046 (S) Syntax error.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 155.41: 1506-046 (S) Syntax error.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 155.44: 1506-045 (S) Undeclared identifier we.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 238.65: 1506-046 (S) Syntax error.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 238.68: 1506-045 (S) Undeclared identifier replace.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 240.81: 1506-275 (S) Unexpected text ')' encountered.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 288.65: 1506-046 (S) Syntax error.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 288.78: 1506-045 (S) Undeclared identifier between.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 289.81: 1506-275 (S) Unexpected text ')' encountered.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 299.65: 1506-046 (S) Syntax error.</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 299.68: 1506-045 (S) Undeclared identifier burn.</font>
<br><font size=2 face="sans-serif">make: 1254-004 The error code from the last command is 1.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Stop.</font>
<br><font size=2 face="sans-serif">make: 1254-004 The error code from the last command is 1.</font>
<br>
<br>
<br><font size=2 face="sans-serif"><b>Removed all comment lines throughout check_nt.c. Executed the make all again and got ....</b></font>
<br>
<br><font size=2 face="sans-serif"> cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib</font>
<br><font size=2 face="sans-serif">-g -c check_nt.c</font>
<br><font size=2 face="sans-serif">"check_nt.c", line 296.25: 1506-277 (S) Syntax error: possible missing ';' or ',</font>
<br><font size=2 face="sans-serif">'?</font>
<br><font size=2 face="sans-serif">make: 1254-004 The error code from the last command is 1.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Stop.</font>
<br><font size=2 face="sans-serif">make: 1254-004 The error code from the last command is 1.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Stop.</font>
<br>
<br>
<br><font size=2 face="sans-serif"><b>Looked at previous occurrences of "</b>printf("NSClient - %s\n",recv_buffer);<b>". ( line 296.25). Any ideas ....</b></font>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<br><font size=2 face="sans-serif"><br>
Alwyn Cherrington<br>
Generic Operator<br>
Technology Services Unit<br>
Corporate Services Department<br>
Manchester City Council<br>
<br>
Tel: 0161 277 5912<br>
Fax: 0161 277 5955<br>
Email: a.cherrington@notes.manchester.gov.uk</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>"Voon, Ton" <Ton.Voon@egg.com></b></font>
<p><font size=1 face="sans-serif">07/04/2003 18:16</font>
<br>
<td><font size=1 face="Arial"> </font>
<br><font size=1 face="sans-serif"> To: Alwyn Cherrington/Technology.Services/MCC@Manchester.City.Council, nagios-users@lists.sourceforge.net, nagiosplug-help@lists.sourceforge.net</font>
<br><font size=1 face="sans-serif"> cc: </font>
<br><font size=1 face="sans-serif"> Subject: Re: nagios-plugins-1.3.0 error during make all</font></table>
<br>
<br>
<br><font size=2><tt>Please remove nagios-users from mailing list when replying.<br>
</tt></font>
<br><font size=2><tt>Alwyn,<br>
</tt></font>
<br><font size=2><tt>Looks like line 170 is redundant as I can't see any bit of the code that<br>
uses it. The errors are probably due to AIX using a variable called regex as<br>
well. Please delete the line and do another make all.<br>
</tt></font>
<br><font size=2><tt>I'll remove the line from CVS later tonight.<br>
</tt></font>
<br><font size=2><tt>Ton<br>
</tt></font>
<br><font size=2><tt>> -----Original Message-----<br>
> From: Alwyn Cherrington [SMTP:a.cherrington@notes.manchester.gov.uk]<br>
> Sent: Monday, April 07, 2003 2:49 PM<br>
> To: nagios-users@lists.sourceforge.net;<br>
> nagiosplug-help@lists.sourceforge.net<br>
> Subject: [Nagiosplug-help] nagios-plugins-1.3.0 error during make all<br>
><br>
><br>
> Installed Nagios, trying to install plugins ... on AIX dm05 3 4<br>
> 0041C9BA4C00, I have perviously been administering NetSaint 7 on another<br>
> node but did not install it.<br>
><br>
> following ... /usr/local/nagios/libexec/nagios-plugins-1.3.0>make all<br>
><br>
><br>
> cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib<br>
> -g -c check_snmp.c<br>
> "check_snmp.c", line 170.6: 1506-343 (S) Redeclaration of regex differs<br>
> from pre<br>
> vious declaration on line 188 of "/usr/include/regex.h".<br>
> "check_snmp.c", line 170.6: 1506-382 (I) The type "unsigned char[1024]" of<br>
> ident<br>
> ifier regex differs from previous type "unsigned char*(unsigned<br>
> char*,unsigned c<br>
> har*,unsigned char*)".<br>
> make: 1254-004 The error code from the last command is 1.<br>
><br>
><br>
> Stop.<br>
> make: 1254-004 The error code from the last command is 1.<br>
><br>
><br>
> Stop.<br>
> dm05:/usr/local/nagios/libexec/nagios-plugins-1.3.0><br>
><br>
> Any help would be appreciated.<br>
><br>
> regards,<br>
><br>
> Alwyn Cherrington<br>
><br>
</tt></font>
<br>
<br><font size=2><tt>This private and confidential e-mail has been sent to you by Egg.<br>
The Egg group of companies includes Egg Banking plc<br>
(registered no. 2999842), Egg Financial Products Ltd (registered<br>
no. 3319027) and Egg Investments Ltd (registered no. 3403963) which<br>
carries out investment business on behalf of Egg and is regulated<br>
by the Financial Services Authority.<br>
Registered in England and Wales. Registered offices: 1 Waterhouse Square,<br>
138-142 Holborn, London EC1N 2NA.<br>
If you are not the intended recipient of this e-mail and have<br>
received it in error, please notify the sender by replying with<br>
'received in error' as the subject and then delete it from your<br>
mailbox.</tt></font>
<br>
<br>
<br><CODE><FONT SIZE=3><BR>
<BR>
**********************************************************************<BR>
This email and any files transmitted with it are confidential and<BR>
intended solely for the use of the individual or entity to whom they<BR>
are addressed. If you have received this email in error please notify<BR>
the system manager.<BR>
<BR>
This footnote also confirms that this email message has been swept <BR>
for the presence of computer viruses.<BR>
<BR>
Please contact internet.administrators@notes.manchester.gov.uk <BR>
with any queries.<BR>
</FONT></CODE>