It looks like you're missing an inotify package. I don't have RHEL 5.4 handy, so
you may have to compare what is installed on that box versus the others.
'rpm -qa | grep -i inotify' on a working machine and the not working one, then
compare the output.
HTH,
dan

On Thu, Jan 7, 2010 at 10:25 AM, David Weise <[email protected]> wrote:
> hi,
> i'm having a problem compiling this. This box is RHEL5.4x64 Intel.  It works
> fine on 15 others, but just not this one.  Any guesses?
> *** Making syscheckd ***
>
> make[1]: Entering directory `/home/dweise/ossec-hids-2.2/src/syscheckd'
> gcc -g -Wall -I../ -I../headers  -DDEFAULTDIR=\"/var/ossec\" -DCLIENT
> -DUSE_OPENSSL -DUSEINOTIFY    -DARGV0=\"ossec-syscheckd\" -DXML_VAR=\"var\"
> -DOSSECHIDS  syscheck.c config.c run_realtime.c create_db.c run_check.c
> ../config/lib_config.a ../rootcheck/rootcheck_lib.a ../shared/lib_shared.a
> ../os_xml/os_xml.a ../os_regex/os_regex.a ../os_net/os_net.a
> ../os_crypto/os_crypto.a -o ossec-syscheckd
> run_realtime.c: In function `realtime_start':
> run_realtime.c:47: warning: implicit declaration of function `inotify_init'
> run_realtime.c: In function `realtime_adddir':
> run_realtime.c:78: warning: implicit declaration of function
> `inotify_add_watch'
> /tmp/ccywggQU.o(.text+0x62): In function `realtime_start':
> /home/dweise/ossec-hids-2.2/src/syscheckd/run_realtime.c:47: undefined
> reference to `inotify_init'
> /tmp/ccywggQU.o(.text+0xf9): In function `realtime_adddir':
> /home/dweise/ossec-hids-2.2/src/syscheckd/run_realtime.c:78: undefined
> reference to `inotify_add_watch'
> collect2: ld returned 1 exit status
> make[1]: *** [syscheck] Error 1
> make[1]: Leaving directory `/home/dweise/ossec-hids-2.2/src/syscheckd'
>
> Error Making syscheckd
> make: *** [all] Error 1
>
> Error 0x5.
> Building error. Unable to finish the installation.
>

Reply via email to