compile error

Olivier Beytrison olivier at heliosnet.org
Thu Mar 28 10:57:24 CET 2013


On 28.03.2013 10:48, Igor Smitran wrote:
> I am not able to compile from git. It ends with error:
> 
> version.c:71: warning: no previous prototype for 'ssl_version_check'
> version.c: In function 'ssl_version':
> version.c:78: error: expected ';' before '}' token
> gmake[4]: *** [version.lo] Error 1
> gmake[4]: Leaving directory
> `/usr/src/freeradius-git-2.x.x/freeradius-server/src/main'
> gmake[3]: *** [main] Error 2
> gmake[3]: Leaving directory
> `/usr/src/freeradius-git-2.x.x/freeradius-server/src'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory
> `/usr/src/freeradius-git-2.x.x/freeradius-server/src'
> gmake[1]: *** [src] Error 2
> gmake[1]: Leaving directory
> `/usr/src/freeradius-git-2.x.x/freeradius-server'
> make: *** [all] Error 2

Nice catch. Sent a pull request to fix this. In the mean time you can
simply add a ";" at the end of line 78 in src/main/version.c

Btw, are you aware that your are compiling freeradius without ssl
support ? this mean no eap, no tls, ect ?

You should first install the openssl development files before compiling
freeradius

Olivier
-- 

 Olivier Beytrison
 Network & Security Engineer, HES-SO Fribourg
 Mail: olivier at heliosnet.org


More information about the Freeradius-Users mailing list