Fix build without readline#161
Merged
rocky merged 1 commit intoTrepan-Debuggers:remake-4-3from Mar 24, 2025
Merged
Conversation
`readline` is an optional dependency, but building without it failed: bits/stdio2.h:112: undefined reference to `short_command' libdebugger/cmd.c:384: undefined reference to `add_history' libdebugger/cmd.c:385: undefined reference to `execute_line' libdebugger/cmd.c:387: undefined reference to `add_history' libdebugger/cmd_initialize.h:117: undefined reference to `short_command' libdebugger/cmd_initialize.h:118: undefined reference to `short_command' libdebugger/cmd_initialize.h:124: undefined reference to `short_command' libdebugger/cmd_initialize.h:349: undefined reference to `short_command' libdebugger/command/help.c:120: undefined reference to `short_command' libdebugger/command/help.c:126: undefined reference to `find_command' libdebugger/command/set.c:124: undefined reference to `whitespace' libdebugger/command/set.c:137: undefined reference to `dbg_cmd_set_var' libdebugger/command/setq.c:32: undefined reference to `dbg_cmd_set_var' libdebugger/command/setqx.c:32: undefined reference to `dbg_cmd_set_var' libdebugger/command/show.c:115: undefined reference to `dbg_cmd_show_command' libdebugger/command/source.c:74: undefined reference to `execute_line' Closes: Trepan-Debuggers#157 Signed-off-by: Philipp Hahn <p.hahn@avm.de>
Collaborator
|
LGTM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
readlineis an optional dependency, but building without it failed:bits/stdio2.h:112: undefined reference to
short_command' libdebugger/cmd.c:384: undefined reference toadd_history'libdebugger/cmd.c:385: undefined reference to
execute_line' libdebugger/cmd.c:387: undefined reference toadd_history'libdebugger/cmd_initialize.h:117: undefined reference to
short_command' libdebugger/cmd_initialize.h:118: undefined reference toshort_command'libdebugger/cmd_initialize.h:124: undefined reference to
short_command' libdebugger/cmd_initialize.h:349: undefined reference toshort_command'libdebugger/command/help.c:120: undefined reference to
short_command' libdebugger/command/help.c:126: undefined reference tofind_command'libdebugger/command/set.c:124: undefined reference to
whitespace' libdebugger/command/set.c:137: undefined reference todbg_cmd_set_var'libdebugger/command/setq.c:32: undefined reference to
dbg_cmd_set_var' libdebugger/command/setqx.c:32: undefined reference todbg_cmd_set_var'libdebugger/command/show.c:115: undefined reference to
dbg_cmd_show_command' libdebugger/command/source.c:74: undefined reference toexecute_line'Closes: #157