Re: turning on debugging for Mozilla LDAP CSDK

"Kris" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.directory
Organization http://groups.google.com
Message-ID <[email protected]>
Rich,

I am not exactly sure how to find out the version of everything, but
here are the version string from the tag files:

NNSPR_4_4_1_RTM
TSVRCORE_4_0_RTM
NLDAPCSDK_5_1_5_RTM

On HPUXPA I built if with the following commands:

alias gmake /isv/gnu/bin/make
gmake -C security/nss nss_build_all
cd directory
gmake BUILD_OPT=1 COMPS_FROM_OBJDIR=1 OBJDIR_NAME=HP-UXB.11.11_DBG.OBJ
buildLdapClientSDK
gmake BUILD_OPT=1 COMPS_FROM_OBJDIR=1 OBJDIR_NAME= HP-UXB.
11.11_DBG.OBJ INSTDIR=../../../hpuxpa32 PKG_PRIVATE_HDRS=0
PKG_PRIVATE_LIBS=0 PKG_DEP_LIBS=1 pkgLdapSDK

Thanks for you time,
Kris

On Mar 13, 3:10 pm, Rich Megginson <[email protected]> wrote:
> Kris wrote:
> > Hello,
>
> > Can anyone tell me how to turn on debugging when compiling LDAP CDSK?
>
> > I am trying to debug a core on HP-UX PA when I connect to the
> > Directory server through SSL.  Here is my stack:
>
> What version of the LDAP C SDK?  How did you build it?
>
>
>
> > #0  0xc019b188 in free+0x130 () from /usr/lib/libc.2
> > #1  0xc0162068 in __getipnodebyname_r+0x9b8 () from /usr/lib/libc.2
> > #2  0xc016160c in getipnodebyname+0x94 () from /usr/lib/libc.2
> > #3  0xd52832a8 in PR_GetIPNodeByName (name=0x400bf5b8 "hostname",
> > af=22, flags=56, buf=0x680f0d80 "", bufsize=1024,
> >     hp=0x680f11f8) at ../../../../pr/src/misc/prnetdb.c:871
> > #4  0xc167a3ac in prldap_connect+0x5c () from /dss/users2/takacsk/
> > Research/LDAP/./libprldap50.sl
> > #5  0xc22ef840 in ldapssl_connect+0xac () from /dss/users2/takacsk/
> > Research/LDAP/./libssldap50.sl
> > #6  0xc97aa924 in nsldapi_connect_to_host+0x68 () from /dss/users2/
> > takacsk/Research/LDAP/./libldap50.sl
> > #7  0xc97b020c in nsldapi_new_connection+0x104 () from /dss/users2/
> > takacsk/Research/LDAP/./libldap50.sl
> > #8  0xc97a9ea4 in nsldapi_open_ldap_defconn+0x8c () from /dss/users2/
> > takacsk/Research/LDAP/./libldap50.sl
> > #9  0xc97af1f8 in nsldapi_send_server_request+0x268 () from /dss/
> > users2/takacsk/Research/LDAP/./libldap50.sl
> > #10 0xc97aef08 in nsldapi_send_initial_request+0x3c () from /dss/
> > users2/takacsk/Research/LDAP/./libldap50.sl
> > #11 0xc97b5a20 in nsldapi_search+0x208 () from /dss/users2/takacsk/
> > Research/LDAP/./libldap50.sl
> > #12 0xc97b6d14 in nsldapi_search_s+0x74 () from /dss/users2/takacsk/
> > Research/LDAP/./libldap50.sl
> > #13 0xc97b6bd4 in ldap_search_s+0x40 () from /dss/users2/takacsk/
> > Research/LDAP/./libldap50.sl
> > #14 0x3298 in main (argc=1, argv=0x680f0674) at kris.c:114
>
> > Any help would be appreciated,
>
> > Thanks,
> > Kris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.