I have installed "everything" software packages on RHEL4 update 7,but still can not make freeradius 2.1.3 on it.below is the error message:
...
...
Making all in main...
gmake[4]: Entering directory `/root/freeradius-server-2.1.3/src/main'
/root/freeradius-server-2.1.3/libtool --mode=compile gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/root/freeradius-server-2.1.3/src -DHOSTINFO=\"i686-pc-linux-gnu\" -DRADIUSD_VERSION=\"2.1.3\" -DOPENSSL_NO_KRB5 -c listen.c
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/root/freeradius-server-2.1.3/src -DHOSTINFO=\"i686-pc-linux-gnu\" -DRADIUSD_VERSION=\"2.1.3\" -DOPENSSL_NO_KRB5 -c listen.c -fPIC -DPIC -o .libs/listen.o
listen.c:99:1: directives may not be used inside a macro argument
listen.c:98:54: unterminated argument list invoking macro "rad_assert"
listen.c: In function `client_listener_find':
listen.c:100: `rad_assert' undeclared (first use in this function)
listen.c:100: (Each undeclared identifier is reported only once
listen.c:100: for each functi!
on it appears in.)
listen.c:111: syntax error before ')' token
listen.c:141: warning: passing arg 1 of pointer to function discards qualifiers from pointer target type
listen.c:220: warning: assignment discards qualifiers from pointer target type
In file included from listen.c:1024:
command.c: In function `command_show_client_config':
command.c:805: warning: passing arg 2 of `cf_section2file' discards qualifiers from pointer target type
gmake[4]: *** [listen.lo] Error 1
gmake[4]: Leaving directory `/root/freeradius-server-2.1.3/src/main'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory `/root/freeradius-server-2.1.3/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/root/freeradius-server-2.1.3/src'
gmake[1]: *** [common] Error 2
gmake[1]: Leaving directory `/root/freeradius-server-2.1.3'
make: *** [all] Error 2
更多热辣资讯尽在新版MSN首页! 立刻访问!