<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1528" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hy all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am trying to install freeradius 1.0.5 in a
solaris 8 machine.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>When I run make, I obtain the following
error:</FONT></DIV>
<DIV><FONT face=Arial size=2>...</FONT></DIV>
<DIV><FONT face=Arial size=1>rlm_counter.c:38:18: gdbm.h: No such file or
directory<BR>rlm_counter.c:84: parse error before
"GDBM_FILE"<BR>rlm_counter.c:84: warning: no semicolon at end of struct or
union<BR>rlm_counter.c:88: parse error before '}' token<BR>rlm_counter.c:88:
warning: type defaults to `int' in declaration of
`rlm_counter_t'<BR>rlm_counter.c:88: warning: data definition has no type or
storage class<BR>rlm_counter.c:116: parse error before ')'
token<BR>rlm_counter.c:116: initializer element is not
constant<BR>rlm_counter.c:116: (near initialization for
`module_config[0].offset')<BR>rlm_counter.c:116: warning: missing
initializer<BR>rlm_counter.c:116: warning: (near initialization for
`module_config[0].offset')<BR>rlm_counter.c:116: initializer element is not
constant<BR>rlm_counter.c:116: (near initialization for
`module_config[0]')<BR>rlm_counter.c:117: parse error before ')'
token<BR>rlm_counter.c:117: initializer element is not
constant<BR>rlm_counter.c:117: (near initialization for
`module_config[1].offset')<BR>rlm_counter.c:117: warning: missing
initializer<BR>rlm_counter.c:117: warning: (near initialization for
`module_config[1].offset')<BR>rlm_counter.c:117: initializer element is not
constant<BR>rlm_counter.c:117: (near initialization for
`module_config[1]')<BR>rlm_counter.c:118: parse error before ')'
token<BR>rlm_counter.c:118: initializer element is not
constant<BR>rlm_counter.c:118: (near initialization for
`module_config[2].offset')<BR>rlm_counter.c:118: warning: missing
initializer<BR>rlm_counter.c:118: warning: (near initialization for
`module_config[2].offset')<BR>rlm_counter.c:118: initializer element is not
constant<BR>rlm_counter.c:118: (near initialization for
`module_config[2]')<BR>rlm_counter.c:119: parse error before ')'
token<BR>rlm_counter.c:119: initializer element is not
constant<BR>rlm_counter.c:119: (near initialization for
`module_config[3].offset')<BR>rlm_counter.c:119: warning: missing
initializer<BR>rlm_counter.c:119: warning: (near initialization for
`module_config[3].offset')<BR>rlm_counter.c:119: initializer element is not
constant<BR>rlm_counter.c:119: (near initialization for
`module_config[3]')<BR>rlm_counter.c:120: parse error before ')'
token<BR>rlm_counter.c:120: initializer element is not
constant<BR>rlm_counter.c:120: (near initialization for
`module_config[4].offset')<BR>rlm_counter.c:120: warning: missing
initializer<BR>rlm_counter.c:120: warning: (near initialization for
`module_config[4].offset')<BR>rlm_counter.c:120: initializer element is not
constant<BR>rlm_counter.c:120: (near initialization for
`module_config[4]')<BR>rlm_counter.c:121: parse error before ')'
token<BR>rlm_counter.c:121: initializer element is not
constant<BR>rlm_counter.c:121: (near initialization for
`module_config[5].offset')<BR>rlm_counter.c:121: warning: missing
initializer<BR>rlm_counter.c:121: warning: (near initialization for
`module_config[5].offset')<BR>rlm_counter.c:121: initializer element is not
constant<BR>rlm_counter.c:121: (near initialization for
`module_config[5]')<BR>rlm_counter.c:122: parse error before ')'
token<BR>rlm_counter.c:122: initializer element is not
constant<BR>rlm_counter.c:122: (near initialization for
`module_config[6].offset')<BR>rlm_counter.c:122: warning: missing
initializer<BR>rlm_counter.c:122: warning: (near initialization for
`module_config[6].offset')<BR>rlm_counter.c:122: initializer element is not
constant<BR>rlm_counter.c:122: (near initialization for
`module_config[6]')<BR>rlm_counter.c:123: parse error before ')'
token<BR>rlm_counter.c:123: initializer element is not
constant<BR>rlm_counter.c:123: (near initialization for
`module_config[7].offset')<BR>rlm_counter.c:123: warning: missing
initializer<BR>rlm_counter.c:123: warning: (near initialization for
`module_config[7].offset')<BR>rlm_counter.c:123: initializer element is not
constant<BR>rlm_counter.c:123: (near initialization for
`module_config[7]')<BR>rlm_counter.c:124: initializer element is not
constant<BR>rlm_counter.c:124: (near initialization for
`module_config[8]')<BR>rlm_counter.c: In function
`counter_cmp':<BR>rlm_counter.c:138: `data' undeclared (first use in this
function)<BR>rlm_counter.c:138: (Each undeclared identifier is reported only
once<BR>rlm_counter.c:138: for each function it appears
in.)<BR>rlm_counter.c:138: parse error before ')' token<BR>rlm_counter.c:139:
`datum' undeclared (first use in this function)<BR>rlm_counter.c:156:
`key_datum' undeclared (first use in this function)<BR>rlm_counter.c:159:
`count_datum' undeclared (first use in this function)<BR>rlm_counter.c:159:
warning: implicit declaration of function `gdbm_fetch'<BR>rlm_counter.c:133:
warning: unused parameter `instance'<BR>rlm_counter.c: At top
level:<BR>rlm_counter.c:171: parse error before '*' token<BR>rlm_counter.c:172:
warning: function declaration isn't a prototype<BR>rlm_counter.c: In function
`add_defaults':<BR>rlm_counter.c:173: `datum' undeclared (first use in this
function)<BR>rlm_counter.c:173: parse error before
"key_datum"<BR>rlm_counter.c:180: `key_datum' undeclared (first use in this
function)<BR>rlm_counter.c:180: warning: cast discards qualifiers from pointer
target type<BR>rlm_counter.c:182: `time_datum' undeclared (first use in this
function)<BR>rlm_counter.c:182: `data' undeclared (first use in this
function)<BR>rlm_counter.c:185: warning: implicit declaration of function
`gdbm_store'<BR>rlm_counter.c:185: `GDBM_REPLACE' undeclared (first use in this
function)<BR>rlm_counter.c:187: warning: implicit declaration of function
`gdbm_strerror'<BR>rlm_counter.c:187: `gdbm_errno' undeclared (first use in this
function)<BR>rlm_counter.c:187: warning: format argument is not a pointer (arg
4)<BR>rlm_counter.c:192: warning: cast discards qualifiers from pointer target
type<BR>rlm_counter.c:199: warning: format argument is not a pointer (arg
4)<BR>rlm_counter.c: At top level:<BR>rlm_counter.c:208: parse error before '*'
token<BR>rlm_counter.c:209: warning: function declaration isn't a
prototype<BR>rlm_counter.c: In function `reset_db':<BR>rlm_counter.c:210: `data'
undeclared (first use in this function)<BR>rlm_counter.c:214: warning: implicit
declaration of function `gdbm_close'<BR>rlm_counter.c:219: warning: implicit
declaration of function `gdbm_open'<BR>rlm_counter.c:220: `GDBM_NEWDB'
undeclared (first use in this function)<BR>rlm_counter.c:226: warning: implicit
declaration of function `gdbm_setopt'<BR>rlm_counter.c:226: `GDBM_CACHESIZE'
undeclared (first use in this function)<BR>rlm_counter.c: At top
level:<BR>rlm_counter.c:242: parse error before '*' token<BR>rlm_counter.c:243:
warning: function declaration isn't a prototype<BR>rlm_counter.c: In function
`find_next_reset':<BR>rlm_counter.c:250: `timeval' undeclared (first use in this
function)<BR>rlm_counter.c:254: `data' undeclared (first use in this
function)<BR>rlm_counter.c: In function
`counter_instantiate':<BR>rlm_counter.c:320: `data' undeclared (first use in
this function)<BR>rlm_counter.c:327: `datum' undeclared (first use in this
function)<BR>rlm_counter.c:327: parse error before
"key_datum"<BR>rlm_counter.c:463: `GDBM_WRCREAT' undeclared (first use in this
function)<BR>rlm_counter.c:470: `GDBM_CACHESIZE' undeclared (first use in this
function)<BR>rlm_counter.c:486: `key_datum' undeclared (first use in this
function)<BR>rlm_counter.c:486: warning: cast discards qualifiers from pointer
target type<BR>rlm_counter.c:489: `time_datum' undeclared (first use in this
function)<BR>rlm_counter.c:507: warning: cast discards qualifiers from pointer
target type<BR>rlm_counter.c:320: warning: statement with no
effect<BR>rlm_counter.c: In function `counter_accounting':<BR>rlm_counter.c:546:
`data' undeclared (first use in this function)<BR>rlm_counter.c:546: parse error
before ')' token<BR>rlm_counter.c:547: `datum' undeclared (first use in this
function)<BR>rlm_counter.c:632: `key_datum' undeclared (first use in this
function)<BR>rlm_counter.c:637: `count_datum' undeclared (first use in this
function)<BR>rlm_counter.c:676: warning: comparison between signed and
unsigned<BR>rlm_counter.c:676: warning: signed and unsigned type in conditional
expression<BR>rlm_counter.c:699: `GDBM_REPLACE' undeclared (first use in this
function)<BR>rlm_counter.c:703: `gdbm_errno' undeclared (first use in this
function)<BR>rlm_counter.c:703: warning: format argument is not a pointer (arg
4)<BR>rlm_counter.c:544: warning: unused parameter `instance'<BR>rlm_counter.c:
In function `counter_authorize':<BR>rlm_counter.c:719: `data' undeclared (first
use in this function)<BR>rlm_counter.c:719: parse error before ')'
token<BR>rlm_counter.c:721: `datum' undeclared (first use in this
function)<BR>rlm_counter.c:721: parse error before
"key_datum"<BR>rlm_counter.c:769: `key_datum' undeclared (first use in this
function)<BR>rlm_counter.c:781: `count_datum' undeclared (first use in this
function)<BR>rlm_counter.c:827: warning: comparison between signed and
unsigned<BR>rlm_counter.c:725: warning: `key_vp' might be used uninitialized in
this function<BR>rlm_counter.c: In function
`counter_detach':<BR>rlm_counter.c:873: `data' undeclared (first use in this
function)<BR>rlm_counter.c:873: parse error before ')' token<BR>make[6]: ***
[rlm_counter.o] Error 1<BR>make[6]: Leaving directory
`/users/telemati/FreeRadius/freeradius-1.0.5/src/modules/rlm_counter'<BR>make[5]:
*** [common] Error 2<BR>make[5]: Leaving directory
`/users/telemati/FreeRadius/freeradius-1.0.5/src/modules'<BR>make[4]: *** [all]
Error 2<BR>make[4]: Leaving directory
`/users/telemati/FreeRadius/freeradius-1.0.5/src/modules'<BR>make[3]: ***
[common] Error 2<BR>make[3]: Leaving directory
`/users/telemati/FreeRadius/freeradius-1.0.5/src'<BR>make[2]: *** [all] Error
2<BR>make[2]: Leaving directory
`/users/telemati/FreeRadius/freeradius-1.0.5/src'<BR>make[1]: *** [common] Error
2<BR>make[1]: Leaving directory
`/users/telemati/FreeRadius/freeradius-1.0.5'<BR>make: *** [all] Error
2</FONT></DIV>
<DIV><FONT face=Arial size=1></FONT> </DIV>
<DIV><FONT face=Arial size=2>It is the first time I use a UNIX machine. How can
I resolve this problem?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thank you very much,</FONT></DIV>
<DIV><FONT face=Arial size=2>Rafa</FONT></DIV></BODY></HTML>