[OpenSER-Devel] [OpenSER-Users] Preparing the release of OpenSER 1.3 "BlackCat"

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Dec 13 08:55:53 UTC 2007


Hi Sergio,

The ldap related modules were design to use the openLDAP libs, so most 
probably this is the problem.

Regards,
Bogdan

Sergio Gutierrez wrote:
> 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 at voice-system.ro 
> <mailto:bogdan at 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.
>     >
>
>




More information about the Devel mailing list