error while make command

Pramiti Goel pramitigoel20 at gmail.com
Sun Mar 23 13:33:12 EDT 2014


*I* am using Ubuntu 12.04 lts and it is giving me following error.. please
help..

pgkde at pramiti-Latitude-E6500:~/extragear/cyrus-sasl-2.1.25$ make
make  all-recursive
make[1]: Entering directory `/home/pgkde/extragear/cyrus-sasl-2.1.25'
Making all in include
make[2]: Entering directory
`/home/pgkde/extragear/cyrus-sasl-2.1.25/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/pgkde/extragear/cyrus-sasl-2.1.25/include'
Making all in sasldb
make[2]: Entering directory `/home/pgkde/extragear/cyrus-sasl-2.1.25/sasldb'
/bin/bash ../libtool   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..
-I../include -I../include   -DOBSOLETE_CRAM_ATTR=1  -Wall -W -g -O2 -MT
db_berkeley.lo -MD -MP -MF .deps/db_berkeley.Tpo -c -o db_berkeley.lo
db_berkeley.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include
-DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT db_berkeley.lo -MD -MP -MF
.deps/db_berkeley.Tpo -c db_berkeley.c  -fPIC -DPIC -o db_berkeley.lo
db_berkeley.c: In function 'berkeleydb_open':
db_berkeley.c:82:6: warning: passing argument 3 of 'utils->getcallback'
from incompatible pointer type [enabled by default]
db_berkeley.c:82:6: note: expected 'int (**)(void)' but argument is of type
'int (**)(void *, const char *, const char *, const char **, unsigned int
*)'
db_berkeley.c:107:2: warning: passing argument 2 of '(*mbdb)->open' from
incompatible pointer type [enabled by default]
db_berkeley.c:107:2: note: expected 'struct DB_TXN *' but argument is of
type 'const char *'
db_berkeley.c:107:2: warning: passing argument 4 of '(*mbdb)->open' makes
pointer from integer without a cast [enabled by default]
db_berkeley.c:107:2: note: expected 'const char *' but argument is of type
'int'
db_berkeley.c:107:2: error: too few arguments to function '(*mbdb)->open'
db_berkeley.c: In function '_sasl_check_db':
db_berkeley.c:371:6: warning: passing argument 3 of 'utils->getcallback'
from incompatible pointer type [enabled by default]
db_berkeley.c:371:6: note: expected 'int (**)(void)' but argument is of
type 'int (**)(void *, const char *, const char *, const char **, unsigned
int *)'
make[2]: *** [db_berkeley.lo] Error 1
make[2]: Leaving directory `/home/pgkde/extragear/cyrus-sasl-2.1.25/sasldb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pgkde/extragear/cyrus-sasl-2.1.25'
make: *** [all] Error 2
pgkde at pramiti-Latitude-E6500:~/extragear/cyrus-sasl-2.1.25$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/cyrus-sasl/attachments/20140323/2b028520/attachment.html 


More information about the Cyrus-sasl mailing list