cyrus-sasl-2.1.25 compile problems on Solaris 11.1 x86

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am having build problems trying to compile SASL on Solaris 11.1. x86/x64 CPU.

gcc version 4.5 as supplied by Oracle pkg install.

I have compiled a lot of other code on this system, so I don't feel that there is anything wrong with the compiler package install.

Sleepycat - Berkeley DB version 5.3
..............................................

the ./configure completes without error.

I have tried the configure both with this

# ./configure

AND

# ./configure --with-bdb-incdir=/usr/local/BerkeleyDB.5.3/include --with-bdb-libdir=/usr/local/BerkeleyDB.5.3/lib


the results from "make" are identical either way.

below is the results of my make output.

Thanks for any comments or repair suggestions.

Jerry

..............................................






goldfish-bu /usr/local/src/c/cyrus-sasl-2.1.25 352 # gmake
gmake  all-recursive
gmake[1]: Entering directory `/usr/local/src/c/cyrus-sasl-2.1.25'
Making all in include
gmake[2]: Entering directory `/usr/local/src/c/cyrus-sasl-2.1.25/include'
gcc -DHAVE_CONFIG_H -I. -I.. -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT makemd5.o -MD -MP -MF .deps/makemd5.Tpo -c -o makemd5.o makemd5.c
mv -f .deps/makemd5.Tpo .deps/makemd5.Po
/bin/sh ../libtool --mode=link gcc -Wall -W -g -O2 -o makemd5 makemd5.o -lresolv -lresolv -lsocket
mkdir .libs
gcc -Wall -W -g -O2 -o makemd5 makemd5.o -lresolv -lresolv -lsocket
rm -f md5global.h
./makemd5 md5global.h
gmake[2]: Leaving directory `/usr/local/src/c/cyrus-sasl-2.1.25/include'
Making all in sasldb
gmake[2]: Entering directory `/usr/local/src/c/cyrus-sasl-2.1.25/sasldb'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT allockey.lo -MD -MP -MF .deps/allockey.Tpo -c -o allockey.lo allockey.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT allockey.lo -MD -MP -MF .deps/allockey.Tpo -c allockey.c -fPIC -DPIC -o allockey.lo
mv -f .deps/allockey.Tpo .deps/allockey.Plo
/bin/sh ../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 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 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 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 db_berkeley.c:371:6: note: expected 'int (**)(void)' but argument is of type 'int (**)(void *, const char *, const char *, const char **, unsigned int *)'
gmake[2]: *** [db_berkeley.lo] Error 1
gmake[2]: Leaving directory `/usr/local/src/c/cyrus-sasl-2.1.25/sasldb'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/c/cyrus-sasl-2.1.25'
gmake: *** [all] Error 2




[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux