Problems compiling cyrus-sasl-2.1.22 for Solaris 10 with gcc
fredrik.pettai at vattenfall.com
fredrik.pettai at vattenfall.com
Tue Jun 13 08:28:41 EDT 2006
In a previous post, I explained that I had problems getting a
precompiled cyrus-sasl to work for solaris.
I though it would be good to try compiling a newer version of
cyrus-sasl, to see if that would work better.
Unfortunately, It didn't go that well... cyrus-sasl reports errors
during compilation on Solaris 10 (sparc) then I'm trying to compile it
with the included gcc in solaris (below the gcc version output).
solaris10 # gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured with:
/gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
And the error compilation stops at, is the following:
(both Solaris make and GNU make fails...)
gmake[3]: Entering directory `/var/tmp/cyrus-sasl-2.1.22/saslauthd'
if gcc -DHAVE_CONFIG_H
-DSASLAUTHD_CONF_FILE_DEFAULT=\"/usr/etc/saslauthd.conf\" -I. -I. -I..
-I. -I. -I. -I./include -I./include -I./../include
-I/usr/sfw/lib/include -I/usr/sfw/include -L/usr/sfw/lib
-I/opt/sfw/include -L/opt/sfw/lib -MT auth_getpwent.o -MD -MP -MF
".deps/auth_getpwent.Tpo" \
-c -o auth_getpwent.o `test -f 'auth_getpwent.c' || echo
'./'`auth_getpwent.c; \
then mv ".deps/auth_getpwent.Tpo" ".deps/auth_getpwent.Po"; \
else rm -f ".deps/auth_getpwent.Tpo"; exit 1; \
fi
In file included from auth_getpwent.c:53:
/usr/include/crypt.h:36: error: syntax error before '(' token
/usr/include/crypt.h:36: error: syntax error before "const"
gmake[3]: *** [auth_getpwent.o] Error 1
gmake[3]: Leaving directory `/var/tmp/cyrus-sasl-2.1.22/saslauthd'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/var/tmp/cyrus-sasl-2.1.22/saslauthd'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/cyrus-sasl-2.1.22'
gmake: *** [all] Error 2
Any clues?
TIA,
/P
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.andrew.cmu.edu/mailman/private/cyrus-sasl/attachments/20060613/68894339/attachment.html
More information about the Cyrus-sasl
mailing list