Xymon Mailing List Archive search

Todays snapshot (27/12)

4 messages in this thread

list Lars Ebeling · Wed, 27 Dec 2006 10:10:18 +0100 ·
I know that hobbitd_locator.c  is work in progress but f.y.i

gcc -g -O -D_REENTRANT  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHPUX -I. -I
/home/hobbit/snapshot/include -I/usr/local/include -c -o hobbitd_locator.o hobbi
td_locator.c                                                                    hobbitd_locator.c: In function `recalc_current':                                hobbitd_locator.c:91: error: `INT_MAX' undeclared (first use in this function)  hobbitd_locator.c:91: error: (Each undeclared identifier is reported only once  hobbitd_locator.c:91: error: for each function it appears in.)                  hobbitd_locator.c: In function `main':                                          hobbitd_locator.c:766: warning: passing arg 6 of `recvfrom' from incompatible po
inter type                                                                      make[1]: *** [hobbitd_locator.o] Error 1                                        make[1]: Leaving directory `/home/hobbit/snapshot/hobbitd'                      make: *** [hobbitd-build] Error 2          
                                     Regards
Lars Ebeling

http://leopg9.no-ip.org
Hobbithobbyist

"It is better to keep your mouth shut and appear stupid than to open it and remove all doubt."
-- Mark Twain
list Lars Ebeling · Wed, 27 Dec 2006 10:18:31 +0100 ·
Ok, after googling I found out that I had to include

#include <limits.h> 
in hobbitd_locator.c

Is this the correct solution?

Lars
  ----- Original Message -----   From: lars ebeling   To: hobbit   Sent: Wednesday, December 27, 2006 10:10 AM
  Subject: [hobbit] Todays snapshot (27/12)
quoted from Lars Ebeling


  I know that hobbitd_locator.c  is work in progress but f.y.i

  gcc -g -O -D_REENTRANT  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHPUX -I. -I
  /home/hobbit/snapshot/include -I/usr/local/include -c -o hobbitd_locator.o hobbi
  td_locator.c                                                                      hobbitd_locator.c: In function `recalc_current':                                  hobbitd_locator.c:91: error: `INT_MAX' undeclared (first use in this function)    hobbitd_locator.c:91: error: (Each undeclared identifier is reported only once    hobbitd_locator.c:91: error: for each function it appears in.)                    hobbitd_locator.c: In function `main':                                            hobbitd_locator.c:766: warning: passing arg 6 of `recvfrom' from incompatible po
  inter type                                                                        make[1]: *** [hobbitd_locator.o] Error 1                                          make[1]: Leaving directory `/home/hobbit/snapshot/hobbitd'                        make: *** [hobbitd-build] Error 2          
                                         Regards
  Lars Ebeling

  http://leopg9.no-ip.org
  Hobbithobbyist

  "It is better to keep your mouth shut and appear stupid than to open it and remove all doubt."
  -- Mark Twain
list Henrik Størner · Wed, 27 Dec 2006 11:03:09 +0100 ·
On Wed, Dec 27, 2006 at 10:18:31AM +0100, lars ebeling wrote:
Ok, after googling I found out that I had to include

#include <limits.h> 
in hobbitd_locator.c

Is this the correct solution?
Yes.


Henrik
list Lars Ebeling · Wed, 27 Dec 2006 15:49:19 +0100 ·
Gives empty bb.html

Lars

----- Original Message ----- From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Wednesday, December 27, 2006 11:03 AM
Subject: Re: [hobbit] Todays snapshot (27/12)
quoted from Lars Ebeling

On Wed, Dec 27, 2006 at 10:18:31AM +0100, lars ebeling wrote:
Ok, after googling I found out that I had to include

#include <limits.h> 
in hobbitd_locator.c

Is this the correct solution?
Yes.


Henrik