Hi Stirling,
thanks it got me somewhere, however now I stuck at this point trying to figure out where the function FAMCONNECTION_GETfd' come from.
root # gcc -lfam -o mon monitor.c
/tmp/cc2VxbZZ.o(.text+0x1e4): In function `main':
: undefined reference to `FAMCONNECTION_GETfd'
collect2: ld returned 1 exit status
and
root # ls -al /usr/lib/libfam*
-rw-r--r-- 1 root root 41110 Mar 5 18:30 /usr/lib/libfam.a
-rwxr-xr-x 1 root root 703 Mar 5 18:30 /usr/lib/libfam.la
lrwxrwxrwx 1 root root 15 Mar 5 18:30 /usr/lib/libfam.so -> li
bfam.so.0.0.0
lrwxrwxrwx 1 root root 15 Mar 5 18:30 /usr/lib/libfam.so.0 ->
libfam.so.0.0.0
-rwxr-xr-x 1 root root 35930 Mar 5 18:30 /usr/lib/libfam.so.0.0.0
thanks
|