From: Phillip M. <pma...@te...> - 2004-10-13 19:29:51
|
When building octave I failed to build octave. Could I get some direction to solve this problem ? gcc -c -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -g -O2 oct-rl-edit.c -o pic/oct-rl-edit.o oct-rl-edit.c: In function `octave_rl_screen_height': oct-rl-edit.c:53: warning: implicit declaration of function `rl_get_screen_size' oct-rl-edit.c: In function `octave_rl_enable_paren_matching': oct-rl-edit.c:68: warning: implicit declaration of function `rl_variable_bind' oct-rl-edit.c: In function `octave_rl_clear_screen': oct-rl-edit.c:92: error: `rl_voidfunc_t' undeclared (first use in this function) oct-rl-edit.c:92: error: (Each undeclared identifier is reported only once oct-rl-edit.c:92: error: for each function it appears in.) oct-rl-edit.c:92: error: `saved_redisplay_function' undeclared (first use in this function) oct-rl-edit.c:92: error: `rl_redisplay_function' undeclared (first use in this function) oct-rl-edit.c: In function `octave_rl_resize_terminal': oct-rl-edit.c:103: warning: implicit declaration of function `rl_resize_terminal' oct-rl-edit.c: In function `octave_rl_restore_terminal_state': oct-rl-edit.c:109: error: `rl_deprep_term_function' undeclared (first use in this function) oct-rl-edit.c:110: error: `rl_deprep_term_function' used prior to declaration oct-rl-edit.c:110: warning: implicit declaration of function `rl_deprep_term_function' oct-rl-edit.c: In function `octave_rl_insert_text': oct-rl-edit.c:116: warning: implicit declaration of function `rl_insert_text' oct-rl-edit.c: In function `octave_rl_clear_undo_list': oct-rl-edit.c:130: warning: implicit declaration of function `rl_free_undo_list' oct-rl-edit.c: In function `octave_rl_set_name': oct-rl-edit.c:139: warning: implicit declaration of function `strlen' oct-rl-edit.c:139: warning: implicit declaration of function `strcpy' oct-rl-edit.c: In function `octave_rl_read_init_file': oct-rl-edit.c:184: warning: implicit declaration of function `rl_read_init_file' oct-rl-edit.c: In function `octave_rl_filename_completion_desired': oct-rl-edit.c:192: error: `rl_filename_completion_desired' undeclared (first use in this function) oct-rl-edit.c: In function `octave_rl_filename_completion_function': oct-rl-edit.c:200: warning: implicit declaration of function `rl_filename_completion_function' oct-rl-edit.c:200: warning: return makes pointer from integer without a cast oct-rl-edit.c: In function `octave_rl_set_basic_quote_characters': oct-rl-edit.c:224: error: `rl_basic_quote_characters' undeclared (first use in this function) oct-rl-edit.c: In function `octave_rl_set_completion_append_character': oct-rl-edit.c:230: error: `rl_completion_append_character' undeclared (first use in this function) oct-rl-edit.c: In function `octave_rl_completion_matches': oct-rl-edit.c:266: warning: implicit declaration of function `rl_completion_matches' oct-rl-edit.c:266: warning: return makes pointer from integer without a cast oct-rl-edit.c: In function `octave_rl_prompt_start_ignore': oct-rl-edit.c:272: error: `RL_PROMPT_START_IGNORE' undeclared (first use in this function) oct-rl-edit.c: In function `octave_rl_prompt_end_ignore': oct-rl-edit.c:278: error: `RL_PROMPT_END_IGNORE' undeclared (first use in this function) oct-rl-edit.c: In function `octave_rl_initialize': oct-rl-edit.c:296: warning: implicit declaration of function `rl_initialize' oct-rl-edit.c: In function `octave_rl_history_search_forward': oct-rl-edit.c:302: warning: implicit declaration of function `rl_history_search_forward' oct-rl-edit.c: In function `octave_rl_history_search_backward': oct-rl-edit.c:308: warning: implicit declaration of function `rl_history_search_backward' make[2]: *** [pic/oct-rl-edit.o] Error 1 make[2]: Leaving directory `/usr/local/src/octave-2.1.57/liboctave' make[1]: *** [liboctave] Error 2 make[1]: Leaving directory `/usr/local/src/octave-2.1.57' make: *** [all] Error 2 Compiler Version Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/specs Configured with: ../gcc-3.3.4/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux Thread model: posix gcc version 3.3.4 |