[Xymon] Compile error 4.3.9

Roland Soderstrom Rolands at logicaltech.com.au
Thu Jul 26 07:36:33 CEST 2012


Problem solved :D
I had to install gnu ld and move /usr/ccs/bin/ld to /usr/ccs/bin/ld-old
Remove /usr/ccs/bin from the PATH won't help.
Now when I think about it I had the same problem on 4.3.5

I also had to insert
#include <errno.h>
In xymonnet/httptest.c

- Roland


-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Henrik Størner
Sent: Thursday, 26 July 2012 6:27 AM
To: xymon at xymon.com
Subject: Re: [Xymon] Compile error 4.3.9

On 25-07-2012 21:14, Scott Post wrote:
> make[1]: Entering directory `/tmp/xymon-4.3.9/xymonnet'
> gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT 
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I.
> -I/tmp/xymon-4.3.9/include    -c -o httptest.o httptest.c
> httptest.c: In function âadd_http_testâ:
> httptest.c:552:84: error: âerrnoâ undeclared (first use in this 
> function)

Oops! Add a
    #include <errno.h>
near the top of xymonnet/httptest.c along with the other #include lines.


Regards,
Henrik

_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon



More information about the Xymon mailing list