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)
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