I compile Qmail + LDAP & works fine but I have problems to compile the software "checkpassword". I need this software for use {SHA1} encription of my MTA Post.Office. I want to migration Post.Office to Qmail.
This is my error.
caos:/usr/local/src/qmail-1.03# make checkpassword ./compile -I/usr/local/include checkpassword.c checkpassword.c: In function `main': checkpassword.c:84: warning: return type of `main' is not `int' cc checkpassword.o -o checkpassword checkpassword.o: In function `main': checkpassword.o(.text+0xc2): undefined reference to `auth_init' checkpassword.o(.text+0xf8): undefined reference to `qldap_errno' checkpassword.o(.text+0x10f): undefined reference to `auth_fail' checkpassword.o(.text+0x132): undefined reference to `init_ldap' checkpassword.o(.text+0x1be): undefined reference to `qldap_errno' checkpassword.o(.text+0x206): undefined reference to `auth_fail' checkpassword.o(.text+0x228): undefined reference to `auth_success' checkpassword.o: In function `check_ldap': checkpassword.o(.text+0x2cd): undefined reference to `qldap_open' checkpassword.o(.text+0x2e9): undefined reference to `qldap_lookup' checkpassword.o(.text+0x2f0): undefined reference to `qldap_close' checkpassword.o(.text+0x32b): undefined reference to `qldap_errno' checkpassword.o(.text+0x34a): undefined reference to `scan_ulong' checkpassword.o(.text+0x358): undefined reference to `scan_ulong' checkpassword.o(.text+0x37f): undefined reference to `stralloc_copys' checkpassword.o(.text+0x39e): undefined reference to `stralloc_copys' checkpassword.o(.text+0x3bb): undefined reference to `sanitypathcheckb' checkpassword.o(.text+0x3ce): undefined reference to `stralloc_copys' checkpassword.o(.text+0x3e4): undefined reference to `sanitypathcheckb' checkpassword.o(.text+0x400): undefined reference to `qldap_errno' checkpassword.o(.text+0x41c): undefined reference to `stralloc_append' checkpassword.o(.text+0x434): undefined reference to `stralloc_append' checkpassword.o(.text+0x441): undefined reference to `qldap_errno' checkpassword.o(.text+0x45a): undefined reference to `alloc_free' checkpassword.o(.text+0x465): undefined reference to `alloc_free' checkpassword.o(.text+0x473): undefined reference to `alloc_free' checkpassword.o(.text+0x486): undefined reference to `alloc_free' checkpassword.o(.text+0x499): undefined reference to `alloc_free' checkpassword.o(.text+0x4d6): undefined reference to `qldap_errno' checkpassword.o(.text+0x501): undefined reference to `qldap_errno' checkpassword.o(.text+0x549): undefined reference to `ldap_value_free' checkpassword.o: In function `check_passwd': checkpassword.o(.text+0x591): undefined reference to `qldap_errno' checkpassword.o(.text+0x5bb): undefined reference to `stralloc_copys' checkpassword.o(.text+0x5c8): undefined reference to `qldap_errno' checkpassword.o(.text+0x613): undefined reference to `stralloc_append' checkpassword.o(.text+0x620): undefined reference to `qldap_errno' checkpassword.o(.text+0x629): undefined reference to `auth_error' checkpassword.o: In function `cmp_passwd': checkpassword.o(.text+0x690): undefined reference to `str_diffn' checkpassword.o(.text+0x6b4): undefined reference to `crypt' checkpassword.o(.text+0x6be): undefined reference to `str_copy' checkpassword.o(.text+0x6dc): undefined reference to `str_diffn' checkpassword.o(.text+0x6ff): undefined reference to `str_len' checkpassword.o(.text+0x70c): undefined reference to `MD4DataBase64' checkpassword.o(.text+0x721): undefined reference to `str_diffn' checkpassword.o(.text+0x744): undefined reference to `str_len' checkpassword.o(.text+0x751): undefined reference to `MD5DataBase64' checkpassword.o(.text+0x76c): undefined reference to `str_diffn' checkpassword.o(.text+0x786): undefined reference to `str_len' checkpassword.o(.text+0x79e): undefined reference to `byte_copy' checkpassword.o(.text+0x7b3): undefined reference to `ns_mta_hash_alg' checkpassword.o(.text+0x7c1): undefined reference to `qldap_errno' checkpassword.o(.text+0x7db): undefined reference to `byte_copy' checkpassword.o(.text+0x7f0): undefined reference to `str_diffn' checkpassword.o(.text+0x813): undefined reference to `str_len' checkpassword.o(.text+0x820): undefined reference to `SHA1DataBase64' checkpassword.o(.text+0x832): undefined reference to `str_diffn' checkpassword.o(.text+0x83f): undefined reference to `qldap_errno' checkpassword.o(.text+0x869): undefined reference to `str_len' checkpassword.o(.text+0x876): undefined reference to `RMD160DataBase64' checkpassword.o(.text+0x8b0): undefined reference to `crypt' checkpassword.o(.text+0x8db): undefined reference to `crypt' checkpassword.o(.text+0x8e2): undefined reference to `str_diff' checkpassword.o(.text+0x8ec): undefined reference to `qldap_errno' checkpassword.o: In function `get_local_maildir': checkpassword.o(.text+0x93d): undefined reference to `stralloc_copy' checkpassword.o(.text+0x959): undefined reference to `stralloc_cats' checkpassword.o(.text+0x975): undefined reference to `stralloc_append' checkpassword.o(.text+0x98b): undefined reference to `open_read' checkpassword.o(.text+0x99a): undefined reference to `error_noent' checkpassword.o(.text+0x9cb): undefined reference to `substdio_fdbuf' checkpassword.o(.text+0xa01): undefined reference to `stralloc_copy' checkpassword.o(.text+0xa29): undefined reference to `getln' checkpassword.o(.text+0xae9): undefined reference to `qldap_errno' checkpassword.o: In function `make_filter': checkpassword.o(.text+0xb30): undefined reference to `stralloc_copy' checkpassword.o(.text+0xb44): undefined reference to `escape_forldap' checkpassword.o(.text+0xb5d): undefined reference to `stralloc_copys' checkpassword.o(.text+0xb6e): undefined reference to `qldap_objectclass' checkpassword.o(.text+0xb7f): undefined reference to `stralloc_cats' checkpassword.o(.text+0xb98): undefined reference to `stralloc_cats' checkpassword.o(.text+0xbb1): undefined reference to `stralloc_cats' checkpassword.o(.text+0xbc4): undefined reference to `qldap_objectclass' checkpassword.o(.text+0xbca): undefined reference to `stralloc_cat' checkpassword.o(.text+0xbe3): undefined reference to `stralloc_cats' checkpassword.o(.text+0xbfc): undefined reference to `stralloc_cats' checkpassword.o(.text+0xc11): undefined reference to `stralloc_cats' checkpassword.o(.text+0xc22): undefined reference to `stralloc_cat' checkpassword.o(.text+0xc37): undefined reference to `stralloc_cats' checkpassword.o(.text+0xc44): undefined reference to `qldap_objectclass' checkpassword.o(.text+0xc55): undefined reference to `stralloc_cats' checkpassword.o(.text+0xc6a): undefined reference to `stralloc_append' checkpassword.o(.text+0xc87): undefined reference to `qldap_errno' checkpassword.o: In function `free_stralloc': checkpassword.o(.text+0xca8): undefined reference to `alloc_free' collect2: ld returned 1 exit status make: *** [checkpassword] Error 1
Thanks very much. JL
