Re: HELP: Compile freeradius with C++ module and third party library

2004-05-13 Thread Dave Mason
Hi, My first guess would be to ask if you're calling a C++ method directly from C. You can link a C++ library into Freeradius, but in order to call a C++ method you have to put it inside a C wrapper function. Your code would like something like this: interface.h -- #ifdef

Re: Compile freeradius in C++

2004-04-22 Thread [EMAIL PROTECTED]
Thank you for this input too. I will definitely use it. At 09:20 20/04/2004, you wrote: Hi, I also wrote a C++ module under FreeRadius. Look at this page : http://lists.cistron.nl/archives/freeradius-devel/2004/04/msg1.html Aurélien Magniez Yahoo! Mail : votre e-mail personnel et

Re: Compile freeradius in C++

2004-04-21 Thread [EMAIL PROTECTED]
, you wrote: [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Does anyone know how I could compile freeradius in C++ using g++ instead of gcc ? Why? There's no C++ code in FreeRADIUS, so there's no point in using a C++ compiler. I am writing a module that need to use C++ files that I wish

Re: Compile freeradius in C++

2004-04-20 Thread Aurelien Magniez
Hi, I also wrote a C++ module under FreeRadius. Look at this page : http://lists.cistron.nl/archives/freeradius-devel/2004/04/msg1.html Aurélien Magniez Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! Créez votre Yahoo! Mail

Re: Compile freeradius in C++

2004-04-20 Thread Dave Mason
freeradius in C++ using g++ instead of gcc ? Why? There's no C++ code in FreeRADIUS, so there's no point in using a C++ compiler. I am writing a module that need to use C++ files that I wish I did not need to rewrite... I am not very familiar with the underlying

RE: Compile freeradius in C++

2004-04-20 Thread Htin Hlaing
PROTECTED] On Behalf Of Dave Mason Sent: Tuesday, April 20, 2004 9:27 AM To: freeradius mailing list Subject: Re: Compile freeradius in C++ Hi, I had a similar problem but took a slightly different approach. I had a C++ library that I needed to use from inside an rlm_eap subtype module. Instead

Re: Compile freeradius in C++

2004-04-20 Thread Alan DeKok
Htin Hlaing [EMAIL PROTECTED] wrote: If I write a module which is very specific towards communicating with the proprietary product outside of the FreeRadius, do I need to have the source code for this module available..? If you distribute the binary version to anyone other than yourself (or

Compile freeradius in C++

2004-04-19 Thread [EMAIL PROTECTED]
Hello, Does anyone know how I could compile freeradius in C++ using g++ instead of gcc ? I am not very familiar with the underlying configure mechanism , all i know is to type 'configure' an then 'make' ... many thank's. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list

Re: Compile freeradius in C++

2004-04-19 Thread Alan DeKok
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Does anyone know how I could compile freeradius in C++ using g++ instead of gcc ? Why? There's no C++ code in FreeRADIUS, so there's no point in using a C++ compiler. I am not very familiar with the underlying configure mechanism , all i know

Re: Compile freeradius in C++

2004-04-19 Thread [EMAIL PROTECTED]
At 11:41 19/04/2004, you wrote: [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Does anyone know how I could compile freeradius in C++ using g++ instead of gcc ? Why? There's no C++ code in FreeRADIUS, so there's no point in using a C++ compiler. I am writing a module that need to use C