Skip to content

Instantly share code, notes, and snippets.

@vincenzopalazzo
Created October 2, 2023 19:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vincenzopalazzo/56b617a05e7098fa12f3652fa13123b0 to your computer and use it in GitHub Desktop.
Save vincenzopalazzo/56b617a05e7098fa12f3652fa13123b0 to your computer and use it in GitHub Desktop.
mv -f .deps/poke-poke.Tpo .deps/poke-poke.Po
gcc -DHAVE_CONFIG_H -I. -I../gl -I../gl -I../common -I../libpoke -I../libpoke -DJITTER_VERSION=\"0.9.297\" -DPKGINFODIR=\"/usr/local/share/info\" -DLOCALEDIR=\"/usr/local/share/locale\" -Wall -g -O2 -MT poke-pk-term.o -MD -MP -MF .deps/poke-pk-term.Tpo -c -o poke-pk-term.o `test -f 'pk-term.c' || echo './'`pk-term.c
pk-term.c:175:1: warning: 'lookup_color' defined but not used [-Wunused-function]
175 | lookup_color (int red, int green, int blue)
| ^~~~~~~~~~~~
pk-term.c:162:12: warning: 'default_bgcolor' defined but not used [-Wunused-variable]
162 | static int default_bgcolor;
| ^~~~~~~~~~~~~~~
pk-term.c:161:12: warning: 'default_color' defined but not used [-Wunused-variable]
161 | static int default_color;
| ^~~~~~~~~~~~~
mv -f .deps/poke-pk-term.Tpo .deps/poke-pk-term.Po
gcc -DHAVE_CONFIG_H -I. -I../gl -I../gl -I../common -I../libpoke -I../libpoke -DJITTER_VERSION=\"0.9.297\" -DPKGINFODIR=\"/usr/local/share/info\" -DLOCALEDIR=\"/usr/local/share/locale\" -Wall -g -O2 -MT poke-pk-table.o -MD -MP -MF .deps/poke-pk-table.Tpo -c -o poke-pk-table.o `test -f 'pk-table.c' || echo './'`pk-table.c
mv -f .deps/poke-pk-table.Tpo .deps/poke-pk-table.Po
gcc -DHAVE_CONFIG_H -I. -I../gl -I../gl -I../common -I../libpoke -I../libpoke -DJITTER_VERSION=\"0.9.297\" -DPKGINFODIR=\"/usr/local/share/info\" -DLOCALEDIR=\"/usr/local/share/locale\" -Wall -g -O2 -MT poke-pk-repl.o -MD -MP -MF .deps/poke-pk-repl.Tpo -c -o poke-pk-repl.o `test -f 'pk-repl.c' || echo './'`pk-repl.c
pk-repl.c: In function 'space_substitute_display_matches':
pk-repl.c:99:3: warning: implicit declaration of function 'rl_display_match_list' [-Wimplicit-function-declaration]
99 | rl_display_match_list (matches, num_matches, max_length);
| ^~~~~~~~~~~~~~~~~~~~~
pk-repl.c:100:3: warning: implicit declaration of function 'rl_forced_update_display' [-Wimplicit-function-declaration]
100 | rl_forced_update_display ();
| ^~~~~~~~~~~~~~~~~~~~~~~~
pk-repl.c: In function 'space_substitute_redisplay':
pk-repl.c:109:24: error: 'rl_line_buffer' undeclared (first use in this function)
109 | char *olb = xstrdup (rl_line_buffer);
| ^~~~~~~~~~~~~~
pk-repl.c:109:24: note: each undeclared identifier is reported only once for each function it appears in
pk-repl.c:117:3: warning: implicit declaration of function 'rl_redisplay' [-Wimplicit-function-declaration]
117 | rl_redisplay ();
| ^~~~~~~~~~~~
pk-repl.c: In function 'poke_getc':
pk-repl.c:131:35: error: 'rl_line_buffer' undeclared (first use in this function)
131 | char *line_to_point = xstrndup (rl_line_buffer, rl_point ? rl_point - 1 : 0);
| ^~~~~~~~~~~~~~
pk-repl.c:131:51: error: 'rl_point' undeclared (first use in this function)
131 | char *line_to_point = xstrndup (rl_line_buffer, rl_point ? rl_point - 1 : 0);
| ^~~~~~~~
pk-repl.c:143:9: error: 'rl_completion_entry_function' undeclared (first use in this function); did you mean 'pk_completion_function'?
143 | rl_completion_entry_function = cmd->completer;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| pk_completion_function
pk-repl.c:150:12: warning: implicit declaration of function 'rl_getc' [-Wimplicit-function-declaration]
150 | int c = rl_getc (stream);
| ^~~~~~~
pk-repl.c:158:7: error: 'rl_completion_display_matches_hook' undeclared (first use in this function)
158 | rl_completion_display_matches_hook = space_substitute_display_matches;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pk-repl.c:159:7: error: 'rl_redisplay_function' undeclared (first use in this function)
159 | rl_redisplay_function = space_substitute_redisplay;
| ^~~~~~~~~~~~~~~~~~~~~
pk-repl.c:167:31: error: 'rl_redisplay' undeclared (first use in this function)
167 | rl_redisplay_function = rl_redisplay;
| ^~~~~~~~~~~~
pk-repl.c: In function 'poke_sigint_handler':
pk-repl.c:237:11: warning: implicit declaration of function 'rl_free_line_state' [-Wimplicit-function-declaration]
237 | rl_free_line_state ();
| ^~~~~~~~~~~~~~~~~~
pk-repl.c:238:11: warning: implicit declaration of function 'rl_cleanup_after_signal' [-Wimplicit-function-declaration]
238 | rl_cleanup_after_signal ();
| ^~~~~~~~~~~~~~~~~~~~~~~
pk-repl.c:239:11: error: 'rl_line_buffer' undeclared (first use in this function)
239 | rl_line_buffer[rl_point = rl_end = rl_mark = 0] = 0;
| ^~~~~~~~~~~~~~
pk-repl.c:239:26: error: 'rl_point' undeclared (first use in this function)
239 | rl_line_buffer[rl_point = rl_end = rl_mark = 0] = 0;
| ^~~~~~~~
pk-repl.c:239:37: error: 'rl_end' undeclared (first use in this function); did you mean 'va_end'?
239 | rl_line_buffer[rl_point = rl_end = rl_mark = 0] = 0;
| ^~~~~~
| va_end
pk-repl.c:239:46: error: 'rl_mark' undeclared (first use in this function)
239 | rl_line_buffer[rl_point = rl_end = rl_mark = 0] = 0;
| ^~~~~~~
pk-repl.c: In function 'pk_repl':
pk-repl.c:330:3: error: 'rl_completer_quote_characters' undeclared (first use in this function)
330 | rl_completer_quote_characters = "\"";
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pk-repl.c:331:3: error: 'rl_completer_word_break_characters' undeclared (first use in this function)
331 | rl_completer_word_break_characters = " \t\n\"\\`@$><=;|&{("; /* }) */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pk-repl.c:334:3: error: 'rl_readline_name' undeclared (first use in this function)
334 | rl_readline_name = "gnupoke";
| ^~~~~~~~~~~~~~~~
pk-repl.c:365:3: error: 'rl_getc_function' undeclared (first use in this function)
365 | rl_getc_function = poke_getc;
| ^~~~~~~~~~~~~~~~
pk-repl.c:367:3: error: 'rl_filename_quote_characters' undeclared (first use in this function)
367 | rl_filename_quote_characters = " ";
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
pk-repl.c:368:3: error: 'rl_filename_quoting_function' undeclared (first use in this function)
368 | rl_filename_quoting_function = escape_metacharacters;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
pk-repl.c:380:7: error: 'rl_completion_entry_function' undeclared (first use in this function); did you mean 'pk_completion_function'?
380 | rl_completion_entry_function = poke_completion_function;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| pk_completion_function
pk-repl.c: In function 'pk_repl_display_begin':
pk-repl.c:430:17: error: 'rl_point' undeclared (first use in this function)
430 | saved_point = rl_point;
| ^~~~~~~~
pk-repl.c:431:15: error: 'rl_end' undeclared (first use in this function); did you mean 'va_end'?
431 | saved_end = rl_end;
| ^~~~~~
| va_end
pk-repl.c:434:3: warning: implicit declaration of function 'rl_save_prompt' [-Wimplicit-function-declaration]
434 | rl_save_prompt ();
| ^~~~~~~~~~~~~~
pk-repl.c:435:3: warning: implicit declaration of function 'rl_clear_message' [-Wimplicit-function-declaration]
435 | rl_clear_message ();
| ^~~~~~~~~~~~~~~~
pk-repl.c:437:12: error: 'rl_prompt' undeclared (first use in this function); did you mean 'pk_prompt'?
437 | pk_puts (rl_prompt);
| ^~~~~~~~~
| pk_prompt
pk-repl.c: In function 'pk_repl_display_end':
pk-repl.c:444:3: warning: implicit declaration of function 'rl_restore_prompt' [-Wimplicit-function-declaration]
444 | rl_restore_prompt ();
| ^~~~~~~~~~~~~~~~~
pk-repl.c:445:3: error: 'rl_point' undeclared (first use in this function)
445 | rl_point = saved_point;
| ^~~~~~~~
pk-repl.c:446:3: error: 'rl_end' undeclared (first use in this function); did you mean 'va_end'?
446 | rl_end = saved_end;
| ^~~~~~
| va_end
pk-repl.c: In function 'pk_repl_insert':
pk-repl.c:453:3: warning: implicit declaration of function 'rl_insert_text' [-Wimplicit-function-declaration]
453 | rl_insert_text (str);
| ^~~~~~~~~~~~~~
make[3]: *** [Makefile:3059: poke-pk-repl.o] Error 1
make[3]: Leaving directory '/home/vincenzopalazzo/gittea/poke/poke'
make[2]: *** [Makefile:2848: all] Error 2
make[2]: Leaving directory '/home/vincenzopalazzo/gittea/poke/poke'
make[1]: *** [Makefile:2840: all-recursive] Error 1
make[1]: Leaving directory '/home/vincenzopalazzo/gittea/poke'
make: *** [Makefile:2785: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment