There's no inotify in the kernel as far as I could tell (centos 4.8), but there are inotify devel libraries in the centos repository. Maybe RHEL has them also. If I remember I might try to remove the inotify libraries from my test system and give compilation a shot. Also check to see if your system has /usr/include/sys/inotify.h.
On Thu, Jan 7, 2010 at 3:31 PM, David Weise <[email protected]> wrote: > > hi, > you know i take that back, this box is using RHEL4. Well inotify is supposed > to be in kernel 2.6.13, but I find that to be untrue. I have a dev box, > that is AMD and it works fine. the kernel on both is 2.6.9-89. so i'm still > at a loss. > dan (ddp) wrote: >> >> 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. >>> >> >> > >> ------------------------------------------------------------------------ >> >> >> No virus found in this incoming message. >> Checked by AVG - www.avg.com Version: 8.5.432 / Virus Database: >> 270.14.129/2605 - Release Date: 01/07/10 07:35:00 >> >> >
