A.L.M.Buxey at lboro.ac.uk wrote:
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 itself:
/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
Yuck. That assert can simply be deleted.
Alan DeKok.
Hi Alan, pls. give me a little hint, what exact can be deleted ? -- Thoralf Freitag Manager Health Services System Administration Phone: +49 (0) 30 68905-4611 Cellular:+49 (0) 151 1631-4611 Fax: +49 (0) 30 68905-2940 Mail: Thoralf.Freitag@biotronik.com www.biotronik.com BIOTRONIK GmbH & Co. KG Woermannkehre 1, 12359 Berlin, Germany Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRA 6501 Vertreten durch ihre Komplementärin: BIOTRONIK Mess- und Therapiegeräte GmbH Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRB 2918 Geschäftsführer: Dr. Max Schaldach, Christoph Böhmer, Dr. Werner Braun, Dr. Lothar Krings This email and the information it contains including attachments are confidential and meant only for use by the intended recipient(s); disclosure or copying is strictly prohibited. If you are not addressed, but in the possession of this email, please notify the sender immediately and delete the document.
thoralf.freitag@biotronik.com wrote:
/>>/ listen.c:99:1: directives may not be used inside a macro argument/
Yuck. That assert can simply be deleted.
... pls. give me a little hint, what exact can be deleted ?
Read "listen.c". Go to line 99. See that it contains the word "assert". Delete the entire text, all the way to the closing ")". Alan DeKok.
I comment out these lines in src/main/listen.c: /* rad_assert((listener->type == RAD_LISTEN_AUTH) #ifdef WITH_STATS || (listener->type == RAD_LISTEN_NONE) #endif #ifdef WITH_ACCOUNTING || (listener->type == RAD_LISTEN_ACCT) #endif #ifdef WITH_VMPS || (listener->type == RAD_LISTEN_VQP) #endif #ifdef WITH_DHCP || (listener->type == RAD_LISTEN_DHCP) #endif ); */ Hope that is OK. And all works without these lines ? -- Thoralf Freitag Manager Health Services System Administration Phone: +49 (0) 30 68905-4611 Cellular:+49 (0) 151 1631-4611 Fax: +49 (0) 30 68905-2940 Mail: Thoralf.Freitag@biotronik.com From: Alan DeKok <aland@deployingradius.com> To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Date: 25.11.08 14:54 Subject: Re: failure to compile 2.1.1 on Redhat ES3 Sent by: freeradius-users-bounces+thoralf.freitag=biotronik.com@lists.freeradius.org thoralf.freitag@biotronik.com wrote:
/>>/ listen.c:99:1: directives may not be used inside a macro argument/
Yuck. That assert can simply be deleted.
... pls. give me a little hint, what exact can be deleted ?
Read "listen.c". Go to line 99. See that it contains the word "assert". Delete the entire text, all the way to the closing ")". Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html www.biotronik.com BIOTRONIK GmbH & Co. KG Woermannkehre 1, 12359 Berlin, Germany Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRA 6501 Vertreten durch ihre Komplementärin: BIOTRONIK Mess- und Therapiegeräte GmbH Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRB 2918 Geschäftsführer: Dr. Max Schaldach, Christoph Böhmer, Dr. Werner Braun, Dr. Lothar Krings This email and the information it contains including attachments are confidential and meant only for use by the intended recipient(s); disclosure or copying is strictly prohibited. If you are not addressed, but in the possession of this email, please notify the sender immediately and delete the document.
participants (2)
-
Alan DeKok -
thoralf.freitag@biotronik.com