Problem compiling netxms-0.2.3 on Gentoo Linux

From: Christoffer Blindheim <netxms_at_DOMAIN_REMOVED>
Date: Wed, 17 Aug 2005 00:50:38 +0200

Hi... experience some problems compiling the newest netxms.

My build stops at every point this following check is done:
Seems like it likes the latter rl_bind_key.

nxadm.cpp:116: error: invalid conversion from `int (*)()' to `int
(*)(int, int)

#if USE_READLINE
    // Initialize readline library if we use it
# if (RL_READLINE_VERSION && RL_VERSION_MAJOR >= 4 && RL_VERSION_MINOR
>= 2) || __FreeBSD__ >= 5
    rl_bind_key('\t', (rl_command_func_t *)rl_insert);
# else
    rl_bind_key('\t', (Function *)rl_insert);
# endif
#endif

Solved this issue temporarly by commenting out all but
   rl_bind_key('\t', (rl_command_func_t *)rl_insert);

The files with this issue
src/server/core/main.cpp
src/server/tools/nxadm.cpp

-- 
Christoffer Blindheim
Received on Wed Aug 17 2005 - 01:50:38 EEST

This archive was generated by hypermail 2.2.0 : Wed Aug 17 2005 - 01:59:07 EEST