You should be able to build the stock source on Linux, using the mingw cross compiler. That will get you a mingw binary. But its a miracle if it works. It will have all kinds of issues, like close() doesn't work on sockets. You need closesocket(), etc. Sent from my iPhone On 2013-07-18, at 9:45 AM, Stefan Winter <stefan.winter@restena.lu> wrote:
Hi,
radiusd.exe: FreeRADIUS Version 2.2.0, for host i686-pc-mingw32, built on Mar 17 2013 at 02:22:49
That's a little surprising. I had spent some time ensuring it built under Mingw. But it shouldn't work like that...
Windows has this nice idea that sockets aren't file descriptors. So the normal Unix code doesn't work. See:
https://github.com/msysgit/git/tree/master/compat
There's a whole host of wrapper functions which are needed.
Which sort of begs the question... where does this Windows port come from? Is it available from somewhere for download or is it something Sergio sits on on his private home server and has no intentions of publicising?
Greetings,
Stefan Winter
-- Stefan WINTER Ingenieur de Recherche Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et de la Recherche 6, rue Richard Coudenhove-Kalergi L-1359 Luxembourg
Tel: +352 424409 1 Fax: +352 422473
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html