Hi there I¹m trying to build a rpm for my CentOS 5.2 system. Everything worked fine the first time, but I need to do it again, as I need to include some special rlm-eap-md5 src files in order to make my freeradius to work with Kobil SecOvid (something similar to RSA SecureID).
When I start to comile the rpm, it stops with the following: ---cut--- Making all in rlm_eap_md5... gmake[9]: Entering directory `/home/adieball/rpmbuild/BUILD/freeradius-server-2.1.0/src/modules/rlm_eap/t ypes/rlm_eap_md5' /usr/bin/libtool --mode=compile gcc -O2 -g -march=i386 -mcpu=i686 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/home/adieball/rpmbuild/BUILD/freeradius-server-2.1.0/src -I/home/adieball/rpmbuild/BUILD/freeradius-server-2.1.0/libltdl -I../.. -I../../libeap -c rlm_eap_md5.c mkdir .libs gcc -O2 -g -march=i386 -mcpu=i686 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/home/adieball/rpmbuild/BUILD/freeradius-server-2.1.0/src -I/home/adieball/rpmbuild/BUILD/freeradius-server-2.1.0/libltdl -I../.. -I../../libeap -c rlm_eap_md5.c -fPIC -DPIC -o .libs/rlm_eap_md5.o `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. rlm_eap_md5.c:24:22: error: autoconf.h: No such file or directory rlm_eap_md5.c:31:24: error: rad_assert.h: No such file or directory rlm_eap_md5.c: In function 'md5_initiate': rlm_eap_md5.c:73: warning: implicit declaration of function 'lrad_rand' gmake[9]: *** [rlm_eap_md5.lo] Error 1 gmake[9]: Leaving directory `/home/adieball/rpmbuild/BUILD/freeradius-server-2.1.0/src/modules/rlm_eap/t ypes/rlm_eap_md5' gmake[8]: *** [common] Error 2 gmake[8]: Leaving directory `/home/adieball/rpmbuild/BUILD/freeradius-server-2.1.0/src/modules/rlm_eap/t ypes' gmake[7]: *** [all] Error 2 gmake[7]: Leaving directory `/home/adieball/rpmbuild/BUILD/freeradius-server-2.1.0/src/modules/rlm_eap/t ypes' gmake[6]: *** [common] Error 2 gmake[6]: Leaving directory `/home/adieball/rpmbuild/BUILD/freeradius-server-2.1.0/src/modules/rlm_eap' gmake[5]: *** [common] Error 2 gmake[5]: Leaving directory `/home/adieball/rpmbuild/BUILD/freeradius-server-2.1.0/src/modules' gmake[4]: *** [all] Error 2 gmake[4]: Leaving directory `/home/adieball/rpmbuild/BUILD/freeradius-server-2.1.0/src/modules' gmake[3]: *** [common] Error 2 gmake[3]: Leaving directory `/home/adieball/rpmbuild/BUILD/freeradius-server-2.1.0/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/home/adieball/rpmbuild/BUILD/freeradius-server-2.1.0/src' gmake[1]: *** [common] Error 2 gmake[1]: Leaving directory `/home/adieball/rpmbuild/BUILD/freeradius-server-2.1.0' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.22909 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.22909 (%build) ---cut--- As I'm a total newbie of both systems, I'd like to ask some questions: 1. can anyone see what the real problem is? Are the src files (the replacements) using something which is not available in freeradius 2.x anymore? They say they have tested with 1.x. (I'm currently trying to get information on their support of 2.x) Thanks a lot in advance Andre
smime.p7s
Description: S/MIME cryptographic signature
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html