Hi
I am trying to compile a sample plugin, based on the documentation
from
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Directory_Server/9...
I have created the .c, makefile, and installed required packages in
centos 5.5 i386 (gcc, kernel-devel, kernel-headers,
389-ds-base-devel), but when i try to make, I get
gcc -fPIC -c smbattrsync.c
In file included from smbattrsync.c:3:
/usr/include/dirsrv/slapi-plugin.h:65:21: error: prtypes.h: No such
file or directory
/usr/include/dirsrv/slapi-plugin.h:66:18: error: ldap.h: No such file
or directory
/usr/include/dirsrv/slapi-plugin.h:67:19: error: prprf.h: No such file
or directory
In file included from smbattrsync.c:3:
/usr/include/dirsrv/slapi-plugin.h: In function 'NSPR_API':
In my machine, I have prtypes.h in /usr/include/nspr4/, not in
/usr/include/dirsrv, neither /usr/include, and so compiler does not
find it. I am not a experienced programmer; this looks something
basic, but I can not get it to work. Any idea?
Regards.