Hi folks,

I'm trying to build Courier-IMAP 1.4.6 on a Sun box, but make fails when
trying to build something ldap related. Can anyone suggest a reason why?

The system is: SunOS hermes 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-4.

I have installed the OpenLDAP 2.0.7 package in an attempt to resolve this
problem, but it didn't help.

Output from make follows. I apologise for the length of it, but I don't know
which bits are significant and which aren't.

Many thanks in advance,

Jason Mann



[hermes] /export/home/jmann/courier-imap-1.4.6 % make
Making all in numlib
make[1]: Entering directory `/export/home/jmann/courier-imap-1.4.6/numlib'
make[1]: Leaving directory `/export/home/jmann/courier-imap-1.4.6/numlib'
Making all in gdbmobj
make[1]: Entering directory `/export/home/jmann/courier-imap-1.4.6/gdbmobj'
make[1]: Leaving directory `/export/home/jmann/courier-imap-1.4.6/gdbmobj'
Making all in soxwrap
make[1]: Entering directory `/export/home/jmann/courier-imap-1.4.6/soxwrap'
make[1]: Leaving directory `/export/home/jmann/courier-imap-1.4.6/soxwrap'
Making all in unicode
make[1]: Entering directory `/export/home/jmann/courier-imap-1.4.6/unicode'
make[1]: Leaving directory `/export/home/jmann/courier-imap-1.4.6/unicode'
Making all in rfc822
make[1]: Entering directory `/export/home/jmann/courier-imap-1.4.6/rfc822'
make[1]: Leaving directory `/export/home/jmann/courier-imap-1.4.6/rfc822'
Making all in rfc1035
make[1]: Entering directory `/export/home/jmann/courier-imap-1.4.6/rfc1035'
make[1]: Leaving directory `/export/home/jmann/courier-imap-1.4.6/rfc1035'
Making all in rfc2045
make[1]: Entering directory `/export/home/jmann/courier-imap-1.4.6/rfc2045'
make[1]: Leaving directory `/export/home/jmann/courier-imap-1.4.6/rfc2045'
Making all in random128
make[1]: Entering directory
`/export/home/jmann/courier-imap-1.4.6/random128'
make[1]: Leaving directory `/export/home/jmann/courier-imap-1.4.6/random128'
Making all in md5
make[1]: Entering directory `/export/home/jmann/courier-imap-1.4.6/md5'
make[1]: Leaving directory `/export/home/jmann/courier-imap-1.4.6/md5'
Making all in sha1
make[1]: Entering directory `/export/home/jmann/courier-imap-1.4.6/sha1'
make[1]: Leaving directory `/export/home/jmann/courier-imap-1.4.6/sha1'
Making all in liblock
make[1]: Entering directory `/export/home/jmann/courier-imap-1.4.6/liblock'
make[1]: Leaving directory `/export/home/jmann/courier-imap-1.4.6/liblock'
Making all in maildir
make[1]: Entering directory `/export/home/jmann/courier-imap-1.4.6/maildir'
make[1]: Leaving directory `/export/home/jmann/courier-imap-1.4.6/maildir'
Making all in makedat
make[1]: Entering directory `/export/home/jmann/courier-imap-1.4.6/makedat'
make[1]: Leaving directory `/export/home/jmann/courier-imap-1.4.6/makedat'
Making all in libhmac
make[1]: Entering directory `/export/home/jmann/courier-imap-1.4.6/libhmac'
make[1]: Leaving directory `/export/home/jmann/courier-imap-1.4.6/libhmac'
Making all in userdb
make[1]: Entering directory `/export/home/jmann/courier-imap-1.4.6/userdb'
make[1]: Leaving directory `/export/home/jmann/courier-imap-1.4.6/userdb'
Making all in authlib
make[1]: Entering directory `/export/home/jmann/courier-imap-1.4.6/authlib'
gcc -DHAVE_CONFIG_H -I. -I. -I.     -I/var/vpopmail/include -g -O2 -Wall -I.
. -I./.. -c authldaplib.c
authldaplib.c:209: parse error before `*'
authldaplib.c: In function `authldap_read_config':
authldaplib.c:322: `LDAP_PORT' undeclared (first use in this function)
authldaplib.c:322: (Each undeclared identifier is reported only once
authldaplib.c:322: for each function it appears in.)
authldaplib.c:410: `LDAP_DEREF_NEVER' undeclared (first use in this
function)
authldaplib.c:419: `LDAP_DEREF_SEARCHING' undeclared (first use in this
function)
authldaplib.c:421: `LDAP_DEREF_FINDING' undeclared (first use in this
function)
authldaplib.c:423: `LDAP_DEREF_ALWAYS' undeclared (first use in this
function)
authldaplib.c: At top level:
authldaplib.c:447: parse error before `*'
authldaplib.c: In function `copy_value':
authldaplib.c:451: warning: implicit declaration of function
`ldap_get_values'
authldaplib.c:451: `ld' undeclared (first use in this function)
authldaplib.c:451: `entry' undeclared (first use in this function)
authldaplib.c:451: `attribut' undeclared (first use in this function)
authldaplib.c:451: warning: assignment makes pointer from integer without a
cast
authldaplib.c:456: warning: implicit declaration of function
`ldap_result2error'
authldaplib.c:457: `LDAP_DECODING_ERROR' undeclared (first use in this
function)
authldaplib.c:459: warning: implicit declaration of function `ldap_perror'
authldaplib.c:465: `copy' undeclared (first use in this function)
authldaplib.c:469: warning: implicit declaration of function
`ldap_count_values'
authldaplib.c:475: `username' undeclared (first use in this function)
authldaplib.c:490: warning: implicit declaration of function
`ldap_value_free'
authldaplib.c: At top level:
authldaplib.c:494: parse error before `*'
authldaplib.c:494: warning: type defaults to `int' in declaration of
`my_ldap_fp'
authldaplib.c:494: warning: data definition has no type or storage class
authldaplib.c: In function `authldapclose':
authldaplib.c:500: warning: implicit declaration of function `ldap_unbind'
authldaplib.c: In function `ldaperror':
authldaplib.c:510: warning: implicit declaration of function `NAME_ERROR'
authldaplib.c: At top level:
authldaplib.c:523: parse error before `*'
authldaplib.c:567: parse error before `*'
authldaplib.c:568: warning: return-type defaults to `int'
authldaplib.c: In function `ldapconnect':
authldaplib.c:569: `LDAP' undeclared (first use in this function)
authldaplib.c:569: `p' undeclared (first use in this function)
authldaplib.c:569: warning: statement with no effect
authldaplib.c:580: warning: implicit declaration of function `ldap_init'
authldaplib.c:599: warning: control reaches end of non-void function
authldaplib.c: In function `ldapopen':
authldaplib.c:648: warning: implicit declaration of function
`ldap_simple_bind_s'
authldaplib.c:650: `LDAP_SUCCESS' undeclared (first use in this function)
authldaplib.c:652: warning: implicit declaration of function
`ldap_err2string'
authldaplib.c:652: warning: initialization makes pointer from integer
without a cast
authldaplib.c:603: warning: `ldrc' might be used uninitialized in this
function
authldaplib.c: In function `auth_ldap_do2':
authldaplib.c:734: `LDAPMessage' undeclared (first use in this function)
authldaplib.c:734: `result' undeclared (first use in this function)
authldaplib.c:734: `entry' undeclared (first use in this function)
authldaplib.c:734: warning: left-hand operand of comma expression has no
effect
authldaplib.c:735: parse error before `int'
authldaplib.c:764: warning: implicit declaration of function
`ldap_search_st'
authldaplib.c:768: `LDAP_SCOPE_SUBTREE' undeclared (first use in this
function)
authldaplib.c:771: `LDAP_SUCCESS' undeclared (first use in this function)
authldaplib.c:779: `cnt' undeclared (first use in this function)
authldaplib.c:779: warning: implicit declaration of function
`ldap_count_entries'
authldaplib.c:787: warning: implicit declaration of function `ldap_msgfree'
authldaplib.c:792: warning: implicit declaration of function
`ldap_first_entry'
authldaplib.c:803: `v' undeclared (first use in this function)
authldaplib.c:811: `aname' undeclared (first use in this function)
authldaplib.c: In function `auth_ldap_do3':
authldaplib.c:833: `LDAPMessage' undeclared (first use in this function)
authldaplib.c:833: `result' undeclared (first use in this function)
authldaplib.c:833: warning: statement with no effect
authldaplib.c:834: `entry' undeclared (first use in this function)
authldaplib.c:834: warning: statement with no effect
authldaplib.c:835: parse error before `char'
authldaplib.c:851: `hasAdditionalFilter' undeclared (first use in this
function)
authldaplib.c:853: `auth' undeclared (first use in this function)
authldaplib.c:861: `additionalFilter' undeclared (first use in this
function)
authldaplib.c:864: `filter' undeclared (first use in this function)
authldaplib.c:902: `j' undeclared (first use in this function)
authldaplib.c:903: `i' undeclared (first use in this function)
authldaplib.c:912: `LDAP_SCOPE_SUBTREE' undeclared (first use in this
function)
authldaplib.c:915: `LDAP_SUCCESS' undeclared (first use in this function)
authldaplib.c:935: `dn' undeclared (first use in this function)
authldaplib.c:935: warning: implicit declaration of function `ldap_get_dn'
authldaplib.c:960: `homeDir' undeclared (first use in this function)
authldaplib.c:962: `mailDir' undeclared (first use in this function)
authldaplib.c:963: `cn' undeclared (first use in this function)
authldaplib.c:965: `userPassword' undeclared (first use in this function)
authldaplib.c:967: `cryptPassword' undeclared (first use in this function)
authldaplib.c:969: `au' undeclared (first use in this function)
authldaplib.c:970: `ag' undeclared (first use in this function)
authldaplib.c:1004: `quota' undeclared (first use in this function)
authldaplib.c:1023: `rc' undeclared (first use in this function)
authldaplib.c:1037: `LDAP' undeclared (first use in this function)
authldaplib.c:1037: `bindp' undeclared (first use in this function)
authldaplib.c:1055: `LDAP_INVALID_CREDENTIALS' undeclared (first use in this
function)
authldaplib.c:1054: warning: unreachable code at beginning of switch
statement
authldaplib.c:1105: `LDAPMod' undeclared (first use in this function)
authldaplib.c:1105: `mods' undeclared (first use in this function)
authldaplib.c:1105: warning: statement with no effect
authldaplib.c:1106: parse error before `int'
authldaplib.c:1113: `mod_index' undeclared (first use in this function)
authldaplib.c:1113: `mod_clear' undeclared (first use in this function)
authldaplib.c:1114: `LDAP_MOD_REPLACE' undeclared (first use in this
function)
authldaplib.c:1116: `mod_clear_vals' undeclared (first use in this function)
authldaplib.c:1125: `mod_crypt' undeclared (first use in this function)
authldaplib.c:1128: `mod_crypt_vals' undeclared (first use in this function)
authldaplib.c:1140: warning: implicit declaration of function
`ldap_modify_s'
authldaplib.c: At top level:
authldaplib.c:523: warning: `enable_tls_on' defined but not used
make[1]: *** [authldaplib.o] Error 1
make[1]: Leaving directory `/export/home/jmann/courier-imap-1.4.6/authlib'
make: *** [all-recursive] Error 1
[hermes] /export/home/jmann/courier-imap-1.4.6 %




_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to