[Modules] mod_auth_xradius won't compile on Solaris 10
Mike Diggins
mike.diggins at mcmaster.ca
Wed Apr 15 11:34:02 EDT 2009
Does anyone know how to get mod_auth_xradius to compile on Solaris 10
Sparc? Configure runs successfully, but make fails:
./configure CC=/usr/sfw/bin/gcc
Configuration summary for mod_auth_xradius:
* mod_auth_xradius version: 0.4.6
* Apache Modules directory: /usr/local/apache2/modules
---
user at nwebrad<src/mod_auth_xradius-0.4.6># make
if /usr/local/apache2/build/libtool --mode=compile /usr/sfw/bin/gcc
-DHAVE_CONFIG_H -I. -I. -I./include -Wall -I./libradius -g -O2
-DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-I/usr/local/apache2/include -I/usr/local/apache2/include
-I/usr/local/apache2/include -g -O2 -MT
mod_auth_xradius_la-mod_auth_xradius.lo -MD -MP -MF
".deps/mod_auth_xradius_la-mod_auth_xradius.Tpo" -c -o
mod_auth_xradius_la-mod_auth_xradius.lo `test -f 'src/mod_auth_xradius.c'
|| echo './'`src/mod_auth_xradius.c; \
then mv -f ".deps/mod_auth_xradius_la-mod_auth_xradius.Tpo"
".deps/mod_auth_xradius_la-mod_auth_xradius.Plo"; else rm -f
".deps/mod_auth_xradius_la-mod_auth_xradius.Tpo"; exit 1; fi
/usr/sfw/bin/gcc -DHAVE_CONFIG_H -I. -I. -I./include -Wall -I./libradius
-g -O2 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-I/usr/local/apache2/include -I/usr/local/apache2/include
-I/usr/local/apache2/include -g -O2 -MT
mod_auth_xradius_la-mod_auth_xradius.lo -MD -MP -MF
.deps/mod_auth_xradius_la-mod_auth_xradius.Tpo -c src/mod_auth_xradius.c
-fPIC -DPIC -o .libs/mod_auth_xradius_la-mod_auth_xradius.o
In file included from src/mod_auth_xradius.c:29:
./libradius/radlib.h:196: error: syntax error before "xrad_cvt_int"
./libradius/radlib.h:196: warning: type defaults to `int' in declaration
of `xrad_cvt_int'
./libradius/radlib.h:196: warning: data definition has no type or storage
class
./libradius/radlib.h:206: error: syntax error before "u_int32_t"
*** Error code 1
make: Fatal error: Command failed for target
`mod_auth_xradius_la-mod_auth_xradius.lo'
-Mike
More information about the Modules
mailing list