Bugzilla – Bug 316850
cannot compile using make
Last modified: 2007-09-15 21:24:34 UTC
---- Reported by asergey@iname.com 2005-01-11 09:47:26 MST ---- Please fill in this template when reporting a bug, unless you know what you are doing. Description of Problem: Debugger fails to get build using RedHat: ~/debugger>uname -a Linux stardev1.corp.idt.net 2.6.8.1 #2 SMP Tue Sep 28 16:04:54 EDT 2004 i686 i686 i386 GNU/Linux ~/debugger>cat /etc/redhat-release Red Hat Enterprise Linux ES release 3 (Taroon) ~/debugger>mono --version Mono JIT compiler version 1.1.3, (C) 2002-2004 Novell, Inc and Contributors. www.go-mono.com TLS: __thread GC: Included Boehm (with typed GC) SIGSEGV : normal Globalization: none ~/debugger>make ... /usr/include/readline/history.h:44: redefinition of `struct _hist_entry' /usr/include/readline/history.h:77: conflicting types for `add_history' /usr/local/include/readline/readline.h:94: previous declaration of `add_history' mono-debugger-readline.c: In function `mono_debugger_readline_static_init': mono-debugger-readline.c:26: `rl_catch_signals' undeclared (first use in this function) mono-debugger-readline.c:26: (Each undeclared identifier is reported only once mono-debugger-readline.c:26: for each function it appears in.) mono-debugger-readline.c:27: warning: implicit declaration of function `rl_set_signals' mono-debugger-readline.c: In function `mono_debugger_readline_get_filename_completion_desired': mono-debugger-readline.c:72: `rl_filename_completion_desired' undeclared (first use in this function) mono-debugger-readline.c: In function `mono_debugger_readline_set_filename_completion_desired': mono-debugger-readline.c:78: `rl_filename_completion_desired' undeclared (first use in this function) mono-debugger-readline.c: At top level: mono-debugger-readline.c:82: `completion_matches' redeclared as different kind of symbol /usr/local/include/readline/readline.h:119: previous declaration of `completion_matches' mono-debugger-readline.c:82: warning: `completion_matches' was declared `extern' and later `static' mono-debugger-readline.c: In function `mono_debugger_readline_set_completion_matches': mono-debugger-readline.c:89: `rl_attempted_completion_over' undeclared (first use in this function) mono-debugger-readline.c:99: warning: implicit declaration of function `strdup' mono-debugger-readline.c:99: warning: pointer/integer type mismatch in conditional expression make[2]: *** [mono-debugger-readline.lo] Error 1 make[2]: Leaving directory `/home/serge/debugger/glue' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/serge/debugger' make: *** [all] Error 2 Expected Results: I am expecting it to get compiled without problems How often does this happen? Always. ---- Additional Comments From toshok@ximian.com 2005-03-23 01:01:05 MST ---- this is an installation problem. it's pulling things from 2 separate installs of readline. one in /usr, one in /usr/local. Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>Linux RedHat Ent rel 3 (2.6.8.1)</cf_op_sys_details> Unknown operating system unknown. Setting to default OS "Other".