failure to compile 2.1.1 on Redhat ES3

A.L.M.Buxey at A.L.M.Buxey at
Mon Oct 20 15:40:54 CEST 2008


just tried to compile FR 2.1.1 on a more vintage system
than what I normally find myself on - RedHat ES 3

Theres a compile issue with Python module which didnt
exist on the same platform with 2.0.5 - but I'll ignore
that one for now - the important part is the base daemon

/usr/src/freeradius-server-2.1.1/libtool --mode=compile gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/src/freeradius-server-2.1.1/src -DHOSTINFO=\"i686-pc-linux-gnu\" -DRADIUSD_VERSION=\"2.1.1\"  -DOPENSSL_NO_KRB5  -c listen.c
 gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/src/freeradius-server-2.1.1/src -DHOSTINFO=\"i686-pc-linux-gnu\" -DRADIUSD_VERSION=\"2.1.1\" -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 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 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 `/usr/src/freeradius-server-2.1.1/src/main'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory `/usr/src/freeradius-server-2.1.1/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/src/freeradius-server-2.1.1/src'
gmake[1]: *** [common] Error 2
gmake[1]: Leaving directory `/usr/src/freeradius-server-2.1.1'
make: *** [all] Error 2

$gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-59)

any more info needed?


More information about the Freeradius-Devel mailing list