From: Peng Yu <pen...@gm...> - 2011-10-26 16:10:04
|
Hi, I'm following the instruction at http://wiki.python.org/jython/ReadlineSetup to install java-readline. After the step "vi Makefile#or whatever editor you prefer to fix OS_FLAVOR", I run make. But it gives me the following error. Does anybody know what the problem is? .... make TG=JavaReadline lib javah -classpath ../../build -jni org.gnu.readline.Readline touch org_gnu_readline_Readline.h gcc -I/sw/include -I /System/Library/Frameworks/JavaVM.framework/Headers -I -fPIC -DPOSIX -DJavaReadline \ -c org_gnu_readline_Readline.c org_gnu_readline_Readline.c:96: error: ‘rl_gnu_readline_p’ undeclared here (not in a function) org_gnu_readline_Readline.c:97: error: ‘rl_readline_state’ undeclared here (not in a function) org_gnu_readline_Readline.c:98: error: ‘rl_editing_mode’ undeclared here (not in a function) org_gnu_readline_Readline.c:99: error: ‘rl_insert_mode’ undeclared here (not in a function) org_gnu_readline_Readline.c:102: error: ‘rl_mark’ undeclared here (not in a function) org_gnu_readline_Readline.c:103: error: ‘rl_done’ undeclared here (not in a function) org_gnu_readline_Readline.c:104: error: ‘rl_pending_input’ undeclared here (not in a function) org_gnu_readline_Readline.c:105: error: ‘rl_dispatching’ undeclared here (not in a function) org_gnu_readline_Readline.c:106: error: ‘rl_explicit_arg’ undeclared here (not in a function) org_gnu_readline_Readline.c:107: error: ‘rl_numeric_arg’ undeclared here (not in a function) org_gnu_readline_Readline.c:108: error: ‘rl_erase_empty_line’ undeclared here (not in a function) ..... -- Regards, Peng |