RLM-EAP-MD5 compilation problem
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
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
First, fix your paths/includes to resolve those dependencies. Then see what can't link. Also, compile against 2.1.1 (it won't fix this, but it's better in many other ways).
On Mon, Sep 29, 2008 at 1:46 PM, Stephen Bowman <sbbowman@gmail.com> wrote:
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
First, fix your paths/includes to resolve those dependencies. Then see what can't link. Also, compile against 2.1.1 (it won't fix this, but it's better in many other ways).
And it goes without saying, you are likely going to have to work out the remaining issues with the author of rlm_eap_md5 to resolve issues against 2.x
Hi Stephen the files mentioned are not in the list of file (not even in the package) which I need to copy to the freeradius sources, which leads me to the thought, that they might haven been part of freeradius 1.x but not available in 2.x anymore, that's why I'm asking Andre -----Ursprüngliche Nachricht----- Von: freeradius-users-bounces+andre.dieball=zycko.de@lists.freeradius.org im Auftrag von Stephen Bowman Gesendet: Mo 29.09.2008 19:47 An: FreeRadius users mailing list Betreff: Re: RLM-EAP-MD5 compilation problem On Mon, Sep 29, 2008 at 1:46 PM, Stephen Bowman <sbbowman@gmail.com> wrote: 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 First, fix your paths/includes to resolve those dependencies. Then see what can't link. Also, compile against 2.1.1 (it won't fix this, but it's better in many other ways). And it goes without saying, you are likely going to have to work out the remaining issues with the author of rlm_eap_md5 to resolve issues against 2.x ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
On Mon, Sep 29, 2008 at 2:44 PM, Andre Dieball <andre.dieball@zycko.de>wrote:
Hi Stephen
the files mentioned are not in the list of file (not even in the package) which I need to copy to the freeradius sources, which leads me to the thought, that they might haven been part of freeradius 1.x but not available in 2.x anymore, that's why I'm asking
Andre
They are in the FreeRadius source (src/include). I'm not sure I understand what you're saying?
hi Stephen I've seen it. Just check the src of the original 1.x, the 2.x and the modified version and have seen differences apart from some path setting, not sure what they do. I'll need to wait until the developer gets back to me :-( Thanks Andre -----Ursprüngliche Nachricht----- Von: freeradius-users-bounces+andre.dieball=zycko.de@lists.freeradius.org im Auftrag von Stephen Bowman Gesendet: Mo 29.09.2008 21:09 An: FreeRadius users mailing list Betreff: Re: RLM-EAP-MD5 compilation problem On Mon, Sep 29, 2008 at 2:44 PM, Andre Dieball <andre.dieball@zycko.de> wrote: Hi Stephen the files mentioned are not in the list of file (not even in the package) which I need to copy to the freeradius sources, which leads me to the thought, that they might haven been part of freeradius 1.x but not available in 2.x anymore, that's why I'm asking Andre They are in the FreeRadius source (src/include). I'm not sure I understand what you're saying? ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Andre Dieball wrote:
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).
So... you edited the source code, and broke it. Don't do that. It also looks like you're trying to use source code from 1.1.x with the newer 2.1.x version. That won't work. I would suggest asking the author of the source code to upgrade it so that it works with 2.x. Alan DeKok.
participants (3)
-
Alan DeKok -
Andre Dieball -
Stephen Bowman