[Mono-bugs] [Bug 79586][Maj] New - cannot build: undefined reference to `tok_init'

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Oct 5 09:32:17 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by ildar at users.sourceforge.net.

http://bugzilla.ximian.com/show_bug.cgi?id=79586

--- shadow/79586	2006-10-05 09:32:17.000000000 -0400
+++ shadow/79586.tmp.4533	2006-10-05 09:32:17.000000000 -0400
@@ -0,0 +1,46 @@
+Bug#: 79586
+Product: Mono: Debugger
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: cli
+AssignedTo: martin at ximian.com                            
+ReportedBy: ildar at users.sourceforge.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: cannot build: undefined reference to `tok_init'
+
+Description of Problem:
+mono-debugger now has just libedit inside it with no option to build it
+with readline. But editline is incomplete (version 0.30).
+
+Steps to reproduce the problem:
+1. cd mono-debugger-0.30/frontend/libedit/
+2. gcc -shared  .libs/mono-debugger-readline.o .libs/readline.o
+.libs/chared.o .libs/common.o .libs/el.o .libs/emacs.o .libs/fcns.o
+.libs/help.o .libs/hist.o .libs/history.o .libs/key.o .libs/map.o
+.libs/parse.o .libs/prompt.o .libs/read.o .libs/refresh.o .libs/search.o
+.libs/sig.o .libs/term.o .libs/tty.o .libs/vi.o .libs/vis.o .libs/unvis.o
+.libs/strlcpy.o .libs/strlcat.o  -lglib-2.0 -lcurses 
+-Wl,-version-script=./ldscript -Wl,-soname -Wl,libmonodebuggerreadline.so.0
+-Wl,--no-undefined -o .libs/libmonodebuggerreadline.so.0.0.0
+
+Actual Results:
+.libs/readline.o: In function `rl_parse_and_bind':
+readline.c:(.text+0x3d2c): undefined reference to `tok_init'
+readline.c:(.text+0x3d45): undefined reference to `tok_str'
+readline.c:(.text+0x3d70): undefined reference to `tok_end'
+.libs/parse.o: In function `parse_line':
+parse.c:(.text+0x19): undefined reference to `tok_init'
+parse.c:(.text+0x32): undefined reference to `tok_str'
+parse.c:(.text+0x59): undefined reference to `tok_end'
+collect2: ld returned 1 exit status
+
+How often does this happen? 
+always


More information about the mono-bugs mailing list