Problems compiling cyrus-sasl-2.1.22 for Solaris 10 with gcc

+archive.cyrus-sasl at utdallas.edu +archive.cyrus-sasl at utdallas.edu
Sat Dec 16 11:56:21 EST 2006


-- fredrik.pettai at vattenfall.com said the following on 6/13/06 7:28 AM:
> 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
>

Did you ever get this resolved?

Amos




More information about the Cyrus-sasl mailing list