[Date Prev][Date Next] [Chronological] [Thread] [Top]

Problems compiling 2/27/2002 cvs



I have updated via cvs this morning, and attempted to compile. However, the compile dies with the following error:

cc -xO3 -xtarget=native -Xa -xdepend -I../../include -I../../include -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/krb5/include -I/usr/local/ssl/include -c -o oc.o oc.c
cc -xO3 -xtarget=native -Xa -xdepend -I../../include -I../../include -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/krb5/include -I/usr/local/ssl/include -c -o saslauthz.o saslauthz.c
"saslauthz.c", line 491: non-constant initializer: op "U&"
cc: acomp failed for saslauthz.c
make[2]: *** [saslauthz.o] Error 2
make[2]: Leaving directory `/export/ldap/ldap-head/servers/slapd'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/export/ldap/ldap-head/servers'
make: *** [all-common] Error 1
#


Does anyone have ideas on how to fix this problem? I am compiling using Sun Workshop 5.0 (latest patches applied) on Solaris 8 sparc. I have downloaded and installed BerkeleyDB 4.0.X, Cyrus SASL, the MIT Kerberos software and am using the following configure:

CPPFLAGS="-I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/krb5/include -I/usr/local/ssl/include" \
LDFLAGS="-L/usr/local/lib -R/usr/local/lib -L/usr/local/BerkeleyDB/lib -L/usr/local/krb5/lib -R/usr/local/krb5/lib -L/usr/local/ssl/lib" \
CFLAGS="-xO3 -xtarget=native -Xa -xdepend" \
./configure \
--disable-cleartext \
--enable-bdb \
--with-cyrus-sasl \
--with-tls \
--with-kerberos=k5only \
--enable-kpasswd \
--enable-aci \
--enable-lmpasswd \
--enable-syslog \
--enable-referrals


Any help appreciated!

Tony

******************************************************************************
* Anthony Brock                                         abrock@georgefox.edu *
* Director of Network Services                         George Fox University *
******************************************************************************