From: Alex P. <ale...@ci...> - 2005-02-18 17:51:31
|
I have progress: The next don't give any compilation errors anymore: #ifdef USE_SOURCE_NAGIOS #define KEYWORD_APPLICATION N_("Nagios") #define KEYWORD_HOST N_("Host") #define KEYWORD_SERVICE N_("Title") #elif defined USE_SOURCE_ASNMTAP #define KEYWORD_APPLICATION N_("ASNMTAP") #define KEYWORD_HOST N_("Plugin") #define KEYWORD_SERVICE N_("Unique Key") #endif #ifdef USE_SOURCE_NAGIOS showHeader(_("Deletion Policies for Hosts"), ""); #elif defined USE_SOURCE_ASNMTAP showHeader(_("Deletion Policies for Plugins"), ""); #endif The problem is that USE_SOURCE_ASNMTAP is not set by --with-data-source=nagios|asnmtap If I change config.h /* Data Source is ASNMTAP */ /* #undef USE_SOURCE_ASNMTAP */ /* Data Source is Nagios */ #define USE_SOURCE_NAGIOS 1 with /* Data Source is ASNMTAP */ /* #undef USE_SOURCE_ASNMTAP */ #define USE_SOURCE_ASNMTAP 1 /* Data Source is Nagios */ /* #define USE_SOURCE_NAGIOS 1 */ then it works for me, because if force everthing for asnmtap -- Alex -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005 |