The line 47 of the file smux.h is:

typedef int (WriteMethod)(int action,
                          u_char  *var_val,
                          u_char   var_val_type,
                          size_t   var_val_len,
                          const unsigned char  *statP,
                          oid     *name,                      <-----------
                          size_t   length);

Thank's
Ronan

On Wed, 5 Jun 2002 14:15:11 -0300
Ronan Lucio <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> I've installed freeradius in two diferent machines
> for tests purpose successfully. Everything has worked fine.
> 
> Now, when I was installing freeradius-0.5 in the real
> radius server, it gave me the follow error compiling freeradius.
> 
> Such machine has livingstone radius server already installed.
> 
> Could anybody tell me what should I do to freeradius-0.5
> compile successfully?
> 
> Thank's a lot,
> Ronan
> -----------------------------------
> 
> gmake[5]: Leaving directory `/usr/src/freeradius-0.5/src/modules/rlm_x99_token' 
>gmake[4]: Leaving directory `/usr/src/freeradius-0.5/src/modules'
> gmake[3]: Leaving directory `/usr/src/freeradius-0.5/src/modules'
> Making all in main...
> gmake[3]: Entering directory `/usr/src/freeradius-0.5/src/main'
> gcc  -g -O2 -pthread -D_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall 
>-D_GNU_SOURCE -DNDEBUG -I../include -I/usr/include/ucd-snmp  -c radiusd.c
> In file included from ../include/radius_snmp.h:26,
>                  from radiusd.c:83:
> ../include/smux.h:47: syntax error before `oid'
> ../include/smux.h:51: syntax error before `oid'
> ../include/smux.h:81: syntax error before `oid'
> ../include/smux.h:88: syntax error before `oid'
> ../include/smux.h:127: syntax error before `['
> ../include/smux.h:130: syntax error before `oid'
> ../include/smux.h:131: syntax error before `oid'
> ../include/smux.h:134: syntax error before `oid'
> ../include/smux.h:135: syntax error before `*'
> ../include/smux.h:135: syntax error before `*'
> ../include/smux.h:135: warning: type defaults to `int' in declaration of 
>`smux_oid_dup'
> ../include/smux.h:135: warning: data definition has no type or storage class
> gmake[3]: *** [radiusd.o] Error 1
> gmake[3]: Leaving directory `/usr/src/freeradius-0.5/src/main'
> gmake[2]: *** [common] Error 1
> gmake[2]: Leaving directory `/usr/src/freeradius-0.5/src'
> gmake[1]: *** [all] Error 2
> gmake[1]: Leaving directory `/usr/src/freeradius-0.5/src'
> gmake: *** [common] Error 1
> *** Error code 2
> 
> Stop in /usr/src/freeradius-0.5.
> 
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
> 

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to