Hi Bogdan.
Continuing with compilation, this error appeared when compiling LDAP
module:
In file included from ldap_api_fn.c:40:
ldap_api_fn.h:57: error: conflicting types for 'ldap_url_search'
/usr/include/ldap.h:789: error: previous declaration of
'ldap_url_search' was here
ldap_api_fn.h:57: error: conflicting types for 'ldap_url_search'
/usr/include/ldap.h:789: error: previous declaration of
'ldap_url_search' was here
ldap_api_fn.c: In function `ldap_params_search':
ldap_api_fn.c:211: warning: implicit declaration of function
`LDAP_API_ERROR'
In my case, I do not have OpenLDAP libraries installed, but my system
has the LDAP library which is standard on Solaris since Solaris 9.
checking at the manual, I see the declaration on Solaris is:
int *ldap_url_search*(LDAP *ld, char *url,
int attrsonly);
Please, let me know how can we continue.
Regards.
Sergio.
On Dec 12, 2007 4:22 PM, Bogdan-Andrei Iancu < bogdan(a)voice-system.ro>
wrote:
Hi Sergio,
Thanks for the feedback - I'm glad we were able to catch this issue in
last minutes before release :). I also applied your patch for the
Makefile of the carrierroute module.
Regards,
Bogdan
Sergio Gutierrez wrote:
Hi Bogdan.
The compilation so far is going right, with no
warnings;
A modification I did is I installed libconfuse, because for our
particular setup we are interested in exploring the carrierroute
module; I installed at my LOCALBASE, and at compiling the module, it
failed; trying to fix it I added a couple lines to the Makefile of
the
module as indicated at the following diff; I am
not sure if they are
required, but they fixed my problem:
------------------------- BEGIN DIFF
--- Makefile Wed Dec 12 16:05:06 2007
+++ Makefile.saguti Wed Dec 12 16:04:58 2007
@@ -8,7 +8,8 @@
include ../../Makefile.defs
auto_gen=
NAME=carrierroute.so
-LIBS=-lconfuse
+LIBS+=-L$(LOCALBASE)/lib -lconfuse
+DEFS+=-I$(LOCALBASE)/include
include ../../Makefile.modules
------------------------ END DIFF
I will try again the compilation, and I hope to test it too on
Solaris
x86.
Best regards.
Sergio.