errors when compiling cvs version on Fedora Core 3
I'm trying to compile cvs version of freeradius using attached spec file on Fedora Core 3 (with gcc4), what can cause the following error ? ..... /usr/bin/libtool --mode=compile gcc -O2 -g -march=i386 -mcpu=i686 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -I../../include -I. -c rfcnb-io.c gcc -O2 -g -march=i386 -mcpu=i686 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -I../../include -I. -c rfcnb-io.c -fPIC -DPIC -o .libs/rfcnb-io.o `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. gcc -O2 -g -march=i386 -mcpu=i686 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -I../../include -I. -c rfcnb-io.c -o rfcnb-io.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile gcc -O2 -g -march=i386 -mcpu=i686 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -I../../include -I. -c rfcnb-util.c gcc -O2 -g -march=i386 -mcpu=i686 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -I../../include -I. -c rfcnb-util.c -fPIC -DPIC -o .libs/rfcnb-util.o `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. rfcnb-util.c: In function 'RFCNB_Name_To_IP': rfcnb-util.c:317: error: 'lrad_ipaddr_t' undeclared (first use in this function) rfcnb-util.c:317: error: (Each undeclared identifier is reported only once rfcnb-util.c:317: error: for each function it appears in.) rfcnb-util.c:317: error: syntax error before 'ipaddr' rfcnb-util.c:319: error: 'ipaddr' undeclared (first use in this function) gmake[6]: *** [rfcnb-util.lo] Error 1 gmake[6]: Leaving directory `/usr/src/redhat/BUILD/freeradius-1.1/src/modules/rlm_smb' gmake[5]: *** [common] Error 2 gmake[5]: Leaving directory `/usr/src/redhat/BUILD/freeradius-1.1/src/modules' gmake[4]: *** [all] Error 2 gmake[4]: Leaving directory `/usr/src/redhat/BUILD/freeradius-1.1/src/modules' gmake[3]: *** [common] Error 2 gmake[3]: Leaving directory `/usr/src/redhat/BUILD/freeradius-1.1/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/src/redhat/BUILD/freeradius-1.1/src' gmake[1]: *** [common] Error 2 gmake[1]: Leaving directory `/usr/src/redhat/BUILD/freeradius-1.1' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.69431 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.69431 (%build) Cheers, Ilia Chipitsine
Ilia Chipitsine <ilia@paramon.ru> wrote:
I'm trying to compile cvs version of freeradius using attached spec file on Fedora Core 3 (with gcc4), what can cause the following error ?
The rlm_smb module isn't officially support. I suggest using ntlm_auth, instead. Alan DeKok.
participants (2)
-
Alan DeKok -
Ilia Chipitsine