Hi all,
I don't do much c programming, but I've been working on an inotify routine to watch a directory for changes. The last time I compiled the program was about 3 weeks ago. I tried to compile the exact same program today and I'm getting this.
Code:
>gcc -o create-close create-close.c
/tmp/ccvm5h7h.o: In function `main':
create-close.c:(.text+0x94): undefined reference to `inotifytools_initialize'
create-close.c:(.text+0xac): undefined reference to `inotifytools_watch_recursively'
create-close.c:(.text+0xb5): undefined reference to `inotifytools_error'
create-close.c:(.text+0xef): undefined reference to `inotifytools_set_printf_timefmt'
create-close.c:(.text+0xfb): undefined reference to `inotifytools_next_event'
create-close.c:(.text+0x12e): undefined reference to `inotifytools_printf'
create-close.c:(.text+0x13a): undefined reference to `inotifytools_next_event'
collect2: ld returned 1 exit status
The C file has not changed, so I'm a little confused. I have run some system updates (CentOS 6) and think that may be the culprit. My internet searches only show include and library related issues. I've tried those suggestions to no avail.
Any idea why this would be happening, things to look for, etc..?
Thanks,
MPH