I Can't compile freeradius2.1.3 with RHEL4

=?gb2312?B?1cXMjQ==?= zhangjiuhu at live.cn
Wed Feb 11 11:16:01 CET 2009


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.olisten.c:99:1: directives may not be used inside a macro argumentlisten.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 oncelisten.c:100: for each function 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 typelisten.c:220: warning: assignment discards qualifiers from pointer target typeIn 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 typegmake[4]: *** [listen.lo] Error 1gmake[4]: Leaving directory `/root/freeradius-server-2.1.3/src/main'gmake[3]: *** [common] Error 2gmake[3]: Leaving directory `/root/freeradius-server-2.1.3/src'gmake[2]: *** [all] Error 2gmake[2]: Leaving directory `/root/freeradius-server-2.1.3/src'gmake[1]: *** [common] Error 2gmake[1]: Leaving directory `/root/freeradius-server-2.1.3'make: *** [all] Error 2
 
 
_________________________________________________________________
讲述中国特色文化,体验不同的节日习俗,快来微软春节搜索!
http://chunjie.live.com/?form=PANER01
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090211/0826381b/attachment.html>


More information about the Freeradius-Users mailing list