The same error occurs on Solaris:
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DMAXMSG=32768
-DBBDPORTNUMBER=1984 -I. -I/opt/sysadmin/src/hobbit-4.0-RC5/include -c
-o hobbitd.o hobbitd.c
hobbitd.c: In function main': hobbitd.c:2480: error: PATH_MAX' undeclared (first use in this function)
hobbitd.c:2480: error: (Each undeclared identifier is reported only once
hobbitd.c:2480: error: for each function it appears in.)
make[1]: *** [hobbitd.o] Error 1
make[1]: Leaving directory `/opt/sysadmin/src/hobbit-4.0-RC5/hobbitd'
make: *** [hobbitd-build] Error 2
bash-2.03#
On Fri, 4 Mar 2005 08:30:42 +0100 (CET), lars ebeling <dhd733 at yahoo.se> wrote:
cc -g -O -D_REENTRANT -DHPUX -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/home/hob bit-4.0-RC5/include -c -o hobbitd.o hobbitd.c
hobbitd.c: In function émain':
hobbitd.c:2480: error: éPATH_MAX' undeclared (first use in this function)
hobbitd.c:2480: error: (Each undeclared identifier is reported only once
hobbitd.c:2480: error: for each function it appears in.)
makeÄ1Å: *** Ähobbitd.oÅ Error 1
makeÄ1Å: Leaving directory é/home/hobbit-4.0-RC5/hobbitd'
make: *** Ähobbitd-buildÅ Error 2
Regards
Lars
Henrik Stoerner <henrik at hswn.dk> wrote:
Från: Henrik Stoerner[SMTP:HENRIK at HSWN.DK] Skickat: den 4 mars 2005 08:04:14 Till: hobbit at hswn.dk Ämne: [hobbit] RC5 available on sourceforge Automatiskt vidarebefordrat av en regel
To clear the list of patches, I've packed up an RC5 which is now available http://sourceforge.net/project/hobbitmon/ and on http://www.hswn.dk/beta/
This solves all of the problems that have been reported with alerts in RC4. It also fixes the crashes that have been reported with the hobbitd_alert module, and when very large status messages were sent to hobbitd.
Since I'm off to Linuxforum 2005 - www.linuxforum.dk - I probably will not be as much online this week-end as I usually am. So enjoy this release and don't break anything important, please :-)
Henrik
Changes from R C-4 -> RC-5
Bugfixes:
Very large status- or data-messages could overflow the shared memory segment used for communication between hobbitd and the worker modules. This would cause hobbitd to crash. Such messages are now truncated before being passed off to worker modules.
hobbitd_alert no longer crashes when trying to send a message.
Recovery messages were sent, even when no alert message had been sent. This caused unexpected "green" messages.
The router dependency "route" tag handling was broken.
Improvements:
The "starthobbit.sh" script now refuses to start Hobbit if it is already running.
The "starthobbit.sh" script was renamed to just "hobbit.sh". It now also supports a "reload" command that causes hobbitd to reload the bb-hosts file.
The bb-hist CGI now supports the NAME tag for naming hosts.
The history CGI's showed the Host- and service-names twice when in Hobbit mode. Once is enough.
A "NOALERT" setting in hobbit-alerts.cfg was implemented, so it is easier to define recipients who only get notice-messages and not alerts.
The input parameter check for CGI scripts was relaxed, so that special characters are permitted - e.g. when passing a custom hostname to a CGI. Since we do not use any shell scripts in CGI handling, this should not cause any security problem.
Building Hobbit:
The /opt/sfw directory is now searched for libraries (Solaris).
The order of libssl and libcrypto has been swapped, to avoid linker problems on some platforms.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk