tir, 08.06.2004 kl. 05.13 skrev Sam Varshavchik:
RedHat RHEL3 / gcc3.2. Unfortunately:
Compiling mdldapconfig.c
mdldapconfig.c: In function `get_ldap_config':
mdldapconfig.c:124: warning: no return statement in function returning
non-void
mdldapconfig.c:124: warning: control reaches end of non-void function
mdldapconfig.c: At top level:
mdldapconfig.c:126: warning: type defaults to `int' in declaration of
`free'
mdldapconfig.c:126: warning: parameter names (without types) in function
declaration
mdldapconfig.c:126: conflicting types for `free'
/usr/include/stdlib.h:569: previous declaration of `free'
mdldapconfig.c:126: warning: data definition has no type or storage
class
mdldapconfig.c:127: warning: type defaults to `int' in declaration of
`free'
mdldapconfig.c:127: warning: parameter names (without types) in function
declaration
mdldapconfig.c:127: warning: data definition has no type or storage
class
mdldapconfig.c:128: warning: type defaults to `int' in declaration of
`free'
mdldapconfig.c:128: warning: parameter names (without types) in function
declaration
mdldapconfig.c:128: warning: data definition has no type or storage
class
mdldapconfig.c:130: syntax error before "return"
make[2]: *** [mdldapconfig.o] Error 1
make[2]: Leaving directory
`/u/uxinstl/courier/maildrop-1.6.3.20040607/maildrop'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/u/uxinstl/courier/maildrop-1.6.3.20040607/maildrop'
make: *** [all-recursive] Error 1
_________________________________________________________________
CPPFLAGS="-I/usr/local/include" \ (ldap.h)
LDFLAGS="-L/usr/local/lib -lldap -llber" \
./configure \
--enable-maildirquota \
--enable-maildropldap \
--enable-maildrop-uid=root \
--enable-maildrop-gid=mail \
--with-db=db \
--enable-syslog=1 \
--enable-trusted-users='root postfix vmail' \
--disable-maildropmysql
--Tonni
We make out of the quarrel with others rhetoric
but out of the quarrel with ourselves, poetry.