FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Directory

LinkBack Thread Tools
Old 08-20-2012, 11:32 AM
Juan Asensio Sánchez
Default Problem compiling sample plugin


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.0/html/Plug-in_Guide/Plugin_Programming_Guide-An_Example_Plug_in.html#Plugin_Programming_Guide-An_Example_Pre_Operation_Plug_in-Writing_the_Plug_in_Example

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?

389 users mailing list

Thread Tools

All times are GMT. The time now is 10:06 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org