[master] radmin build error with no USE_READLINE (radmin_main_config)

Chaigneau, Nicolas nicolas.chaigneau at capgemini.com
Fri Aug 24 11:14:17 CEST 2018


Hello,


The following is defined within a "#ifdef USE_READLINE" (src/bin/radmin.c)

static main_config_t *radmin_main_config = NULL;

Consequently, radmin doesn't build if this define is not set:


src/bin/radmin.c: In function 'tab_expand_config_thing':
src/bin/radmin.c:518:8: error: 'radmin_main_config' undeclared (first use in this function); did you mean 'main_config'?
   cs = radmin_main_config->root_cs;
        ^~~~~~~~~~~~~~~~~~


I moved "radmin_main_config" out of the ifdef so it would build.


Regards,
Nicolas.

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.




More information about the Freeradius-Devel mailing list