In some email I received from "Ron McIntyre" <[EMAIL PROTECTED]> on Sun, 20 Oct 2002 08:21:15 -0400 :
> I've had a qmail install based on the instructions inf Life with > Qmail-LDAP working very well for a few weeks now, but I can't get the > checkpassword, and then the smtp-auth patch after it, to build...it > always fails with the same error -- > > checkpassword.o(.text+0xba9): undefined reference to > `qldap_objectclass' checkpassword.o(.text+0xbbb): undefined reference > to `stralloc_cats' checkpassword.o(.text+0xbd0): undefined reference > to `stralloc_append' checkpassword.o(.text+0xbdd): undefined reference > to `qldap_errno' checkpassword.o: In function `free_stralloc': > checkpassword.o(.text+0xc11): undefined reference to `alloc_free' > collect2: ld returned 1 exit status > make: *** [checkpassword] Error 1 Looks like a header is missing? check all dependencies (especially header files definisions) start with doing a 'grep -ir "qldap_objectclass" * ' in the qmail-ldap src tree dir. FYI qldap_objectclass is in checkpassword.c:48 stralloc_cats is in stralloc.h:13 stralloc_append is in stralloc.h:16 qldap_errno is in qldap_errno.h:5 free_starlloc is in checkpassword.c However it looks like it doesnt want to link.. Claudio might give you a better solution. > > > I've tried searching around and emailing the guys at n-r-g, but can't > get an answer. I figure I'm missing a library somewhere or something, > because I can't get it to build either on RedHat (7.2, 7.3, 6.1, > doesn't matter) or OpenBSD 3.1 -- I get the same error. > > If anyone could guide me to building this, or even just send me a > binary of the checkpassword from a Linux 7.2 build it would be > greatly, greatly appreciated. The auth_smtp part seems to build fine, > but without checkpassword it won't slap my directory :( you need qmail-1.03.tgz, unpack & apply the patch. It works for me on *BSD. > > It's gotta be something simple that I just can't see double check your src tree. > > Thank you in advance HTH, HAND. cheers, -lk ---- Lou Kamenov [EMAIL PROTECTED] [EMAIL PROTECTED] FreeBSD BGUG http://www.freebsd-bg.org http://www.aeye.net Key Fingerprint - 936F F64A AD50 2D27 07E7 6629 F493 95AE A297 084A It`s a free ride when you`ve already paid.
